diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index 059c12ee6f..b4089aa8e1 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -4,6 +4,28 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog `_.
+====================
+2.146.0 - 2025-02-25
+====================
+
+Added
+-----
+* Support for Database Lifecycle Management service
+* Support for Valkey cluster creation and Valkey migration in the OCI Cache service
+* Support for Dataflow Steps and Storage Mounts in Pipelines in the Data Science service
+* Support for Bring Your Own DKIM Keys in the Email Delivery service
+* Support for OpenId Connect Multi Authentication command in the OCI Kubernetes Engine service
+* Support for security attributes for Load Balancer resource in the Load Balancer service
+* Support for reservation of private IP addresses in the Networking service
+* Support for additional configuration parameters in the HeatWave service
+* Support for private and 3rd party software repositories, and rebooting of instances in the OS Management service
+
+Breaking
+--------
+* The property `zpr_tags` was removed from models `UpdateLoadBalancerDetails`, `CreateLoadBalancerDetails` and `LoadBalancer` in the Load Balancer service
+* The models `CreateContainerCommandHealthCheckDetails` and `ContainerCommandHealthCheck` were removed in the Container Instances service
+* The allowed value `COMMAND` was removed from the property `health_check_type` in the models `ContainerHealthCheckType`, `ContainerHttpHealthCheck` and `ContainerTcpHealthCheck` in the Container Instances service
+
====================
2.145.0 - 2025-02-18
====================
diff --git a/docs/api/container_instances.rst b/docs/api/container_instances.rst
index d5441e9e33..68aa0b3bc2 100644
--- a/docs/api/container_instances.rst
+++ b/docs/api/container_instances.rst
@@ -23,7 +23,6 @@ Container Instances
oci.container_instances.models.Container
oci.container_instances.models.ContainerCapabilities
oci.container_instances.models.ContainerCollection
- oci.container_instances.models.ContainerCommandHealthCheck
oci.container_instances.models.ContainerConfigFile
oci.container_instances.models.ContainerConfigFileVolume
oci.container_instances.models.ContainerDnsConfig
@@ -43,7 +42,6 @@ Container Instances
oci.container_instances.models.ContainerVnic
oci.container_instances.models.ContainerVolume
oci.container_instances.models.CreateBasicImagePullSecretDetails
- oci.container_instances.models.CreateContainerCommandHealthCheckDetails
oci.container_instances.models.CreateContainerConfigFileVolumeDetails
oci.container_instances.models.CreateContainerDetails
oci.container_instances.models.CreateContainerDnsConfigDetails
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateContainerCommandHealthCheckDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateContainerCommandHealthCheckDetails.rst
deleted file mode 100644
index f0c13f3f65..0000000000
--- a/docs/api/container_instances/models/oci.container_instances.models.CreateContainerCommandHealthCheckDetails.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-CreateContainerCommandHealthCheckDetails
-========================================
-
-.. currentmodule:: oci.container_instances.models
-
-.. autoclass:: CreateContainerCommandHealthCheckDetails
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_science.rst b/docs/api/data_science.rst
index f31cc6b97f..ab3635a898 100644
--- a/docs/api/data_science.rst
+++ b/docs/api/data_science.rst
@@ -120,6 +120,10 @@ Data Science
oci.data_science.models.PipelineCustomScriptStepDetails
oci.data_science.models.PipelineCustomScriptStepRun
oci.data_science.models.PipelineCustomScriptStepUpdateDetails
+ oci.data_science.models.PipelineDataflowConfigurationDetails
+ oci.data_science.models.PipelineDataflowStepDetails
+ oci.data_science.models.PipelineDataflowStepRun
+ oci.data_science.models.PipelineDataflowStepUpdateDetails
oci.data_science.models.PipelineDefaultConfigurationDetails
oci.data_science.models.PipelineInfrastructureConfigurationDetails
oci.data_science.models.PipelineLogConfigurationDetails
diff --git a/docs/api/data_science/models/oci.data_science.models.PipelineDataflowConfigurationDetails.rst b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowConfigurationDetails.rst
new file mode 100644
index 0000000000..0e2c0f1193
--- /dev/null
+++ b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowConfigurationDetails.rst
@@ -0,0 +1,11 @@
+PipelineDataflowConfigurationDetails
+====================================
+
+.. currentmodule:: oci.data_science.models
+
+.. autoclass:: PipelineDataflowConfigurationDetails
+ :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.ContainerCommandHealthCheck.rst b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepDetails.rst
similarity index 53%
rename from docs/api/container_instances/models/oci.container_instances.models.ContainerCommandHealthCheck.rst
rename to docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepDetails.rst
index e270c16e79..51638583af 100644
--- a/docs/api/container_instances/models/oci.container_instances.models.ContainerCommandHealthCheck.rst
+++ b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepDetails.rst
@@ -1,9 +1,9 @@
-ContainerCommandHealthCheck
+PipelineDataflowStepDetails
===========================
-.. currentmodule:: oci.container_instances.models
+.. currentmodule:: oci.data_science.models
-.. autoclass:: ContainerCommandHealthCheck
+.. autoclass:: PipelineDataflowStepDetails
:show-inheritance:
:special-members: __init__
:members:
diff --git a/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepRun.rst b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepRun.rst
new file mode 100644
index 0000000000..f04b790910
--- /dev/null
+++ b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepRun.rst
@@ -0,0 +1,11 @@
+PipelineDataflowStepRun
+=======================
+
+.. currentmodule:: oci.data_science.models
+
+.. autoclass:: PipelineDataflowStepRun
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepUpdateDetails.rst b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepUpdateDetails.rst
new file mode 100644
index 0000000000..5b677f66df
--- /dev/null
+++ b/docs/api/data_science/models/oci.data_science.models.PipelineDataflowStepUpdateDetails.rst
@@ -0,0 +1,11 @@
+PipelineDataflowStepUpdateDetails
+=================================
+
+.. currentmodule:: oci.data_science.models
+
+.. autoclass:: PipelineDataflowStepUpdateDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm.rst b/docs/api/dblm.rst
new file mode 100644
index 0000000000..141330d0e0
--- /dev/null
+++ b/docs/api/dblm.rst
@@ -0,0 +1,49 @@
+Dblm
+====
+
+.. autosummary::
+ :toctree: dblm/client
+ :nosignatures:
+ :template: autosummary/service_client.rst
+
+ oci.dblm.DbLifeCycleManagementClient
+ oci.dblm.DbLifeCycleManagementClientCompositeOperations
+
+--------
+ Models
+--------
+
+.. autosummary::
+ :toctree: dblm/models
+ :nosignatures:
+ :template: autosummary/model_class.rst
+
+ oci.dblm.models.AggregatedVulnerabilityCollection
+ oci.dblm.models.AggregatedVulnerabilitySummary
+ oci.dblm.models.ChildPdb
+ oci.dblm.models.CreateVulnerabilityScanDetails
+ oci.dblm.models.DblmVulnerability
+ oci.dblm.models.HostInfo
+ oci.dblm.models.MetricError
+ oci.dblm.models.NotificationCollection
+ oci.dblm.models.NotificationSummary
+ oci.dblm.models.PatchRecommendationSummary
+ oci.dblm.models.PatchRecommendationsDetailsSummary
+ oci.dblm.models.ResourceInfo
+ oci.dblm.models.ResourceSummary
+ oci.dblm.models.VulnerabilitiesSummary
+ oci.dblm.models.VulnerabilityCollection
+ oci.dblm.models.VulnerabilityResourceCollection
+ oci.dblm.models.VulnerabilityResourceSummary
+ oci.dblm.models.VulnerabilityScan
+ oci.dblm.models.VulnerabilityScanCollection
+ oci.dblm.models.VulnerabilityScanSummary
+ oci.dblm.models.VulnerabilitySummary
+ oci.dblm.models.WorkRequest
+ oci.dblm.models.WorkRequestError
+ oci.dblm.models.WorkRequestErrorCollection
+ oci.dblm.models.WorkRequestLogEntry
+ oci.dblm.models.WorkRequestLogEntryCollection
+ oci.dblm.models.WorkRequestResource
+ oci.dblm.models.WorkRequestSummary
+ oci.dblm.models.WorkRequestSummaryCollection
diff --git a/docs/api/dblm/client/oci.dblm.DbLifeCycleManagementClient.rst b/docs/api/dblm/client/oci.dblm.DbLifeCycleManagementClient.rst
new file mode 100644
index 0000000000..74fa7a4a05
--- /dev/null
+++ b/docs/api/dblm/client/oci.dblm.DbLifeCycleManagementClient.rst
@@ -0,0 +1,8 @@
+DbLifeCycleManagementClient
+===========================
+
+.. currentmodule:: oci.dblm
+
+.. autoclass:: DbLifeCycleManagementClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/dblm/client/oci.dblm.DbLifeCycleManagementClientCompositeOperations.rst b/docs/api/dblm/client/oci.dblm.DbLifeCycleManagementClientCompositeOperations.rst
new file mode 100644
index 0000000000..fb8564ba1f
--- /dev/null
+++ b/docs/api/dblm/client/oci.dblm.DbLifeCycleManagementClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+DbLifeCycleManagementClientCompositeOperations
+==============================================
+
+.. currentmodule:: oci.dblm
+
+.. autoclass:: DbLifeCycleManagementClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.AggregatedVulnerabilityCollection.rst b/docs/api/dblm/models/oci.dblm.models.AggregatedVulnerabilityCollection.rst
new file mode 100644
index 0000000000..b3c9699140
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.AggregatedVulnerabilityCollection.rst
@@ -0,0 +1,11 @@
+AggregatedVulnerabilityCollection
+=================================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: AggregatedVulnerabilityCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.AggregatedVulnerabilitySummary.rst b/docs/api/dblm/models/oci.dblm.models.AggregatedVulnerabilitySummary.rst
new file mode 100644
index 0000000000..baaee45ef3
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.AggregatedVulnerabilitySummary.rst
@@ -0,0 +1,11 @@
+AggregatedVulnerabilitySummary
+==============================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: AggregatedVulnerabilitySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.ChildPdb.rst b/docs/api/dblm/models/oci.dblm.models.ChildPdb.rst
new file mode 100644
index 0000000000..9932dcc50a
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.ChildPdb.rst
@@ -0,0 +1,11 @@
+ChildPdb
+========
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: ChildPdb
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.CreateVulnerabilityScanDetails.rst b/docs/api/dblm/models/oci.dblm.models.CreateVulnerabilityScanDetails.rst
new file mode 100644
index 0000000000..4c8a770b71
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.CreateVulnerabilityScanDetails.rst
@@ -0,0 +1,11 @@
+CreateVulnerabilityScanDetails
+==============================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: CreateVulnerabilityScanDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.DblmVulnerability.rst b/docs/api/dblm/models/oci.dblm.models.DblmVulnerability.rst
new file mode 100644
index 0000000000..1922a51def
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.DblmVulnerability.rst
@@ -0,0 +1,11 @@
+DblmVulnerability
+=================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: DblmVulnerability
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.HostInfo.rst b/docs/api/dblm/models/oci.dblm.models.HostInfo.rst
new file mode 100644
index 0000000000..f4c09c4640
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.HostInfo.rst
@@ -0,0 +1,11 @@
+HostInfo
+========
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: HostInfo
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.MetricError.rst b/docs/api/dblm/models/oci.dblm.models.MetricError.rst
new file mode 100644
index 0000000000..2212f5f7c9
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.MetricError.rst
@@ -0,0 +1,11 @@
+MetricError
+===========
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: MetricError
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.NotificationCollection.rst b/docs/api/dblm/models/oci.dblm.models.NotificationCollection.rst
new file mode 100644
index 0000000000..13dbf5913e
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.NotificationCollection.rst
@@ -0,0 +1,11 @@
+NotificationCollection
+======================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: NotificationCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.NotificationSummary.rst b/docs/api/dblm/models/oci.dblm.models.NotificationSummary.rst
new file mode 100644
index 0000000000..9bb1945fbe
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.NotificationSummary.rst
@@ -0,0 +1,11 @@
+NotificationSummary
+===================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: NotificationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.PatchRecommendationSummary.rst b/docs/api/dblm/models/oci.dblm.models.PatchRecommendationSummary.rst
new file mode 100644
index 0000000000..95196d91ac
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.PatchRecommendationSummary.rst
@@ -0,0 +1,11 @@
+PatchRecommendationSummary
+==========================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: PatchRecommendationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.PatchRecommendationsDetailsSummary.rst b/docs/api/dblm/models/oci.dblm.models.PatchRecommendationsDetailsSummary.rst
new file mode 100644
index 0000000000..447ee6534c
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.PatchRecommendationsDetailsSummary.rst
@@ -0,0 +1,11 @@
+PatchRecommendationsDetailsSummary
+==================================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: PatchRecommendationsDetailsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.ResourceInfo.rst b/docs/api/dblm/models/oci.dblm.models.ResourceInfo.rst
new file mode 100644
index 0000000000..b0eb8fd7bc
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.ResourceInfo.rst
@@ -0,0 +1,11 @@
+ResourceInfo
+============
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: ResourceInfo
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.ResourceSummary.rst b/docs/api/dblm/models/oci.dblm.models.ResourceSummary.rst
new file mode 100644
index 0000000000..0989d838a6
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.ResourceSummary.rst
@@ -0,0 +1,11 @@
+ResourceSummary
+===============
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: ResourceSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilitiesSummary.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilitiesSummary.rst
new file mode 100644
index 0000000000..68d41d9bb8
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilitiesSummary.rst
@@ -0,0 +1,11 @@
+VulnerabilitiesSummary
+======================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilitiesSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilityCollection.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilityCollection.rst
new file mode 100644
index 0000000000..bfd975a31a
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilityCollection.rst
@@ -0,0 +1,11 @@
+VulnerabilityCollection
+=======================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilityCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilityResourceCollection.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilityResourceCollection.rst
new file mode 100644
index 0000000000..b0b07520c4
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilityResourceCollection.rst
@@ -0,0 +1,11 @@
+VulnerabilityResourceCollection
+===============================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilityResourceCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilityResourceSummary.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilityResourceSummary.rst
new file mode 100644
index 0000000000..215e8f34fd
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilityResourceSummary.rst
@@ -0,0 +1,11 @@
+VulnerabilityResourceSummary
+============================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilityResourceSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilityScan.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilityScan.rst
new file mode 100644
index 0000000000..47e3af5bbc
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilityScan.rst
@@ -0,0 +1,11 @@
+VulnerabilityScan
+=================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilityScan
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilityScanCollection.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilityScanCollection.rst
new file mode 100644
index 0000000000..088172dfca
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilityScanCollection.rst
@@ -0,0 +1,11 @@
+VulnerabilityScanCollection
+===========================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilityScanCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilityScanSummary.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilityScanSummary.rst
new file mode 100644
index 0000000000..db77d877fb
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilityScanSummary.rst
@@ -0,0 +1,11 @@
+VulnerabilityScanSummary
+========================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilityScanSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.VulnerabilitySummary.rst b/docs/api/dblm/models/oci.dblm.models.VulnerabilitySummary.rst
new file mode 100644
index 0000000000..b1701f6bb8
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.VulnerabilitySummary.rst
@@ -0,0 +1,11 @@
+VulnerabilitySummary
+====================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: VulnerabilitySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequest.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequest.rst
new file mode 100644
index 0000000000..ad5a47aa54
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequest.rst
@@ -0,0 +1,11 @@
+WorkRequest
+===========
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequest
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequestError.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequestError.rst
new file mode 100644
index 0000000000..5dff452477
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequestError.rst
@@ -0,0 +1,11 @@
+WorkRequestError
+================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequestError
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequestErrorCollection.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequestErrorCollection.rst
new file mode 100644
index 0000000000..f0897810cf
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequestErrorCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestErrorCollection
+==========================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequestErrorCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequestLogEntry.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequestLogEntry.rst
new file mode 100644
index 0000000000..a77d2d42fb
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequestLogEntry.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntry
+===================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequestLogEntry
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequestLogEntryCollection.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequestLogEntryCollection.rst
new file mode 100644
index 0000000000..191d8c3f61
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequestLogEntryCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntryCollection
+=============================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequestLogEntryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequestResource.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequestResource.rst
new file mode 100644
index 0000000000..9d972012d3
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequestResource.rst
@@ -0,0 +1,11 @@
+WorkRequestResource
+===================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequestResource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequestSummary.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequestSummary.rst
new file mode 100644
index 0000000000..92f349f2b3
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequestSummary.rst
@@ -0,0 +1,11 @@
+WorkRequestSummary
+==================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequestSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/dblm/models/oci.dblm.models.WorkRequestSummaryCollection.rst b/docs/api/dblm/models/oci.dblm.models.WorkRequestSummaryCollection.rst
new file mode 100644
index 0000000000..b76b32d0d0
--- /dev/null
+++ b/docs/api/dblm/models/oci.dblm.models.WorkRequestSummaryCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestSummaryCollection
+============================
+
+.. currentmodule:: oci.dblm.models
+
+.. autoclass:: WorkRequestSummaryCollection
+ :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 235f5f8dca..aca7be1d9b 100644
--- a/docs/api/landing.rst
+++ b/docs/api/landing.rst
@@ -73,6 +73,7 @@ API Reference
* :doc:`Database Tools `
* :doc:`Dataplane `
* :doc:`Db Backups `
+* :doc:`Db Life Cycle Management `
* :doc:`Db Management `
* :doc:`Db System `
* :doc:`Delegate Access Control `
@@ -320,6 +321,7 @@ API Reference
database_management
database_migration
database_tools
+ dblm
delegate_access_control
demand_signal
desktops
diff --git a/docs/api/os_management_hub.rst b/docs/api/os_management_hub.rst
index 2eb7e54e2a..bd02e83d5b 100644
--- a/docs/api/os_management_hub.rst
+++ b/docs/api/os_management_hub.rst
@@ -39,11 +39,16 @@ Os Management Hub
oci.os_management_hub.models.AddPackagesToSoftwareSourceDetails
oci.os_management_hub.models.AgentEvent
oci.os_management_hub.models.AgentEventData
+ oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails
+ oci.os_management_hub.models.AttachLifecycleStageToProfileDetails
+ oci.os_management_hub.models.AttachManagedInstanceGroupToProfileDetails
oci.os_management_hub.models.AttachManagedInstancesToLifecycleStageDetails
oci.os_management_hub.models.AttachManagedInstancesToManagedInstanceGroupDetails
+ oci.os_management_hub.models.AttachManagementStationToProfileDetails
oci.os_management_hub.models.AttachProfileToManagedInstanceDetails
oci.os_management_hub.models.AttachSoftwareSourcesToManagedInstanceDetails
oci.os_management_hub.models.AttachSoftwareSourcesToManagedInstanceGroupDetails
+ oci.os_management_hub.models.AttachSoftwareSourcesToProfileDetails
oci.os_management_hub.models.AutonomousSettings
oci.os_management_hub.models.AvailablePackageCollection
oci.os_management_hub.models.AvailablePackageSummary
@@ -68,14 +73,17 @@ Os Management Hub
oci.os_management_hub.models.CreateManagedInstanceGroupDetails
oci.os_management_hub.models.CreateManagementStationDetails
oci.os_management_hub.models.CreateMirrorConfigurationDetails
+ oci.os_management_hub.models.CreatePrivateSoftwareSourceDetails
oci.os_management_hub.models.CreateProfileDetails
oci.os_management_hub.models.CreateProxyConfigurationDetails
oci.os_management_hub.models.CreateScheduledJobDetails
oci.os_management_hub.models.CreateSoftwareSourceDetails
oci.os_management_hub.models.CreateSoftwareSourceProfileDetails
oci.os_management_hub.models.CreateStationProfileDetails
+ oci.os_management_hub.models.CreateThirdPartySoftwareSourceDetails
oci.os_management_hub.models.CreateVendorSoftwareSourceDetails
oci.os_management_hub.models.CreateVersionedCustomSoftwareSourceDetails
+ oci.os_management_hub.models.CreateWindowsStandAloneProfileDetails
oci.os_management_hub.models.CustomSoftwareSource
oci.os_management_hub.models.CustomSoftwareSourceFilter
oci.os_management_hub.models.CustomSoftwareSourceSummary
@@ -83,6 +91,7 @@ Os Management Hub
oci.os_management_hub.models.DetachManagedInstancesFromManagedInstanceGroupDetails
oci.os_management_hub.models.DetachSoftwareSourcesFromManagedInstanceDetails
oci.os_management_hub.models.DetachSoftwareSourcesFromManagedInstanceGroupDetails
+ oci.os_management_hub.models.DetachSoftwareSourcesFromProfileDetails
oci.os_management_hub.models.DisableModuleStreamOnManagedInstanceDetails
oci.os_management_hub.models.DisableModuleStreamOnManagedInstanceGroupDetails
oci.os_management_hub.models.EnableModuleStreamOnManagedInstanceDetails
@@ -186,15 +195,27 @@ Os Management Hub
oci.os_management_hub.models.PackageGroupSummary
oci.os_management_hub.models.PackageNameSummary
oci.os_management_hub.models.PackageSummary
+ oci.os_management_hub.models.PeerManagementStation
+ oci.os_management_hub.models.PrivateSoftwareSource
+ oci.os_management_hub.models.PrivateSoftwareSourceSummary
oci.os_management_hub.models.Profile
oci.os_management_hub.models.ProfileCollection
oci.os_management_hub.models.ProfileSummary
+ oci.os_management_hub.models.ProfileVersion
oci.os_management_hub.models.PromoteSoftwareSourceToLifecycleStageDetails
oci.os_management_hub.models.ProxyConfiguration
+ oci.os_management_hub.models.RebootEvent
+ oci.os_management_hub.models.RebootEventData
+ oci.os_management_hub.models.RebootLifecycleStageDetails
+ oci.os_management_hub.models.RebootManagedInstanceDetails
+ oci.os_management_hub.models.RebootManagedInstanceGroupDetails
oci.os_management_hub.models.RemoveModuleStreamProfileFromManagedInstanceDetails
oci.os_management_hub.models.RemoveModuleStreamProfileFromManagedInstanceGroupDetails
oci.os_management_hub.models.RemovePackagesFromManagedInstanceDetails
oci.os_management_hub.models.RemovePackagesFromManagedInstanceGroupDetails
+ oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails
+ oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails
+ oci.os_management_hub.models.RerunWorkRequestDetails
oci.os_management_hub.models.ScheduledJob
oci.os_management_hub.models.ScheduledJobCollection
oci.os_management_hub.models.ScheduledJobOperation
@@ -226,7 +247,11 @@ Os Management Hub
oci.os_management_hub.models.SwitchModuleStreamOnManagedInstanceDetails
oci.os_management_hub.models.SwitchModuleStreamOnManagedInstanceGroupDetails
oci.os_management_hub.models.SynchronizeMirrorsDetails
+ oci.os_management_hub.models.SysadminEvent
+ oci.os_management_hub.models.SysadminEventData
oci.os_management_hub.models.SystemDetails
+ oci.os_management_hub.models.ThirdPartySoftwareSource
+ oci.os_management_hub.models.ThirdPartySoftwareSourceSummary
oci.os_management_hub.models.UpdatableAutonomousSettings
oci.os_management_hub.models.UpdatablePackageCollection
oci.os_management_hub.models.UpdatablePackageSummary
@@ -241,10 +266,12 @@ Os Management Hub
oci.os_management_hub.models.UpdateManagementStationDetails
oci.os_management_hub.models.UpdateMirrorConfigurationDetails
oci.os_management_hub.models.UpdatePackagesOnManagedInstanceDetails
+ oci.os_management_hub.models.UpdatePrivateSoftwareSourceDetails
oci.os_management_hub.models.UpdateProfileDetails
oci.os_management_hub.models.UpdateProxyConfigurationDetails
oci.os_management_hub.models.UpdateScheduledJobDetails
oci.os_management_hub.models.UpdateSoftwareSourceDetails
+ oci.os_management_hub.models.UpdateThirdPartySoftwareSourceDetails
oci.os_management_hub.models.UpdateVendorSoftwareSourceDetails
oci.os_management_hub.models.UpdateVersionedCustomSoftwareSourceDetails
oci.os_management_hub.models.UpdateWorkRequestDetails
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails.rst
new file mode 100644
index 0000000000..be4f3b822d
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails.rst
@@ -0,0 +1,11 @@
+AssociateManagedInstancesWithManagementStationDetails
+=====================================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: AssociateManagedInstancesWithManagementStationDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachLifecycleStageToProfileDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachLifecycleStageToProfileDetails.rst
new file mode 100644
index 0000000000..cc502391ab
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachLifecycleStageToProfileDetails.rst
@@ -0,0 +1,11 @@
+AttachLifecycleStageToProfileDetails
+====================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: AttachLifecycleStageToProfileDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachManagedInstanceGroupToProfileDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachManagedInstanceGroupToProfileDetails.rst
new file mode 100644
index 0000000000..50464de53f
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachManagedInstanceGroupToProfileDetails.rst
@@ -0,0 +1,11 @@
+AttachManagedInstanceGroupToProfileDetails
+==========================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: AttachManagedInstanceGroupToProfileDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachManagementStationToProfileDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachManagementStationToProfileDetails.rst
new file mode 100644
index 0000000000..8c8c1b54aa
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachManagementStationToProfileDetails.rst
@@ -0,0 +1,11 @@
+AttachManagementStationToProfileDetails
+=======================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: AttachManagementStationToProfileDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachSoftwareSourcesToProfileDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachSoftwareSourcesToProfileDetails.rst
new file mode 100644
index 0000000000..b1fe1a66e3
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.AttachSoftwareSourcesToProfileDetails.rst
@@ -0,0 +1,11 @@
+AttachSoftwareSourcesToProfileDetails
+=====================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: AttachSoftwareSourcesToProfileDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.CreatePrivateSoftwareSourceDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.CreatePrivateSoftwareSourceDetails.rst
new file mode 100644
index 0000000000..bb832b1360
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.CreatePrivateSoftwareSourceDetails.rst
@@ -0,0 +1,11 @@
+CreatePrivateSoftwareSourceDetails
+==================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: CreatePrivateSoftwareSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.CreateThirdPartySoftwareSourceDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.CreateThirdPartySoftwareSourceDetails.rst
new file mode 100644
index 0000000000..a8db5c18cb
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.CreateThirdPartySoftwareSourceDetails.rst
@@ -0,0 +1,11 @@
+CreateThirdPartySoftwareSourceDetails
+=====================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: CreateThirdPartySoftwareSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.CreateWindowsStandAloneProfileDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.CreateWindowsStandAloneProfileDetails.rst
new file mode 100644
index 0000000000..4215a599ee
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.CreateWindowsStandAloneProfileDetails.rst
@@ -0,0 +1,11 @@
+CreateWindowsStandAloneProfileDetails
+=====================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: CreateWindowsStandAloneProfileDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.DetachSoftwareSourcesFromProfileDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.DetachSoftwareSourcesFromProfileDetails.rst
new file mode 100644
index 0000000000..8cdeb20857
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.DetachSoftwareSourcesFromProfileDetails.rst
@@ -0,0 +1,11 @@
+DetachSoftwareSourcesFromProfileDetails
+=======================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: DetachSoftwareSourcesFromProfileDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.PeerManagementStation.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.PeerManagementStation.rst
new file mode 100644
index 0000000000..4924d86b6b
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.PeerManagementStation.rst
@@ -0,0 +1,11 @@
+PeerManagementStation
+=====================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: PeerManagementStation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.PrivateSoftwareSource.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.PrivateSoftwareSource.rst
new file mode 100644
index 0000000000..6ed1503f27
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.PrivateSoftwareSource.rst
@@ -0,0 +1,11 @@
+PrivateSoftwareSource
+=====================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: PrivateSoftwareSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.PrivateSoftwareSourceSummary.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.PrivateSoftwareSourceSummary.rst
new file mode 100644
index 0000000000..fdb7dbb38b
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.PrivateSoftwareSourceSummary.rst
@@ -0,0 +1,11 @@
+PrivateSoftwareSourceSummary
+============================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: PrivateSoftwareSourceSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.ProfileVersion.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.ProfileVersion.rst
new file mode 100644
index 0000000000..464e7122d7
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.ProfileVersion.rst
@@ -0,0 +1,11 @@
+ProfileVersion
+==============
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: ProfileVersion
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootEvent.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootEvent.rst
new file mode 100644
index 0000000000..06d899b12f
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootEvent.rst
@@ -0,0 +1,11 @@
+RebootEvent
+===========
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: RebootEvent
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootEventData.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootEventData.rst
new file mode 100644
index 0000000000..8927c7b1dc
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootEventData.rst
@@ -0,0 +1,11 @@
+RebootEventData
+===============
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: RebootEventData
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootLifecycleStageDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootLifecycleStageDetails.rst
new file mode 100644
index 0000000000..1a1e5af920
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootLifecycleStageDetails.rst
@@ -0,0 +1,11 @@
+RebootLifecycleStageDetails
+===========================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: RebootLifecycleStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootManagedInstanceDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootManagedInstanceDetails.rst
new file mode 100644
index 0000000000..dc91186978
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootManagedInstanceDetails.rst
@@ -0,0 +1,11 @@
+RebootManagedInstanceDetails
+============================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: RebootManagedInstanceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootManagedInstanceGroupDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootManagedInstanceGroupDetails.rst
new file mode 100644
index 0000000000..a089ce622d
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.RebootManagedInstanceGroupDetails.rst
@@ -0,0 +1,11 @@
+RebootManagedInstanceGroupDetails
+=================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: RebootManagedInstanceGroupDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails.rst
new file mode 100644
index 0000000000..f816471d88
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails.rst
@@ -0,0 +1,11 @@
+RemovePackagesFromSoftwareSourceDetails
+=======================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: RemovePackagesFromSoftwareSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails.rst
new file mode 100644
index 0000000000..2c6244128c
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails.rst
@@ -0,0 +1,11 @@
+ReplacePackagesInSoftwareSourceDetails
+======================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: ReplacePackagesInSoftwareSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.RerunWorkRequestDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.RerunWorkRequestDetails.rst
new file mode 100644
index 0000000000..ab4fede1cd
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.RerunWorkRequestDetails.rst
@@ -0,0 +1,11 @@
+RerunWorkRequestDetails
+=======================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: RerunWorkRequestDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.SysadminEvent.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.SysadminEvent.rst
new file mode 100644
index 0000000000..0a4808dfe1
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.SysadminEvent.rst
@@ -0,0 +1,11 @@
+SysadminEvent
+=============
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: SysadminEvent
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.SysadminEventData.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.SysadminEventData.rst
new file mode 100644
index 0000000000..fd93d5add3
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.SysadminEventData.rst
@@ -0,0 +1,11 @@
+SysadminEventData
+=================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: SysadminEventData
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.ThirdPartySoftwareSource.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.ThirdPartySoftwareSource.rst
new file mode 100644
index 0000000000..72e53bbde8
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.ThirdPartySoftwareSource.rst
@@ -0,0 +1,11 @@
+ThirdPartySoftwareSource
+========================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: ThirdPartySoftwareSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.ThirdPartySoftwareSourceSummary.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.ThirdPartySoftwareSourceSummary.rst
new file mode 100644
index 0000000000..08aae0be5b
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.ThirdPartySoftwareSourceSummary.rst
@@ -0,0 +1,11 @@
+ThirdPartySoftwareSourceSummary
+===============================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: ThirdPartySoftwareSourceSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.UpdatePrivateSoftwareSourceDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.UpdatePrivateSoftwareSourceDetails.rst
new file mode 100644
index 0000000000..b17c90719b
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.UpdatePrivateSoftwareSourceDetails.rst
@@ -0,0 +1,11 @@
+UpdatePrivateSoftwareSourceDetails
+==================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: UpdatePrivateSoftwareSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/os_management_hub/models/oci.os_management_hub.models.UpdateThirdPartySoftwareSourceDetails.rst b/docs/api/os_management_hub/models/oci.os_management_hub.models.UpdateThirdPartySoftwareSourceDetails.rst
new file mode 100644
index 0000000000..9ab9054a45
--- /dev/null
+++ b/docs/api/os_management_hub/models/oci.os_management_hub.models.UpdateThirdPartySoftwareSourceDetails.rst
@@ -0,0 +1,11 @@
+UpdateThirdPartySoftwareSourceDetails
+=====================================
+
+.. currentmodule:: oci.os_management_hub.models
+
+.. autoclass:: UpdateThirdPartySoftwareSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/src/oci/__init__.py b/src/oci/__init__.py
index 5188c80171..cacf70f170 100644
--- a/src/oci/__init__.py
+++ b/src/oci/__init__.py
@@ -19,7 +19,7 @@
else:
__all__ = [
"BaseClient", "Error", "Request", "Response", "Signer", "config", "constants", "decorators", "exceptions", "regions", "wait_until", "pagination", "auth", "retry", "fips", "circuit_breaker", "alloy",
- "access_governance_cp", "adm", "ai_anomaly_detection", "ai_document", "ai_language", "ai_speech", "ai_vision", "analytics", "announcements_service", "apigateway", "apm_config", "apm_control_plane", "apm_synthetics", "apm_traces", "appmgmt_control", "artifacts", "audit", "autoscaling", "bastion", "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", "core", "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", "delegate_access_control", "demand_signal", "desktops", "devops", "disaster_recovery", "dns", "dts", "em_warehouse", "email", "email_data_plane", "events", "file_storage", "fleet_apps_management", "fleet_software_update", "functions", "fusion_apps", "generative_ai", "generative_ai_agent", "generative_ai_agent_runtime", "generative_ai_inference", "generic_artifacts_content", "globally_distributed_database", "golden_gate", "governance_rules_control_plane", "healthchecks", "identity", "identity_data_plane", "identity_domains", "integration", "jms", "jms_java_downloads", "key_management", "license_manager", "limits", "load_balancer", "lockbox", "log_analytics", "logging", "loggingingestion", "loggingsearch", "management_agent", "management_dashboard", "marketplace", "marketplace_private_offer", "marketplace_publisher", "media_services", "monitoring", "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", "os_management_hub", "osp_gateway", "osub_billing_schedule", "osub_organization_subscription", "osub_subscription", "osub_usage", "psql", "queue", "recovery", "redis", "resource_manager", "resource_scheduler", "resource_search", "rover", "sch", "secrets", "security_attribute", "service_catalog", "service_manager_proxy", "service_mesh", "stack_monitoring", "streaming", "tenant_manager_control_plane", "threat_intelligence", "usage", "usage_api", "vault", "vbs_inst", "visual_builder", "vn_monitoring", "vulnerability_scanning", "waa", "waas", "waf", "work_requests", "zpr"
+ "access_governance_cp", "adm", "ai_anomaly_detection", "ai_document", "ai_language", "ai_speech", "ai_vision", "analytics", "announcements_service", "apigateway", "apm_config", "apm_control_plane", "apm_synthetics", "apm_traces", "appmgmt_control", "artifacts", "audit", "autoscaling", "bastion", "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", "core", "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", "dblm", "delegate_access_control", "demand_signal", "desktops", "devops", "disaster_recovery", "dns", "dts", "em_warehouse", "email", "email_data_plane", "events", "file_storage", "fleet_apps_management", "fleet_software_update", "functions", "fusion_apps", "generative_ai", "generative_ai_agent", "generative_ai_agent_runtime", "generative_ai_inference", "generic_artifacts_content", "globally_distributed_database", "golden_gate", "governance_rules_control_plane", "healthchecks", "identity", "identity_data_plane", "identity_domains", "integration", "jms", "jms_java_downloads", "key_management", "license_manager", "limits", "load_balancer", "lockbox", "log_analytics", "logging", "loggingingestion", "loggingsearch", "management_agent", "management_dashboard", "marketplace", "marketplace_private_offer", "marketplace_publisher", "media_services", "monitoring", "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", "os_management_hub", "osp_gateway", "osub_billing_schedule", "osub_organization_subscription", "osub_subscription", "osub_usage", "psql", "queue", "recovery", "redis", "resource_manager", "resource_scheduler", "resource_search", "rover", "sch", "secrets", "security_attribute", "service_catalog", "service_manager_proxy", "service_mesh", "stack_monitoring", "streaming", "tenant_manager_control_plane", "threat_intelligence", "usage", "usage_api", "vault", "vbs_inst", "visual_builder", "vn_monitoring", "vulnerability_scanning", "waa", "waas", "waf", "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_anomaly_detection, ai_document, ai_language, ai_speech, ai_vision, analytics, announcements_service, apigateway, apm_config, apm_control_plane, apm_synthetics, apm_traces, appmgmt_control, artifacts, audit, autoscaling, bastion, 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, core, 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, delegate_access_control, demand_signal, desktops, devops, disaster_recovery, dns, dts, em_warehouse, email, email_data_plane, events, file_storage, fleet_apps_management, fleet_software_update, functions, fusion_apps, generative_ai, generative_ai_agent, generative_ai_agent_runtime, generative_ai_inference, generic_artifacts_content, globally_distributed_database, golden_gate, governance_rules_control_plane, healthchecks, identity, identity_data_plane, identity_domains, integration, jms, jms_java_downloads, key_management, license_manager, limits, load_balancer, lockbox, log_analytics, logging, loggingingestion, loggingsearch, management_agent, management_dashboard, marketplace, marketplace_private_offer, marketplace_publisher, media_services, monitoring, 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, os_management_hub, osp_gateway, osub_billing_schedule, osub_organization_subscription, osub_subscription, osub_usage, psql, queue, recovery, redis, resource_manager, resource_scheduler, resource_search, rover, sch, secrets, security_attribute, service_catalog, service_manager_proxy, service_mesh, stack_monitoring, streaming, tenant_manager_control_plane, threat_intelligence, usage, usage_api, vault, vbs_inst, visual_builder, vn_monitoring, vulnerability_scanning, waa, waas, waf, work_requests, zpr
+ from . import access_governance_cp, adm, ai_anomaly_detection, ai_document, ai_language, ai_speech, ai_vision, analytics, announcements_service, apigateway, apm_config, apm_control_plane, apm_synthetics, apm_traces, appmgmt_control, artifacts, audit, autoscaling, bastion, 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, core, 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, dblm, delegate_access_control, demand_signal, desktops, devops, disaster_recovery, dns, dts, em_warehouse, email, email_data_plane, events, file_storage, fleet_apps_management, fleet_software_update, functions, fusion_apps, generative_ai, generative_ai_agent, generative_ai_agent_runtime, generative_ai_inference, generic_artifacts_content, globally_distributed_database, golden_gate, governance_rules_control_plane, healthchecks, identity, identity_data_plane, identity_domains, integration, jms, jms_java_downloads, key_management, license_manager, limits, load_balancer, lockbox, log_analytics, logging, loggingingestion, loggingsearch, management_agent, management_dashboard, marketplace, marketplace_private_offer, marketplace_publisher, media_services, monitoring, 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, os_management_hub, osp_gateway, osub_billing_schedule, osub_organization_subscription, osub_subscription, osub_usage, psql, queue, recovery, redis, resource_manager, resource_scheduler, resource_search, rover, sch, secrets, security_attribute, service_catalog, service_manager_proxy, service_mesh, stack_monitoring, streaming, tenant_manager_control_plane, threat_intelligence, usage, usage_api, vault, vbs_inst, visual_builder, vn_monitoring, vulnerability_scanning, waa, waas, waf, work_requests, zpr
diff --git a/src/oci/container_engine/models/open_id_connect_token_authentication_config.py b/src/oci/container_engine/models/open_id_connect_token_authentication_config.py
index 416d016255..b52760d61d 100644
--- a/src/oci/container_engine/models/open_id_connect_token_authentication_config.py
+++ b/src/oci/container_engine/models/open_id_connect_token_authentication_config.py
@@ -63,6 +63,10 @@ def __init__(self, **kwargs):
The value to assign to the is_open_id_connect_auth_enabled property of this OpenIdConnectTokenAuthenticationConfig.
:type is_open_id_connect_auth_enabled: bool
+ :param configuration_file:
+ The value to assign to the configuration_file property of this OpenIdConnectTokenAuthenticationConfig.
+ :type configuration_file: str
+
"""
self.swagger_types = {
'issuer_url': 'str',
@@ -74,7 +78,8 @@ def __init__(self, **kwargs):
'required_claims': 'list[KeyValue]',
'ca_certificate': 'str',
'signing_algorithms': 'list[str]',
- 'is_open_id_connect_auth_enabled': 'bool'
+ 'is_open_id_connect_auth_enabled': 'bool',
+ 'configuration_file': 'str'
}
self.attribute_map = {
@@ -87,7 +92,8 @@ def __init__(self, **kwargs):
'required_claims': 'requiredClaims',
'ca_certificate': 'caCertificate',
'signing_algorithms': 'signingAlgorithms',
- 'is_open_id_connect_auth_enabled': 'isOpenIdConnectAuthEnabled'
+ 'is_open_id_connect_auth_enabled': 'isOpenIdConnectAuthEnabled',
+ 'configuration_file': 'configurationFile'
}
self._issuer_url = None
@@ -100,6 +106,7 @@ def __init__(self, **kwargs):
self._ca_certificate = None
self._signing_algorithms = None
self._is_open_id_connect_auth_enabled = None
+ self._configuration_file = None
@property
def issuer_url(self):
@@ -357,6 +364,34 @@ def is_open_id_connect_auth_enabled(self, is_open_id_connect_auth_enabled):
"""
self._is_open_id_connect_auth_enabled = is_open_id_connect_auth_enabled
+ @property
+ def configuration_file(self):
+ """
+ Gets the configuration_file of this OpenIdConnectTokenAuthenticationConfig.
+ A Base64 encoded string of a Kubernetes OIDC Auth Config file. More info `here`__
+
+ __ https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration
+
+
+ :return: The configuration_file of this OpenIdConnectTokenAuthenticationConfig.
+ :rtype: str
+ """
+ return self._configuration_file
+
+ @configuration_file.setter
+ def configuration_file(self, configuration_file):
+ """
+ Sets the configuration_file of this OpenIdConnectTokenAuthenticationConfig.
+ A Base64 encoded string of a Kubernetes OIDC Auth Config file. More info `here`__
+
+ __ https://kubernetes.io/docs/reference/access-authn-authz/authentication/#using-authentication-configuration
+
+
+ :param configuration_file: The configuration_file of this OpenIdConnectTokenAuthenticationConfig.
+ :type: str
+ """
+ self._configuration_file = configuration_file
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_instances/models/__init__.py b/src/oci/container_instances/models/__init__.py
index 97fc7d08f8..112fff6444 100644
--- a/src/oci/container_instances/models/__init__.py
+++ b/src/oci/container_instances/models/__init__.py
@@ -11,7 +11,6 @@
from .container import Container
from .container_capabilities import ContainerCapabilities
from .container_collection import ContainerCollection
-from .container_command_health_check import ContainerCommandHealthCheck
from .container_config_file import ContainerConfigFile
from .container_config_file_volume import ContainerConfigFileVolume
from .container_dns_config import ContainerDnsConfig
@@ -31,7 +30,6 @@
from .container_vnic import ContainerVnic
from .container_volume import ContainerVolume
from .create_basic_image_pull_secret_details import CreateBasicImagePullSecretDetails
-from .create_container_command_health_check_details import CreateContainerCommandHealthCheckDetails
from .create_container_config_file_volume_details import CreateContainerConfigFileVolumeDetails
from .create_container_details import CreateContainerDetails
from .create_container_dns_config_details import CreateContainerDnsConfigDetails
@@ -76,7 +74,6 @@
"Container": Container,
"ContainerCapabilities": ContainerCapabilities,
"ContainerCollection": ContainerCollection,
- "ContainerCommandHealthCheck": ContainerCommandHealthCheck,
"ContainerConfigFile": ContainerConfigFile,
"ContainerConfigFileVolume": ContainerConfigFileVolume,
"ContainerDnsConfig": ContainerDnsConfig,
@@ -96,7 +93,6 @@
"ContainerVnic": ContainerVnic,
"ContainerVolume": ContainerVolume,
"CreateBasicImagePullSecretDetails": CreateBasicImagePullSecretDetails,
- "CreateContainerCommandHealthCheckDetails": CreateContainerCommandHealthCheckDetails,
"CreateContainerConfigFileVolumeDetails": CreateContainerConfigFileVolumeDetails,
"CreateContainerDetails": CreateContainerDetails,
"CreateContainerDnsConfigDetails": CreateContainerDnsConfigDetails,
diff --git a/src/oci/container_instances/models/container_command_health_check.py b/src/oci/container_instances/models/container_command_health_check.py
deleted file mode 100644
index b5bda4b20e..0000000000
--- a/src/oci/container_instances/models/container_command_health_check.py
+++ /dev/null
@@ -1,147 +0,0 @@
-# coding: utf-8
-# Copyright (c) 2016, 2025, 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_health_check import ContainerHealthCheck
-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 ContainerCommandHealthCheck(ContainerHealthCheck):
- """
- Container Health Check with command type.
- """
-
- def __init__(self, **kwargs):
- """
- Initializes a new ContainerCommandHealthCheck object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.ContainerCommandHealthCheck.health_check_type` attribute
- of this class is ``COMMAND`` 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 ContainerCommandHealthCheck.
- :type name: str
-
- :param health_check_type:
- The value to assign to the health_check_type property of this ContainerCommandHealthCheck.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
- :type health_check_type: str
-
- :param initial_delay_in_seconds:
- The value to assign to the initial_delay_in_seconds property of this ContainerCommandHealthCheck.
- :type initial_delay_in_seconds: int
-
- :param interval_in_seconds:
- The value to assign to the interval_in_seconds property of this ContainerCommandHealthCheck.
- :type interval_in_seconds: int
-
- :param failure_threshold:
- The value to assign to the failure_threshold property of this ContainerCommandHealthCheck.
- :type failure_threshold: int
-
- :param success_threshold:
- The value to assign to the success_threshold property of this ContainerCommandHealthCheck.
- :type success_threshold: int
-
- :param timeout_in_seconds:
- The value to assign to the timeout_in_seconds property of this ContainerCommandHealthCheck.
- :type timeout_in_seconds: int
-
- :param status:
- The value to assign to the status property of this ContainerCommandHealthCheck.
- Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNKNOWN"
- :type status: str
-
- :param status_details:
- The value to assign to the status_details property of this ContainerCommandHealthCheck.
- :type status_details: str
-
- :param failure_action:
- The value to assign to the failure_action property of this ContainerCommandHealthCheck.
- Allowed values for this property are: "KILL", "NONE"
- :type failure_action: str
-
- :param command:
- The value to assign to the command property of this ContainerCommandHealthCheck.
- :type command: list[str]
-
- """
- self.swagger_types = {
- 'name': 'str',
- 'health_check_type': 'str',
- 'initial_delay_in_seconds': 'int',
- 'interval_in_seconds': 'int',
- 'failure_threshold': 'int',
- 'success_threshold': 'int',
- 'timeout_in_seconds': 'int',
- 'status': 'str',
- 'status_details': 'str',
- 'failure_action': 'str',
- 'command': 'list[str]'
- }
-
- self.attribute_map = {
- 'name': 'name',
- 'health_check_type': 'healthCheckType',
- 'initial_delay_in_seconds': 'initialDelayInSeconds',
- 'interval_in_seconds': 'intervalInSeconds',
- 'failure_threshold': 'failureThreshold',
- 'success_threshold': 'successThreshold',
- 'timeout_in_seconds': 'timeoutInSeconds',
- 'status': 'status',
- 'status_details': 'statusDetails',
- 'failure_action': 'failureAction',
- 'command': 'command'
- }
-
- self._name = None
- self._health_check_type = None
- self._initial_delay_in_seconds = None
- self._interval_in_seconds = None
- self._failure_threshold = None
- self._success_threshold = None
- self._timeout_in_seconds = None
- self._status = None
- self._status_details = None
- self._failure_action = None
- self._command = None
- self._health_check_type = 'COMMAND'
-
- @property
- def command(self):
- """
- **[Required]** Gets the command of this ContainerCommandHealthCheck.
- The list of strings that will be simplified to a single command for checking the status of the container.
-
-
- :return: The command of this ContainerCommandHealthCheck.
- :rtype: list[str]
- """
- return self._command
-
- @command.setter
- def command(self, command):
- """
- Sets the command of this ContainerCommandHealthCheck.
- The list of strings that will be simplified to a single command for checking the status of the container.
-
-
- :param command: The command of this ContainerCommandHealthCheck.
- :type: list[str]
- """
- self._command = command
-
- 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_health_check.py b/src/oci/container_instances/models/container_health_check.py
index 5a5a570c0e..b6e3a65d9b 100644
--- a/src/oci/container_instances/models/container_health_check.py
+++ b/src/oci/container_instances/models/container_health_check.py
@@ -23,10 +23,6 @@ class ContainerHealthCheck(object):
#: This constant has a value of "TCP"
HEALTH_CHECK_TYPE_TCP = "TCP"
- #: A constant which can be used with the health_check_type property of a ContainerHealthCheck.
- #: This constant has a value of "COMMAND"
- HEALTH_CHECK_TYPE_COMMAND = "COMMAND"
-
#: A constant which can be used with the status property of a ContainerHealthCheck.
#: This constant has a value of "HEALTHY"
STATUS_HEALTHY = "HEALTHY"
@@ -54,7 +50,6 @@ def __init__(self, **kwargs):
* :class:`~oci.container_instances.models.ContainerTcpHealthCheck`
* :class:`~oci.container_instances.models.ContainerHttpHealthCheck`
- * :class:`~oci.container_instances.models.ContainerCommandHealthCheck`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -64,7 +59,7 @@ def __init__(self, **kwargs):
:param health_check_type:
The value to assign to the health_check_type property of this ContainerHealthCheck.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HTTP", "TCP", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type health_check_type: str
@@ -155,9 +150,6 @@ def get_subtype(object_dictionary):
if type == 'HTTP':
return 'ContainerHttpHealthCheck'
-
- if type == 'COMMAND':
- return 'ContainerCommandHealthCheck'
else:
return 'ContainerHealthCheck'
@@ -191,7 +183,7 @@ def health_check_type(self):
**[Required]** Gets the health_check_type of this ContainerHealthCheck.
Container health check type.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HTTP", "TCP", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -210,7 +202,7 @@ def health_check_type(self, health_check_type):
:param health_check_type: The health_check_type of this ContainerHealthCheck.
:type: str
"""
- allowed_values = ["HTTP", "TCP", "COMMAND"]
+ allowed_values = ["HTTP", "TCP"]
if not value_allowed_none_or_none_sentinel(health_check_type, allowed_values):
health_check_type = 'UNKNOWN_ENUM_VALUE'
self._health_check_type = health_check_type
diff --git a/src/oci/container_instances/models/container_http_health_check.py b/src/oci/container_instances/models/container_http_health_check.py
index 5f857aef34..64796c85fa 100644
--- a/src/oci/container_instances/models/container_http_health_check.py
+++ b/src/oci/container_instances/models/container_http_health_check.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param health_check_type:
The value to assign to the health_check_type property of this ContainerHttpHealthCheck.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
+ Allowed values for this property are: "HTTP", "TCP"
:type health_check_type: str
:param initial_delay_in_seconds:
diff --git a/src/oci/container_instances/models/container_tcp_health_check.py b/src/oci/container_instances/models/container_tcp_health_check.py
index 592d99c22e..28b40fdd83 100644
--- a/src/oci/container_instances/models/container_tcp_health_check.py
+++ b/src/oci/container_instances/models/container_tcp_health_check.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param health_check_type:
The value to assign to the health_check_type property of this ContainerTcpHealthCheck.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
+ Allowed values for this property are: "HTTP", "TCP"
:type health_check_type: str
:param initial_delay_in_seconds:
diff --git a/src/oci/container_instances/models/create_container_command_health_check_details.py b/src/oci/container_instances/models/create_container_command_health_check_details.py
deleted file mode 100644
index 9f855672ba..0000000000
--- a/src/oci/container_instances/models/create_container_command_health_check_details.py
+++ /dev/null
@@ -1,132 +0,0 @@
-# coding: utf-8
-# Copyright (c) 2016, 2025, 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_health_check_details import CreateContainerHealthCheckDetails
-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 CreateContainerCommandHealthCheckDetails(CreateContainerHealthCheckDetails):
- """
- Container Health Check Command type.
- """
-
- def __init__(self, **kwargs):
- """
- Initializes a new CreateContainerCommandHealthCheckDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.CreateContainerCommandHealthCheckDetails.health_check_type` attribute
- of this class is ``COMMAND`` 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 CreateContainerCommandHealthCheckDetails.
- :type name: str
-
- :param health_check_type:
- The value to assign to the health_check_type property of this CreateContainerCommandHealthCheckDetails.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
- :type health_check_type: str
-
- :param initial_delay_in_seconds:
- The value to assign to the initial_delay_in_seconds property of this CreateContainerCommandHealthCheckDetails.
- :type initial_delay_in_seconds: int
-
- :param interval_in_seconds:
- The value to assign to the interval_in_seconds property of this CreateContainerCommandHealthCheckDetails.
- :type interval_in_seconds: int
-
- :param failure_threshold:
- The value to assign to the failure_threshold property of this CreateContainerCommandHealthCheckDetails.
- :type failure_threshold: int
-
- :param success_threshold:
- The value to assign to the success_threshold property of this CreateContainerCommandHealthCheckDetails.
- :type success_threshold: int
-
- :param timeout_in_seconds:
- The value to assign to the timeout_in_seconds property of this CreateContainerCommandHealthCheckDetails.
- :type timeout_in_seconds: int
-
- :param failure_action:
- The value to assign to the failure_action property of this CreateContainerCommandHealthCheckDetails.
- Allowed values for this property are: "KILL", "NONE"
- :type failure_action: str
-
- :param command:
- The value to assign to the command property of this CreateContainerCommandHealthCheckDetails.
- :type command: list[str]
-
- """
- self.swagger_types = {
- 'name': 'str',
- 'health_check_type': 'str',
- 'initial_delay_in_seconds': 'int',
- 'interval_in_seconds': 'int',
- 'failure_threshold': 'int',
- 'success_threshold': 'int',
- 'timeout_in_seconds': 'int',
- 'failure_action': 'str',
- 'command': 'list[str]'
- }
-
- self.attribute_map = {
- 'name': 'name',
- 'health_check_type': 'healthCheckType',
- 'initial_delay_in_seconds': 'initialDelayInSeconds',
- 'interval_in_seconds': 'intervalInSeconds',
- 'failure_threshold': 'failureThreshold',
- 'success_threshold': 'successThreshold',
- 'timeout_in_seconds': 'timeoutInSeconds',
- 'failure_action': 'failureAction',
- 'command': 'command'
- }
-
- self._name = None
- self._health_check_type = None
- self._initial_delay_in_seconds = None
- self._interval_in_seconds = None
- self._failure_threshold = None
- self._success_threshold = None
- self._timeout_in_seconds = None
- self._failure_action = None
- self._command = None
- self._health_check_type = 'COMMAND'
-
- @property
- def command(self):
- """
- **[Required]** Gets the command of this CreateContainerCommandHealthCheckDetails.
- The list of strings that will be simplified to a single command for checking the status of the container.
-
-
- :return: The command of this CreateContainerCommandHealthCheckDetails.
- :rtype: list[str]
- """
- return self._command
-
- @command.setter
- def command(self, command):
- """
- Sets the command of this CreateContainerCommandHealthCheckDetails.
- The list of strings that will be simplified to a single command for checking the status of the container.
-
-
- :param command: The command of this CreateContainerCommandHealthCheckDetails.
- :type: list[str]
- """
- self._command = command
-
- 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_details.py b/src/oci/container_instances/models/create_container_details.py
index 532ff3cfe5..2862f86bd1 100644
--- a/src/oci/container_instances/models/create_container_details.py
+++ b/src/oci/container_instances/models/create_container_details.py
@@ -384,7 +384,7 @@ def health_checks(self):
"""
Gets the health_checks of this CreateContainerDetails.
list of container health checks to check container status and take appropriate action if container status is failed.
- There are three types of health checks that we currently support HTTP, TCP, and Command.
+ There are two types of health checks that we currently support HTTP and TCP.
:return: The health_checks of this CreateContainerDetails.
@@ -397,7 +397,7 @@ def health_checks(self, health_checks):
"""
Sets the health_checks of this CreateContainerDetails.
list of container health checks to check container status and take appropriate action if container status is failed.
- There are three types of health checks that we currently support HTTP, TCP, and Command.
+ There are two types of health checks that we currently support HTTP and TCP.
:param health_checks: The health_checks of this CreateContainerDetails.
diff --git a/src/oci/container_instances/models/create_container_health_check_details.py b/src/oci/container_instances/models/create_container_health_check_details.py
index bb7b6427b3..9b46536131 100644
--- a/src/oci/container_instances/models/create_container_health_check_details.py
+++ b/src/oci/container_instances/models/create_container_health_check_details.py
@@ -23,10 +23,6 @@ class CreateContainerHealthCheckDetails(object):
#: This constant has a value of "TCP"
HEALTH_CHECK_TYPE_TCP = "TCP"
- #: A constant which can be used with the health_check_type property of a CreateContainerHealthCheckDetails.
- #: This constant has a value of "COMMAND"
- HEALTH_CHECK_TYPE_COMMAND = "COMMAND"
-
#: A constant which can be used with the failure_action property of a CreateContainerHealthCheckDetails.
#: This constant has a value of "KILL"
FAILURE_ACTION_KILL = "KILL"
@@ -42,7 +38,6 @@ def __init__(self, **kwargs):
* :class:`~oci.container_instances.models.CreateContainerTcpHealthCheckDetails`
* :class:`~oci.container_instances.models.CreateContainerHttpHealthCheckDetails`
- * :class:`~oci.container_instances.models.CreateContainerCommandHealthCheckDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -52,7 +47,7 @@ def __init__(self, **kwargs):
:param health_check_type:
The value to assign to the health_check_type property of this CreateContainerHealthCheckDetails.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
+ Allowed values for this property are: "HTTP", "TCP"
:type health_check_type: str
:param initial_delay_in_seconds:
@@ -125,9 +120,6 @@ def get_subtype(object_dictionary):
if type == 'HTTP':
return 'CreateContainerHttpHealthCheckDetails'
-
- if type == 'COMMAND':
- return 'CreateContainerCommandHealthCheckDetails'
else:
return 'CreateContainerHealthCheckDetails'
@@ -161,7 +153,7 @@ def health_check_type(self):
**[Required]** Gets the health_check_type of this CreateContainerHealthCheckDetails.
Container health check type.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
+ Allowed values for this property are: "HTTP", "TCP"
:return: The health_check_type of this CreateContainerHealthCheckDetails.
@@ -179,7 +171,7 @@ def health_check_type(self, health_check_type):
:param health_check_type: The health_check_type of this CreateContainerHealthCheckDetails.
:type: str
"""
- allowed_values = ["HTTP", "TCP", "COMMAND"]
+ allowed_values = ["HTTP", "TCP"]
if not value_allowed_none_or_none_sentinel(health_check_type, allowed_values):
raise ValueError(
f"Invalid value for `health_check_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/container_instances/models/create_container_http_health_check_details.py b/src/oci/container_instances/models/create_container_http_health_check_details.py
index 611b8319da..682a4594f2 100644
--- a/src/oci/container_instances/models/create_container_http_health_check_details.py
+++ b/src/oci/container_instances/models/create_container_http_health_check_details.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param health_check_type:
The value to assign to the health_check_type property of this CreateContainerHttpHealthCheckDetails.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
+ Allowed values for this property are: "HTTP", "TCP"
:type health_check_type: str
:param initial_delay_in_seconds:
diff --git a/src/oci/container_instances/models/create_container_tcp_health_check_details.py b/src/oci/container_instances/models/create_container_tcp_health_check_details.py
index 183d8bcb49..b61bb19a24 100644
--- a/src/oci/container_instances/models/create_container_tcp_health_check_details.py
+++ b/src/oci/container_instances/models/create_container_tcp_health_check_details.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param health_check_type:
The value to assign to the health_check_type property of this CreateContainerTcpHealthCheckDetails.
- Allowed values for this property are: "HTTP", "TCP", "COMMAND"
+ Allowed values for this property are: "HTTP", "TCP"
:type health_check_type: str
:param initial_delay_in_seconds:
diff --git a/src/oci/core/models/create_byoip_range_details.py b/src/oci/core/models/create_byoip_range_details.py
index 6cd7f22f59..a1e415b343 100644
--- a/src/oci/core/models/create_byoip_range_details.py
+++ b/src/oci/core/models/create_byoip_range_details.py
@@ -28,6 +28,14 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateByoipRangeDetails.
:type compartment_id: str
+ :param ip_anycast_id:
+ The value to assign to the ip_anycast_id property of this CreateByoipRangeDetails.
+ :type ip_anycast_id: str
+
+ :param monitor_ip:
+ The value to assign to the monitor_ip property of this CreateByoipRangeDetails.
+ :type monitor_ip: str
+
:param ipv6_cidr_block:
The value to assign to the ipv6_cidr_block property of this CreateByoipRangeDetails.
:type ipv6_cidr_block: str
@@ -48,6 +56,8 @@ def __init__(self, **kwargs):
self.swagger_types = {
'cidr_block': 'str',
'compartment_id': 'str',
+ 'ip_anycast_id': 'str',
+ 'monitor_ip': 'str',
'ipv6_cidr_block': 'str',
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
@@ -57,6 +67,8 @@ def __init__(self, **kwargs):
self.attribute_map = {
'cidr_block': 'cidrBlock',
'compartment_id': 'compartmentId',
+ 'ip_anycast_id': 'ipAnycastId',
+ 'monitor_ip': 'monitorIp',
'ipv6_cidr_block': 'ipv6CidrBlock',
'defined_tags': 'definedTags',
'display_name': 'displayName',
@@ -65,6 +77,8 @@ def __init__(self, **kwargs):
self._cidr_block = None
self._compartment_id = None
+ self._ip_anycast_id = None
+ self._monitor_ip = None
self._ipv6_cidr_block = None
self._defined_tags = None
self._display_name = None
@@ -124,6 +138,58 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def ip_anycast_id(self):
+ """
+ Gets the ip_anycast_id of this CreateByoipRangeDetails.
+ The `OCID`__ of the `IpAnycast` resource.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The ip_anycast_id of this CreateByoipRangeDetails.
+ :rtype: str
+ """
+ return self._ip_anycast_id
+
+ @ip_anycast_id.setter
+ def ip_anycast_id(self, ip_anycast_id):
+ """
+ Sets the ip_anycast_id of this CreateByoipRangeDetails.
+ The `OCID`__ of the `IpAnycast` resource.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param ip_anycast_id: The ip_anycast_id of this CreateByoipRangeDetails.
+ :type: str
+ """
+ self._ip_anycast_id = ip_anycast_id
+
+ @property
+ def monitor_ip(self):
+ """
+ Gets the monitor_ip of this CreateByoipRangeDetails.
+ The IP address of the CIDR for Prefix Monitoring.
+
+
+ :return: The monitor_ip of this CreateByoipRangeDetails.
+ :rtype: str
+ """
+ return self._monitor_ip
+
+ @monitor_ip.setter
+ def monitor_ip(self, monitor_ip):
+ """
+ Sets the monitor_ip of this CreateByoipRangeDetails.
+ The IP address of the CIDR for Prefix Monitoring.
+
+
+ :param monitor_ip: The monitor_ip of this CreateByoipRangeDetails.
+ :type: str
+ """
+ self._monitor_ip = monitor_ip
+
@property
def ipv6_cidr_block(self):
"""
diff --git a/src/oci/core/models/create_ipv6_details.py b/src/oci/core/models/create_ipv6_details.py
index 7b770cc4f6..8c2cfa8e8b 100644
--- a/src/oci/core/models/create_ipv6_details.py
+++ b/src/oci/core/models/create_ipv6_details.py
@@ -15,6 +15,14 @@ class CreateIpv6Details(object):
CreateIpv6Details model.
"""
+ #: A constant which can be used with the lifetime property of a CreateIpv6Details.
+ #: This constant has a value of "EPHEMERAL"
+ LIFETIME_EPHEMERAL = "EPHEMERAL"
+
+ #: A constant which can be used with the lifetime property of a CreateIpv6Details.
+ #: This constant has a value of "RESERVED"
+ LIFETIME_RESERVED = "RESERVED"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateIpv6Details object with values from keyword arguments.
@@ -40,6 +48,15 @@ def __init__(self, **kwargs):
The value to assign to the vnic_id property of this CreateIpv6Details.
:type vnic_id: str
+ :param subnet_id:
+ The value to assign to the subnet_id property of this CreateIpv6Details.
+ :type subnet_id: str
+
+ :param lifetime:
+ The value to assign to the lifetime property of this CreateIpv6Details.
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+ :type lifetime: str
+
:param route_table_id:
The value to assign to the route_table_id property of this CreateIpv6Details.
:type route_table_id: str
@@ -55,6 +72,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'ip_address': 'str',
'vnic_id': 'str',
+ 'subnet_id': 'str',
+ 'lifetime': 'str',
'route_table_id': 'str',
'ipv6_subnet_cidr': 'str'
}
@@ -65,6 +84,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'ip_address': 'ipAddress',
'vnic_id': 'vnicId',
+ 'subnet_id': 'subnetId',
+ 'lifetime': 'lifetime',
'route_table_id': 'routeTableId',
'ipv6_subnet_cidr': 'ipv6SubnetCidr'
}
@@ -74,6 +95,8 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._ip_address = None
self._vnic_id = None
+ self._subnet_id = None
+ self._lifetime = None
self._route_table_id = None
self._ipv6_subnet_cidr = None
@@ -208,7 +231,7 @@ def ip_address(self, ip_address):
@property
def vnic_id(self):
"""
- **[Required]** Gets the vnic_id of this CreateIpv6Details.
+ Gets the vnic_id of this CreateIpv6Details.
The `OCID`__ of the VNIC to assign the IPv6 to. The
IPv6 will be in the VNIC's subnet.
@@ -235,13 +258,82 @@ def vnic_id(self, vnic_id):
"""
self._vnic_id = vnic_id
+ @property
+ def subnet_id(self):
+ """
+ Gets the subnet_id of this CreateIpv6Details.
+ The `OCID`__ of the subnet from which the IPv6 is to be drawn. The IP address,
+ *if supplied*, must be valid for the given subnet, only valid for reserved IPs currently.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The subnet_id of this CreateIpv6Details.
+ :rtype: str
+ """
+ return self._subnet_id
+
+ @subnet_id.setter
+ def subnet_id(self, subnet_id):
+ """
+ Sets the subnet_id of this CreateIpv6Details.
+ The `OCID`__ of the subnet from which the IPv6 is to be drawn. The IP address,
+ *if supplied*, must be valid for the given subnet, only valid for reserved IPs currently.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param subnet_id: The subnet_id of this CreateIpv6Details.
+ :type: str
+ """
+ self._subnet_id = subnet_id
+
+ @property
+ def lifetime(self):
+ """
+ Gets the lifetime of this CreateIpv6Details.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+
+
+ :return: The lifetime of this CreateIpv6Details.
+ :rtype: str
+ """
+ return self._lifetime
+
+ @lifetime.setter
+ def lifetime(self, lifetime):
+ """
+ Sets the lifetime of this CreateIpv6Details.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+
+ :param lifetime: The lifetime of this CreateIpv6Details.
+ :type: str
+ """
+ allowed_values = ["EPHEMERAL", "RESERVED"]
+ if not value_allowed_none_or_none_sentinel(lifetime, allowed_values):
+ raise ValueError(
+ f"Invalid value for `lifetime`, must be None or one of {allowed_values}"
+ )
+ self._lifetime = lifetime
+
@property
def route_table_id(self):
"""
Gets the route_table_id of this CreateIpv6Details.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this CreateIpv6Details.
@@ -253,9 +345,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this CreateIpv6Details.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this CreateIpv6Details.
diff --git a/src/oci/core/models/create_private_ip_details.py b/src/oci/core/models/create_private_ip_details.py
index 10fa48815d..d2eb2bdf57 100644
--- a/src/oci/core/models/create_private_ip_details.py
+++ b/src/oci/core/models/create_private_ip_details.py
@@ -15,6 +15,14 @@ class CreatePrivateIpDetails(object):
CreatePrivateIpDetails model.
"""
+ #: A constant which can be used with the lifetime property of a CreatePrivateIpDetails.
+ #: This constant has a value of "EPHEMERAL"
+ LIFETIME_EPHEMERAL = "EPHEMERAL"
+
+ #: A constant which can be used with the lifetime property of a CreatePrivateIpDetails.
+ #: This constant has a value of "RESERVED"
+ LIFETIME_RESERVED = "RESERVED"
+
def __init__(self, **kwargs):
"""
Initializes a new CreatePrivateIpDetails object with values from keyword arguments.
@@ -48,6 +56,15 @@ def __init__(self, **kwargs):
The value to assign to the vlan_id property of this CreatePrivateIpDetails.
:type vlan_id: str
+ :param subnet_id:
+ The value to assign to the subnet_id property of this CreatePrivateIpDetails.
+ :type subnet_id: str
+
+ :param lifetime:
+ The value to assign to the lifetime property of this CreatePrivateIpDetails.
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+ :type lifetime: str
+
:param route_table_id:
The value to assign to the route_table_id property of this CreatePrivateIpDetails.
:type route_table_id: str
@@ -61,6 +78,8 @@ def __init__(self, **kwargs):
'ip_address': 'str',
'vnic_id': 'str',
'vlan_id': 'str',
+ 'subnet_id': 'str',
+ 'lifetime': 'str',
'route_table_id': 'str'
}
@@ -72,6 +91,8 @@ def __init__(self, **kwargs):
'ip_address': 'ipAddress',
'vnic_id': 'vnicId',
'vlan_id': 'vlanId',
+ 'subnet_id': 'subnetId',
+ 'lifetime': 'lifetime',
'route_table_id': 'routeTableId'
}
@@ -82,6 +103,8 @@ def __init__(self, **kwargs):
self._ip_address = None
self._vnic_id = None
self._vlan_id = None
+ self._subnet_id = None
+ self._lifetime = None
self._route_table_id = None
@property
@@ -326,13 +349,82 @@ def vlan_id(self, vlan_id):
"""
self._vlan_id = vlan_id
+ @property
+ def subnet_id(self):
+ """
+ Gets the subnet_id of this CreatePrivateIpDetails.
+ The `OCID`__ of the subnet from which the private IP is to be drawn. The IP address,
+ *if supplied*, must be valid for the given subnet.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The subnet_id of this CreatePrivateIpDetails.
+ :rtype: str
+ """
+ return self._subnet_id
+
+ @subnet_id.setter
+ def subnet_id(self, subnet_id):
+ """
+ Sets the subnet_id of this CreatePrivateIpDetails.
+ The `OCID`__ of the subnet from which the private IP is to be drawn. The IP address,
+ *if supplied*, must be valid for the given subnet.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param subnet_id: The subnet_id of this CreatePrivateIpDetails.
+ :type: str
+ """
+ self._subnet_id = subnet_id
+
+ @property
+ def lifetime(self):
+ """
+ Gets the lifetime of this CreatePrivateIpDetails.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+
+
+ :return: The lifetime of this CreatePrivateIpDetails.
+ :rtype: str
+ """
+ return self._lifetime
+
+ @lifetime.setter
+ def lifetime(self, lifetime):
+ """
+ Sets the lifetime of this CreatePrivateIpDetails.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+
+ :param lifetime: The lifetime of this CreatePrivateIpDetails.
+ :type: str
+ """
+ allowed_values = ["EPHEMERAL", "RESERVED"]
+ if not value_allowed_none_or_none_sentinel(lifetime, allowed_values):
+ raise ValueError(
+ f"Invalid value for `lifetime`, must be None or one of {allowed_values}"
+ )
+ self._lifetime = lifetime
+
@property
def route_table_id(self):
"""
Gets the route_table_id of this CreatePrivateIpDetails.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this CreatePrivateIpDetails.
@@ -344,9 +436,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this CreatePrivateIpDetails.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this CreatePrivateIpDetails.
diff --git a/src/oci/core/models/create_vnic_details.py b/src/oci/core/models/create_vnic_details.py
index 18f0ac21c9..250a265f25 100644
--- a/src/oci/core/models/create_vnic_details.py
+++ b/src/oci/core/models/create_vnic_details.py
@@ -411,17 +411,17 @@ def hostname_label(self):
Must be unique across all VNICs in the subnet and comply with
`RFC 952`__ and
`RFC 1123`__.
- The value appears in the `:class:`Vnic`` object and also the
- `:class:`PrivateIp`` object returned by
- `:func:`list_private_ips`` and
- `:func:`get_private_ip``.
+ The value appears in the :class:`Vnic` object and also the
+ :class:`PrivateIp` object returned by
+ :func:`list_private_ips` and
+ :func:`get_private_ip`.
For more information, see
`DNS in Your Virtual Cloud Network`__.
When launching an instance, use this `hostnameLabel` instead
of the deprecated `hostnameLabel` in
- `:func:`launch_instance_details``.
+ :func:`launch_instance_details`.
If you provide both, the values must match.
Example: `bminstance1`
@@ -449,17 +449,17 @@ def hostname_label(self, hostname_label):
Must be unique across all VNICs in the subnet and comply with
`RFC 952`__ and
`RFC 1123`__.
- The value appears in the `:class:`Vnic`` object and also the
- `:class:`PrivateIp`` object returned by
- `:func:`list_private_ips`` and
- `:func:`get_private_ip``.
+ The value appears in the :class:`Vnic` object and also the
+ :class:`PrivateIp` object returned by
+ :func:`list_private_ips` and
+ :func:`get_private_ip`.
For more information, see
`DNS in Your Virtual Cloud Network`__.
When launching an instance, use this `hostnameLabel` instead
of the deprecated `hostnameLabel` in
- `:func:`launch_instance_details``.
+ :func:`launch_instance_details`.
If you provide both, the values must match.
Example: `bminstance1`
@@ -553,10 +553,10 @@ def private_ip(self):
available IP address within the subnet's CIDR. If you don't specify a
value, Oracle automatically assigns a private IP address from the subnet.
This is the VNIC's *primary* private IP address. The value appears in
- the `:class:`Vnic`` object and also the
- `:class:`PrivateIp`` object returned by
- `:func:`list_private_ips`` and
- `:func:`get_private_ip``.
+ the :class:`Vnic` object and also the
+ :class:`PrivateIp` object returned by
+ :func:`list_private_ips` and
+ :func:`get_private_ip`.
If you specify a `vlanId`, the `privateIp` cannot be specified.
@@ -578,10 +578,10 @@ def private_ip(self, private_ip):
available IP address within the subnet's CIDR. If you don't specify a
value, Oracle automatically assigns a private IP address from the subnet.
This is the VNIC's *primary* private IP address. The value appears in
- the `:class:`Vnic`` object and also the
- `:class:`PrivateIp`` object returned by
- `:func:`list_private_ips`` and
- `:func:`get_private_ip``.
+ the :class:`Vnic` object and also the
+ :class:`PrivateIp` object returned by
+ :func:`list_private_ips` and
+ :func:`get_private_ip`.
If you specify a `vlanId`, the `privateIp` cannot be specified.
diff --git a/src/oci/core/models/ipv6.py b/src/oci/core/models/ipv6.py
index f52dd91216..2119aa69d0 100644
--- a/src/oci/core/models/ipv6.py
+++ b/src/oci/core/models/ipv6.py
@@ -40,6 +40,22 @@ class Ipv6(object):
#: This constant has a value of "TERMINATED"
LIFECYCLE_STATE_TERMINATED = "TERMINATED"
+ #: A constant which can be used with the ip_state property of a Ipv6.
+ #: This constant has a value of "ASSIGNED"
+ IP_STATE_ASSIGNED = "ASSIGNED"
+
+ #: A constant which can be used with the ip_state property of a Ipv6.
+ #: This constant has a value of "AVAILABLE"
+ IP_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifetime property of a Ipv6.
+ #: This constant has a value of "EPHEMERAL"
+ LIFETIME_EPHEMERAL = "EPHEMERAL"
+
+ #: A constant which can be used with the lifetime property of a Ipv6.
+ #: This constant has a value of "RESERVED"
+ LIFETIME_RESERVED = "RESERVED"
+
def __init__(self, **kwargs):
"""
Initializes a new Ipv6 object with values from keyword arguments.
@@ -87,6 +103,18 @@ def __init__(self, **kwargs):
The value to assign to the vnic_id property of this Ipv6.
:type vnic_id: str
+ :param ip_state:
+ The value to assign to the ip_state property of this Ipv6.
+ Allowed values for this property are: "ASSIGNED", "AVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type ip_state: str
+
+ :param lifetime:
+ The value to assign to the lifetime property of this Ipv6.
+ Allowed values for this property are: "EPHEMERAL", "RESERVED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifetime: str
+
:param route_table_id:
The value to assign to the route_table_id property of this Ipv6.
:type route_table_id: str
@@ -103,6 +131,8 @@ def __init__(self, **kwargs):
'subnet_id': 'str',
'time_created': 'datetime',
'vnic_id': 'str',
+ 'ip_state': 'str',
+ 'lifetime': 'str',
'route_table_id': 'str'
}
@@ -117,6 +147,8 @@ def __init__(self, **kwargs):
'subnet_id': 'subnetId',
'time_created': 'timeCreated',
'vnic_id': 'vnicId',
+ 'ip_state': 'ipState',
+ 'lifetime': 'lifetime',
'route_table_id': 'routeTableId'
}
@@ -130,6 +162,8 @@ def __init__(self, **kwargs):
self._subnet_id = None
self._time_created = None
self._vnic_id = None
+ self._ip_state = None
+ self._lifetime = None
self._route_table_id = None
@property
@@ -407,7 +441,7 @@ def time_created(self, time_created):
@property
def vnic_id(self):
"""
- **[Required]** Gets the vnic_id of this Ipv6.
+ Gets the vnic_id of this Ipv6.
The `OCID`__ of the VNIC the IPv6 is assigned to.
The VNIC and IPv6 must be in the same subnet.
@@ -434,13 +468,81 @@ def vnic_id(self, vnic_id):
"""
self._vnic_id = vnic_id
+ @property
+ def ip_state(self):
+ """
+ Gets the ip_state of this Ipv6.
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
+
+ Allowed values for this property are: "ASSIGNED", "AVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The ip_state of this Ipv6.
+ :rtype: str
+ """
+ return self._ip_state
+
+ @ip_state.setter
+ def ip_state(self, ip_state):
+ """
+ Sets the ip_state of this Ipv6.
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
+
+
+ :param ip_state: The ip_state of this Ipv6.
+ :type: str
+ """
+ allowed_values = ["ASSIGNED", "AVAILABLE"]
+ if not value_allowed_none_or_none_sentinel(ip_state, allowed_values):
+ ip_state = 'UNKNOWN_ENUM_VALUE'
+ self._ip_state = ip_state
+
+ @property
+ def lifetime(self):
+ """
+ Gets the lifetime of this Ipv6.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+ Allowed values for this property are: "EPHEMERAL", "RESERVED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifetime of this Ipv6.
+ :rtype: str
+ """
+ return self._lifetime
+
+ @lifetime.setter
+ def lifetime(self, lifetime):
+ """
+ Sets the lifetime of this Ipv6.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+
+ :param lifetime: The lifetime of this Ipv6.
+ :type: str
+ """
+ allowed_values = ["EPHEMERAL", "RESERVED"]
+ if not value_allowed_none_or_none_sentinel(lifetime, allowed_values):
+ lifetime = 'UNKNOWN_ENUM_VALUE'
+ self._lifetime = lifetime
+
@property
def route_table_id(self):
"""
Gets the route_table_id of this Ipv6.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this Ipv6.
@@ -452,9 +554,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this Ipv6.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this Ipv6.
diff --git a/src/oci/core/models/launch_attach_volume_details.py b/src/oci/core/models/launch_attach_volume_details.py
index d0cadb6960..926ef46b83 100644
--- a/src/oci/core/models/launch_attach_volume_details.py
+++ b/src/oci/core/models/launch_attach_volume_details.py
@@ -206,7 +206,7 @@ def is_shareable(self, is_shareable):
def type(self):
"""
**[Required]** Gets the type of this LaunchAttachVolumeDetails.
- The type of volume. Currently, the only supported value is \"iscsi\".
+ The type of volume attachment. Currently, the only supported values are \"iscsi\" and \"paravirtualized\".
:return: The type of this LaunchAttachVolumeDetails.
@@ -218,7 +218,7 @@ def type(self):
def type(self, type):
"""
Sets the type of this LaunchAttachVolumeDetails.
- The type of volume. Currently, the only supported value is \"iscsi\".
+ The type of volume attachment. Currently, the only supported values are \"iscsi\" and \"paravirtualized\".
:param type: The type of this LaunchAttachVolumeDetails.
diff --git a/src/oci/core/models/network_security_group.py b/src/oci/core/models/network_security_group.py
index 3017446b03..ab7f9dbe5e 100644
--- a/src/oci/core/models/network_security_group.py
+++ b/src/oci/core/models/network_security_group.py
@@ -24,27 +24,27 @@ class NetworkSecurityGroup(object):
After creating an NSG, you can add VNICs and security rules to it. For example, when you create
an instance, you can specify one or more NSGs to add the instance to (see
- `:func:`create_vnic_details`)`. Or you can add an existing
- instance to an NSG with `:func:`update_vnic``.
+ :func:`create_vnic_details`). Or you can add an existing
+ instance to an NSG with :func:`update_vnic`.
To add security rules to an NSG, see
- `:func:`add_network_security_group_security_rules``.
+ :func:`add_network_security_group_security_rules`.
To list the VNICs in an NSG, see
- `:func:`list_network_security_group_vnics``.
+ :func:`list_network_security_group_vnics`.
To list the security rules in an NSG, see
- `:func:`list_network_security_group_security_rules``.
+ :func:`list_network_security_group_security_rules`.
For more information about network security groups, see
- ``Network Security Groups`__`.
+ `Network Security Groups`__.
**Important:** Oracle Cloud Infrastructure Compute service images automatically include firewall rules (for example,
Linux iptables, Windows firewall). If there are issues with some type of access to an instance,
make sure all of the following are set correctly:
* Any security rules in any NSGs the instance's VNIC belongs to
- * Any `:class:`SecurityList`` associated with the instance's subnet
+ * Any :class:`SecurityList` associated with the instance's subnet
* The instance's OS firewall rules
To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
diff --git a/src/oci/core/models/private_ip.py b/src/oci/core/models/private_ip.py
index 0a3b49629c..4b5d092be9 100644
--- a/src/oci/core/models/private_ip.py
+++ b/src/oci/core/models/private_ip.py
@@ -36,7 +36,7 @@ class PrivateIp(object):
:class:`CreateVnicDetails` when calling either
:func:`launch_instance` or
:func:`attach_vnic`. To update the hostname
- for a primary private IP, you use `:func:`update_vnic``.
+ for a primary private IP, you use :func:`update_vnic`.
`PrivateIp` objects that are created for use with the Oracle Cloud VMware Solution are
assigned to a VLAN and not a VNIC in a subnet. See the
@@ -51,6 +51,22 @@ class PrivateIp(object):
__ https://docs.cloud.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm
"""
+ #: A constant which can be used with the ip_state property of a PrivateIp.
+ #: This constant has a value of "ASSIGNED"
+ IP_STATE_ASSIGNED = "ASSIGNED"
+
+ #: A constant which can be used with the ip_state property of a PrivateIp.
+ #: This constant has a value of "AVAILABLE"
+ IP_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifetime property of a PrivateIp.
+ #: This constant has a value of "EPHEMERAL"
+ LIFETIME_EPHEMERAL = "EPHEMERAL"
+
+ #: A constant which can be used with the lifetime property of a PrivateIp.
+ #: This constant has a value of "RESERVED"
+ LIFETIME_RESERVED = "RESERVED"
+
def __init__(self, **kwargs):
"""
Initializes a new PrivateIp object with values from keyword arguments.
@@ -108,6 +124,18 @@ def __init__(self, **kwargs):
The value to assign to the vnic_id property of this PrivateIp.
:type vnic_id: str
+ :param ip_state:
+ The value to assign to the ip_state property of this PrivateIp.
+ Allowed values for this property are: "ASSIGNED", "AVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type ip_state: str
+
+ :param lifetime:
+ The value to assign to the lifetime property of this PrivateIp.
+ Allowed values for this property are: "EPHEMERAL", "RESERVED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifetime: str
+
:param route_table_id:
The value to assign to the route_table_id property of this PrivateIp.
:type route_table_id: str
@@ -127,6 +155,8 @@ def __init__(self, **kwargs):
'subnet_id': 'str',
'time_created': 'datetime',
'vnic_id': 'str',
+ 'ip_state': 'str',
+ 'lifetime': 'str',
'route_table_id': 'str'
}
@@ -144,6 +174,8 @@ def __init__(self, **kwargs):
'subnet_id': 'subnetId',
'time_created': 'timeCreated',
'vnic_id': 'vnicId',
+ 'ip_state': 'ipState',
+ 'lifetime': 'lifetime',
'route_table_id': 'routeTableId'
}
@@ -160,6 +192,8 @@ def __init__(self, **kwargs):
self._subnet_id = None
self._time_created = None
self._vnic_id = None
+ self._ip_state = None
+ self._lifetime = None
self._route_table_id = None
@property
@@ -594,13 +628,81 @@ def vnic_id(self, vnic_id):
"""
self._vnic_id = vnic_id
+ @property
+ def ip_state(self):
+ """
+ Gets the ip_state of this PrivateIp.
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
+
+ Allowed values for this property are: "ASSIGNED", "AVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The ip_state of this PrivateIp.
+ :rtype: str
+ """
+ return self._ip_state
+
+ @ip_state.setter
+ def ip_state(self, ip_state):
+ """
+ Sets the ip_state of this PrivateIp.
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED, otherwise it is AVAILABLE.
+
+
+ :param ip_state: The ip_state of this PrivateIp.
+ :type: str
+ """
+ allowed_values = ["ASSIGNED", "AVAILABLE"]
+ if not value_allowed_none_or_none_sentinel(ip_state, allowed_values):
+ ip_state = 'UNKNOWN_ENUM_VALUE'
+ self._ip_state = ip_state
+
+ @property
+ def lifetime(self):
+ """
+ Gets the lifetime of this PrivateIp.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+ Allowed values for this property are: "EPHEMERAL", "RESERVED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifetime of this PrivateIp.
+ :rtype: str
+ """
+ return self._lifetime
+
+ @lifetime.setter
+ def lifetime(self, lifetime):
+ """
+ Sets the lifetime of this PrivateIp.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+
+ :param lifetime: The lifetime of this PrivateIp.
+ :type: str
+ """
+ allowed_values = ["EPHEMERAL", "RESERVED"]
+ if not value_allowed_none_or_none_sentinel(lifetime, allowed_values):
+ lifetime = 'UNKNOWN_ENUM_VALUE'
+ self._lifetime = lifetime
+
@property
def route_table_id(self):
"""
Gets the route_table_id of this PrivateIp.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this PrivateIp.
@@ -612,9 +714,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this PrivateIp.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this PrivateIp.
diff --git a/src/oci/core/models/update_byoip_range_details.py b/src/oci/core/models/update_byoip_range_details.py
index c3c9d28c9a..363bf9fcb4 100644
--- a/src/oci/core/models/update_byoip_range_details.py
+++ b/src/oci/core/models/update_byoip_range_details.py
@@ -32,22 +32,36 @@ def __init__(self, **kwargs):
The value to assign to the freeform_tags property of this UpdateByoipRangeDetails.
:type freeform_tags: dict(str, str)
+ :param ip_anycast_id:
+ The value to assign to the ip_anycast_id property of this UpdateByoipRangeDetails.
+ :type ip_anycast_id: str
+
+ :param monitor_ip:
+ The value to assign to the monitor_ip property of this UpdateByoipRangeDetails.
+ :type monitor_ip: str
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
- 'freeform_tags': 'dict(str, str)'
+ 'freeform_tags': 'dict(str, str)',
+ 'ip_anycast_id': 'str',
+ 'monitor_ip': 'str'
}
self.attribute_map = {
'defined_tags': 'definedTags',
'display_name': 'displayName',
- 'freeform_tags': 'freeformTags'
+ 'freeform_tags': 'freeformTags',
+ 'ip_anycast_id': 'ipAnycastId',
+ 'monitor_ip': 'monitorIp'
}
self._defined_tags = None
self._display_name = None
self._freeform_tags = None
+ self._ip_anycast_id = None
+ self._monitor_ip = None
@property
def defined_tags(self):
@@ -143,6 +157,58 @@ def freeform_tags(self, freeform_tags):
"""
self._freeform_tags = freeform_tags
+ @property
+ def ip_anycast_id(self):
+ """
+ Gets the ip_anycast_id of this UpdateByoipRangeDetails.
+ The `OCID`__ of the `IpAnycast` resource.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The ip_anycast_id of this UpdateByoipRangeDetails.
+ :rtype: str
+ """
+ return self._ip_anycast_id
+
+ @ip_anycast_id.setter
+ def ip_anycast_id(self, ip_anycast_id):
+ """
+ Sets the ip_anycast_id of this UpdateByoipRangeDetails.
+ The `OCID`__ of the `IpAnycast` resource.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param ip_anycast_id: The ip_anycast_id of this UpdateByoipRangeDetails.
+ :type: str
+ """
+ self._ip_anycast_id = ip_anycast_id
+
+ @property
+ def monitor_ip(self):
+ """
+ Gets the monitor_ip of this UpdateByoipRangeDetails.
+ The IP address of the CIDR for Prefix Monitoring.
+
+
+ :return: The monitor_ip of this UpdateByoipRangeDetails.
+ :rtype: str
+ """
+ return self._monitor_ip
+
+ @monitor_ip.setter
+ def monitor_ip(self, monitor_ip):
+ """
+ Sets the monitor_ip of this UpdateByoipRangeDetails.
+ The IP address of the CIDR for Prefix Monitoring.
+
+
+ :param monitor_ip: The monitor_ip of this UpdateByoipRangeDetails.
+ :type: str
+ """
+ self._monitor_ip = monitor_ip
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_ipv6_details.py b/src/oci/core/models/update_ipv6_details.py
index b12f975c33..336ab673f9 100644
--- a/src/oci/core/models/update_ipv6_details.py
+++ b/src/oci/core/models/update_ipv6_details.py
@@ -15,6 +15,14 @@ class UpdateIpv6Details(object):
UpdateIpv6Details model.
"""
+ #: A constant which can be used with the lifetime property of a UpdateIpv6Details.
+ #: This constant has a value of "EPHEMERAL"
+ LIFETIME_EPHEMERAL = "EPHEMERAL"
+
+ #: A constant which can be used with the lifetime property of a UpdateIpv6Details.
+ #: This constant has a value of "RESERVED"
+ LIFETIME_RESERVED = "RESERVED"
+
def __init__(self, **kwargs):
"""
Initializes a new UpdateIpv6Details object with values from keyword arguments.
@@ -40,13 +48,19 @@ def __init__(self, **kwargs):
The value to assign to the route_table_id property of this UpdateIpv6Details.
:type route_table_id: str
+ :param lifetime:
+ The value to assign to the lifetime property of this UpdateIpv6Details.
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+ :type lifetime: str
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
'vnic_id': 'str',
- 'route_table_id': 'str'
+ 'route_table_id': 'str',
+ 'lifetime': 'str'
}
self.attribute_map = {
@@ -54,7 +68,8 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
'vnic_id': 'vnicId',
- 'route_table_id': 'routeTableId'
+ 'route_table_id': 'routeTableId',
+ 'lifetime': 'lifetime'
}
self._defined_tags = None
@@ -62,6 +77,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._vnic_id = None
self._route_table_id = None
+ self._lifetime = None
@property
def defined_tags(self):
@@ -191,9 +207,11 @@ def vnic_id(self, vnic_id):
def route_table_id(self):
"""
Gets the route_table_id of this UpdateIpv6Details.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this UpdateIpv6Details.
@@ -205,9 +223,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this UpdateIpv6Details.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this UpdateIpv6Details.
@@ -215,6 +235,43 @@ def route_table_id(self, route_table_id):
"""
self._route_table_id = route_table_id
+ @property
+ def lifetime(self):
+ """
+ Gets the lifetime of this UpdateIpv6Details.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+
+
+ :return: The lifetime of this UpdateIpv6Details.
+ :rtype: str
+ """
+ return self._lifetime
+
+ @lifetime.setter
+ def lifetime(self, lifetime):
+ """
+ Sets the lifetime of this UpdateIpv6Details.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+
+ :param lifetime: The lifetime of this UpdateIpv6Details.
+ :type: str
+ """
+ allowed_values = ["EPHEMERAL", "RESERVED"]
+ if not value_allowed_none_or_none_sentinel(lifetime, allowed_values):
+ raise ValueError(
+ f"Invalid value for `lifetime`, must be None or one of {allowed_values}"
+ )
+ self._lifetime = lifetime
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_private_ip_details.py b/src/oci/core/models/update_private_ip_details.py
index 5db5111d16..6a0831df53 100644
--- a/src/oci/core/models/update_private_ip_details.py
+++ b/src/oci/core/models/update_private_ip_details.py
@@ -15,6 +15,14 @@ class UpdatePrivateIpDetails(object):
UpdatePrivateIpDetails model.
"""
+ #: A constant which can be used with the lifetime property of a UpdatePrivateIpDetails.
+ #: This constant has a value of "EPHEMERAL"
+ LIFETIME_EPHEMERAL = "EPHEMERAL"
+
+ #: A constant which can be used with the lifetime property of a UpdatePrivateIpDetails.
+ #: This constant has a value of "RESERVED"
+ LIFETIME_RESERVED = "RESERVED"
+
def __init__(self, **kwargs):
"""
Initializes a new UpdatePrivateIpDetails object with values from keyword arguments.
@@ -40,6 +48,11 @@ def __init__(self, **kwargs):
The value to assign to the vnic_id property of this UpdatePrivateIpDetails.
:type vnic_id: str
+ :param lifetime:
+ The value to assign to the lifetime property of this UpdatePrivateIpDetails.
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+ :type lifetime: str
+
:param route_table_id:
The value to assign to the route_table_id property of this UpdatePrivateIpDetails.
:type route_table_id: str
@@ -51,6 +64,7 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'hostname_label': 'str',
'vnic_id': 'str',
+ 'lifetime': 'str',
'route_table_id': 'str'
}
@@ -60,6 +74,7 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'hostname_label': 'hostnameLabel',
'vnic_id': 'vnicId',
+ 'lifetime': 'lifetime',
'route_table_id': 'routeTableId'
}
@@ -68,6 +83,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._hostname_label = None
self._vnic_id = None
+ self._lifetime = None
self._route_table_id = None
@property
@@ -246,13 +262,52 @@ def vnic_id(self, vnic_id):
"""
self._vnic_id = vnic_id
+ @property
+ def lifetime(self):
+ """
+ Gets the lifetime of this UpdatePrivateIpDetails.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+ Allowed values for this property are: "EPHEMERAL", "RESERVED"
+
+
+ :return: The lifetime of this UpdatePrivateIpDetails.
+ :rtype: str
+ """
+ return self._lifetime
+
+ @lifetime.setter
+ def lifetime(self, lifetime):
+ """
+ Sets the lifetime of this UpdatePrivateIpDetails.
+ Lifetime of the IP address.
+ There are two types of IPv6 IPs:
+ - Ephemeral
+ - Reserved
+
+
+ :param lifetime: The lifetime of this UpdatePrivateIpDetails.
+ :type: str
+ """
+ allowed_values = ["EPHEMERAL", "RESERVED"]
+ if not value_allowed_none_or_none_sentinel(lifetime, allowed_values):
+ raise ValueError(
+ f"Invalid value for `lifetime`, must be None or one of {allowed_values}"
+ )
+ self._lifetime = lifetime
+
@property
def route_table_id(self):
"""
Gets the route_table_id of this UpdatePrivateIpDetails.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this UpdatePrivateIpDetails.
@@ -264,9 +319,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this UpdatePrivateIpDetails.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this UpdatePrivateIpDetails.
diff --git a/src/oci/core/models/update_vnic_details.py b/src/oci/core/models/update_vnic_details.py
index 591b81c1fe..18f1969136 100644
--- a/src/oci/core/models/update_vnic_details.py
+++ b/src/oci/core/models/update_vnic_details.py
@@ -226,7 +226,7 @@ def hostname_label(self):
Must be unique across all VNICs in the subnet and comply with
`RFC 952`__ and
`RFC 1123`__.
- The value appears in the `:class:`Vnic`` object and also the
+ The value appears in the :class:`Vnic` object and also the
:class:`PrivateIp` object returned by
:func:`list_private_ips` and
:func:`get_private_ip`.
@@ -254,7 +254,7 @@ def hostname_label(self, hostname_label):
Must be unique across all VNICs in the subnet and comply with
`RFC 952`__ and
`RFC 1123`__.
- The value appears in the `:class:`Vnic`` object and also the
+ The value appears in the :class:`Vnic` object and also the
:class:`PrivateIp` object returned by
:func:`list_private_ips` and
:func:`get_private_ip`.
@@ -360,9 +360,11 @@ def skip_source_dest_check(self, skip_source_dest_check):
def route_table_id(self):
"""
Gets the route_table_id of this UpdateVnicDetails.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this UpdateVnicDetails.
@@ -374,9 +376,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this UpdateVnicDetails.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this UpdateVnicDetails.
diff --git a/src/oci/core/models/vnic.py b/src/oci/core/models/vnic.py
index ff4f6ff180..b931f3f861 100644
--- a/src/oci/core/models/vnic.py
+++ b/src/oci/core/models/vnic.py
@@ -834,9 +834,11 @@ def ipv6_addresses(self, ipv6_addresses):
def route_table_id(self):
"""
Gets the route_table_id of this Vnic.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:return: The route_table_id of this Vnic.
@@ -848,9 +850,11 @@ def route_table_id(self):
def route_table_id(self, route_table_id):
"""
Sets the route_table_id of this Vnic.
- The `OCID`__ of the route table the PrivateIp will use.
+ The `OCID`__ of the route table the IP address or VNIC will use. For more information, see
+ `Source Based Routing`__.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ __ https://docs.oracle.com/iaas/Content/Network/Tasks/managingroutetables.htm#Overview_of_Routing_for_Your_VCN__source_routing
:param route_table_id: The route_table_id of this Vnic.
diff --git a/src/oci/core/virtual_network_client.py b/src/oci/core/virtual_network_client.py
index 1660aacf87..f58271d19b 100644
--- a/src/oci/core/virtual_network_client.py
+++ b/src/oci/core/virtual_network_client.py
@@ -16365,6 +16365,124 @@ def get_vtap(self, vtap_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def ipv6_vnic_detach(self, ipv6_id, **kwargs):
+ """
+ Unassign the specified IPv6 address from Virtual Network Interface Card (VNIC). You must specify the IPv6 `OCID`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str ipv6_id: (required)
+ The `OCID`__ of the IPv6.
+
+ __ https://docs.cloud.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.
+ 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 will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.Ipv6`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use ipv6_vnic_detach API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['ipv6Id']
+ resource_path = "/ipv6/{ipv6Id}/actions/detach"
+ method = "POST"
+ operation_name = "ipv6_vnic_detach"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/Ipv6/Ipv6VnicDetach"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"ipv6_vnic_detach got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "ipv6Id": ipv6_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="Ipv6",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Ipv6",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def list_allowed_peer_regions_for_remote_peering(self, **kwargs):
"""
Lists the regions that support remote VCN peering (which is peering across regions).
@@ -20130,6 +20248,15 @@ def list_ipv6s(self, **kwargs):
:param str vnic_id: (optional)
The OCID of the VNIC.
+ :param str ip_state: (optional)
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise AVAILABLE
+
+ :param str lifetime: (optional)
+ Lifetime of the IP address.
+ There are two types of IPs:
+ - Ephemeral
+ - Reserved
+
: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.
@@ -20168,6 +20295,8 @@ def list_ipv6s(self, **kwargs):
"ip_address",
"subnet_id",
"vnic_id",
+ "ip_state",
+ "lifetime",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
@@ -20180,7 +20309,9 @@ def list_ipv6s(self, **kwargs):
"page": kwargs.get("page", missing),
"ipAddress": kwargs.get("ip_address", missing),
"subnetId": kwargs.get("subnet_id", missing),
- "vnicId": kwargs.get("vnic_id", missing)
+ "vnicId": kwargs.get("vnic_id", missing),
+ "ipState": kwargs.get("ip_state", missing),
+ "lifetime": kwargs.get("lifetime", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
@@ -21051,6 +21182,15 @@ def list_private_ips(self, **kwargs):
:param str vnic_id: (optional)
The OCID of the VNIC.
+ :param str ip_state: (optional)
+ State of the IP address. If an IP address is assigned to a VNIC it is ASSIGNED otherwise AVAILABLE
+
+ :param str lifetime: (optional)
+ Lifetime of the IP address.
+ There are two types of IPs:
+ - Ephemeral
+ - Reserved
+
:param str vlan_id: (optional)
The `OCID`__ of the VLAN.
@@ -21090,6 +21230,8 @@ def list_private_ips(self, **kwargs):
"ip_address",
"subnet_id",
"vnic_id",
+ "ip_state",
+ "lifetime",
"vlan_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
@@ -21103,6 +21245,8 @@ def list_private_ips(self, **kwargs):
"ipAddress": kwargs.get("ip_address", missing),
"subnetId": kwargs.get("subnet_id", missing),
"vnicId": kwargs.get("vnic_id", missing),
+ "ipState": kwargs.get("ip_state", missing),
+ "lifetime": kwargs.get("lifetime", missing),
"vlanId": kwargs.get("vlan_id", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
@@ -23563,6 +23707,124 @@ def modify_vcn_cidr(self, vcn_id, modify_vcn_cidr_details, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def private_ip_vnic_detach(self, private_ip_id, **kwargs):
+ """
+ Unassign the specified PrivateIP address from Virtual Network Interface Card (VNIC). You must specify the PrivateIP `OCID`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str private_ip_id: (required)
+ The `OCID`__ of the private IP or IPv6.
+
+ __ https://docs.cloud.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.
+ 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 will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.PrivateIp`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use private_ip_vnic_detach API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['privateIpId']
+ resource_path = "/privateIps/{privateIpId}/actions/detach"
+ method = "POST"
+ operation_name = "private_ip_vnic_detach"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/PrivateIp/PrivateIpVnicDetach"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"private_ip_vnic_detach got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "privateIpId": private_ip_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="PrivateIp",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="PrivateIp",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def remove_drg_route_distribution_statements(self, drg_route_distribution_id, remove_drg_route_distribution_statements_details, **kwargs):
"""
Removes one or more route distribution statements from the specified route distribution's map.
diff --git a/src/oci/core/virtual_network_client_composite_operations.py b/src/oci/core/virtual_network_client_composite_operations.py
index 9c202169b0..51613475a7 100644
--- a/src/oci/core/virtual_network_client_composite_operations.py
+++ b/src/oci/core/virtual_network_client_composite_operations.py
@@ -3312,6 +3312,50 @@ def get_vcn_overlap_and_wait_for_work_request(self, vcn_id, get_vcn_overlap_deta
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def ipv6_vnic_detach_and_wait_for_state(self, ipv6_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.core.VirtualNetworkClient.ipv6_vnic_detach` and waits for the :py:class:`~oci.core.models.Ipv6` acted upon
+ to enter the given state(s).
+
+ :param str ipv6_id: (required)
+ The `OCID`__ of the IPv6.
+
+ __ https://docs.cloud.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.Ipv6.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.VirtualNetworkClient.ipv6_vnic_detach`
+
+ :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.ipv6_vnic_detach(ipv6_id, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ ipv6_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_ipv6(ipv6_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 list_ip_inventory_and_wait_for_work_request(self, list_ip_inventory_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.core.VirtualNetworkClient.list_ip_inventory` and waits for the oci.work_requests.models.WorkRequest
diff --git a/src/oci/data_science/models/__init__.py b/src/oci/data_science/models/__init__.py
index bc0079209b..a9dd0c3248 100644
--- a/src/oci/data_science/models/__init__.py
+++ b/src/oci/data_science/models/__init__.py
@@ -108,6 +108,10 @@
from .pipeline_custom_script_step_details import PipelineCustomScriptStepDetails
from .pipeline_custom_script_step_run import PipelineCustomScriptStepRun
from .pipeline_custom_script_step_update_details import PipelineCustomScriptStepUpdateDetails
+from .pipeline_dataflow_configuration_details import PipelineDataflowConfigurationDetails
+from .pipeline_dataflow_step_details import PipelineDataflowStepDetails
+from .pipeline_dataflow_step_run import PipelineDataflowStepRun
+from .pipeline_dataflow_step_update_details import PipelineDataflowStepUpdateDetails
from .pipeline_default_configuration_details import PipelineDefaultConfigurationDetails
from .pipeline_infrastructure_configuration_details import PipelineInfrastructureConfigurationDetails
from .pipeline_log_configuration_details import PipelineLogConfigurationDetails
@@ -280,6 +284,10 @@
"PipelineCustomScriptStepDetails": PipelineCustomScriptStepDetails,
"PipelineCustomScriptStepRun": PipelineCustomScriptStepRun,
"PipelineCustomScriptStepUpdateDetails": PipelineCustomScriptStepUpdateDetails,
+ "PipelineDataflowConfigurationDetails": PipelineDataflowConfigurationDetails,
+ "PipelineDataflowStepDetails": PipelineDataflowStepDetails,
+ "PipelineDataflowStepRun": PipelineDataflowStepRun,
+ "PipelineDataflowStepUpdateDetails": PipelineDataflowStepUpdateDetails,
"PipelineDefaultConfigurationDetails": PipelineDefaultConfigurationDetails,
"PipelineInfrastructureConfigurationDetails": PipelineInfrastructureConfigurationDetails,
"PipelineLogConfigurationDetails": PipelineLogConfigurationDetails,
diff --git a/src/oci/data_science/models/create_pipeline_details.py b/src/oci/data_science/models/create_pipeline_details.py
index 9d85438d3d..7897e2ecf7 100644
--- a/src/oci/data_science/models/create_pipeline_details.py
+++ b/src/oci/data_science/models/create_pipeline_details.py
@@ -48,6 +48,10 @@ def __init__(self, **kwargs):
The value to assign to the infrastructure_configuration_details property of this CreatePipelineDetails.
:type infrastructure_configuration_details: oci.data_science.models.PipelineInfrastructureConfigurationDetails
+ :param storage_mount_configuration_details_list:
+ The value to assign to the storage_mount_configuration_details_list property of this CreatePipelineDetails.
+ :type storage_mount_configuration_details_list: list[oci.data_science.models.StorageMountConfigurationDetails]
+
:param step_details:
The value to assign to the step_details property of this CreatePipelineDetails.
:type step_details: list[oci.data_science.models.PipelineStepDetails]
@@ -69,6 +73,7 @@ def __init__(self, **kwargs):
'configuration_details': 'PipelineConfigurationDetails',
'log_configuration_details': 'PipelineLogConfigurationDetails',
'infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails',
+ 'storage_mount_configuration_details_list': 'list[StorageMountConfigurationDetails]',
'step_details': 'list[PipelineStepDetails]',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))'
@@ -82,6 +87,7 @@ def __init__(self, **kwargs):
'configuration_details': 'configurationDetails',
'log_configuration_details': 'logConfigurationDetails',
'infrastructure_configuration_details': 'infrastructureConfigurationDetails',
+ 'storage_mount_configuration_details_list': 'storageMountConfigurationDetailsList',
'step_details': 'stepDetails',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
@@ -94,6 +100,7 @@ def __init__(self, **kwargs):
self._configuration_details = None
self._log_configuration_details = None
self._infrastructure_configuration_details = None
+ self._storage_mount_configuration_details_list = None
self._step_details = None
self._freeform_tags = None
self._defined_tags = None
@@ -262,6 +269,30 @@ def infrastructure_configuration_details(self, infrastructure_configuration_deta
"""
self._infrastructure_configuration_details = infrastructure_configuration_details
+ @property
+ def storage_mount_configuration_details_list(self):
+ """
+ Gets the storage_mount_configuration_details_list of this CreatePipelineDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :return: The storage_mount_configuration_details_list of this CreatePipelineDetails.
+ :rtype: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ return self._storage_mount_configuration_details_list
+
+ @storage_mount_configuration_details_list.setter
+ def storage_mount_configuration_details_list(self, storage_mount_configuration_details_list):
+ """
+ Sets the storage_mount_configuration_details_list of this CreatePipelineDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :param storage_mount_configuration_details_list: The storage_mount_configuration_details_list of this CreatePipelineDetails.
+ :type: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ self._storage_mount_configuration_details_list = storage_mount_configuration_details_list
+
@property
def step_details(self):
"""
diff --git a/src/oci/data_science/models/pipeline.py b/src/oci/data_science/models/pipeline.py
index b9ae52e02a..46598bc07c 100644
--- a/src/oci/data_science/models/pipeline.py
+++ b/src/oci/data_science/models/pipeline.py
@@ -84,6 +84,10 @@ def __init__(self, **kwargs):
The value to assign to the infrastructure_configuration_details property of this Pipeline.
:type infrastructure_configuration_details: oci.data_science.models.PipelineInfrastructureConfigurationDetails
+ :param storage_mount_configuration_details_list:
+ The value to assign to the storage_mount_configuration_details_list property of this Pipeline.
+ :type storage_mount_configuration_details_list: list[oci.data_science.models.StorageMountConfigurationDetails]
+
:param step_details:
The value to assign to the step_details property of this Pipeline.
:type step_details: list[oci.data_science.models.PipelineStepDetails]
@@ -123,6 +127,7 @@ def __init__(self, **kwargs):
'configuration_details': 'PipelineConfigurationDetails',
'log_configuration_details': 'PipelineLogConfigurationDetails',
'infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails',
+ 'storage_mount_configuration_details_list': 'list[StorageMountConfigurationDetails]',
'step_details': 'list[PipelineStepDetails]',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
@@ -143,6 +148,7 @@ def __init__(self, **kwargs):
'configuration_details': 'configurationDetails',
'log_configuration_details': 'logConfigurationDetails',
'infrastructure_configuration_details': 'infrastructureConfigurationDetails',
+ 'storage_mount_configuration_details_list': 'storageMountConfigurationDetailsList',
'step_details': 'stepDetails',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
@@ -162,6 +168,7 @@ def __init__(self, **kwargs):
self._configuration_details = None
self._log_configuration_details = None
self._infrastructure_configuration_details = None
+ self._storage_mount_configuration_details_list = None
self._step_details = None
self._lifecycle_state = None
self._lifecycle_details = None
@@ -449,6 +456,30 @@ def infrastructure_configuration_details(self, infrastructure_configuration_deta
"""
self._infrastructure_configuration_details = infrastructure_configuration_details
+ @property
+ def storage_mount_configuration_details_list(self):
+ """
+ Gets the storage_mount_configuration_details_list of this Pipeline.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :return: The storage_mount_configuration_details_list of this Pipeline.
+ :rtype: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ return self._storage_mount_configuration_details_list
+
+ @storage_mount_configuration_details_list.setter
+ def storage_mount_configuration_details_list(self, storage_mount_configuration_details_list):
+ """
+ Sets the storage_mount_configuration_details_list of this Pipeline.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :param storage_mount_configuration_details_list: The storage_mount_configuration_details_list of this Pipeline.
+ :type: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ self._storage_mount_configuration_details_list = storage_mount_configuration_details_list
+
@property
def step_details(self):
"""
diff --git a/src/oci/data_science/models/pipeline_container_step_details.py b/src/oci/data_science/models/pipeline_container_step_details.py
index a0372085b7..4ed32af35f 100644
--- a/src/oci/data_science/models/pipeline_container_step_details.py
+++ b/src/oci/data_science/models/pipeline_container_step_details.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineContainerStepDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param step_name:
@@ -50,6 +50,10 @@ def __init__(self, **kwargs):
The value to assign to the step_container_configuration_details property of this PipelineContainerStepDetails.
:type step_container_configuration_details: oci.data_science.models.PipelineContainerConfigurationDetails
+ :param step_storage_mount_configuration_details_list:
+ The value to assign to the step_storage_mount_configuration_details_list property of this PipelineContainerStepDetails.
+ :type step_storage_mount_configuration_details_list: list[oci.data_science.models.StorageMountConfigurationDetails]
+
:param is_artifact_uploaded:
The value to assign to the is_artifact_uploaded property of this PipelineContainerStepDetails.
:type is_artifact_uploaded: bool
@@ -63,6 +67,7 @@ def __init__(self, **kwargs):
'step_configuration_details': 'PipelineStepConfigurationDetails',
'step_infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails',
'step_container_configuration_details': 'PipelineContainerConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'list[StorageMountConfigurationDetails]',
'is_artifact_uploaded': 'bool'
}
@@ -74,6 +79,7 @@ def __init__(self, **kwargs):
'step_configuration_details': 'stepConfigurationDetails',
'step_infrastructure_configuration_details': 'stepInfrastructureConfigurationDetails',
'step_container_configuration_details': 'stepContainerConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'stepStorageMountConfigurationDetailsList',
'is_artifact_uploaded': 'isArtifactUploaded'
}
@@ -84,6 +90,7 @@ def __init__(self, **kwargs):
self._step_configuration_details = None
self._step_infrastructure_configuration_details = None
self._step_container_configuration_details = None
+ self._step_storage_mount_configuration_details_list = None
self._is_artifact_uploaded = None
self._step_type = 'CONTAINER'
@@ -127,6 +134,30 @@ def step_container_configuration_details(self, step_container_configuration_deta
"""
self._step_container_configuration_details = step_container_configuration_details
+ @property
+ def step_storage_mount_configuration_details_list(self):
+ """
+ Gets the step_storage_mount_configuration_details_list of this PipelineContainerStepDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :return: The step_storage_mount_configuration_details_list of this PipelineContainerStepDetails.
+ :rtype: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ return self._step_storage_mount_configuration_details_list
+
+ @step_storage_mount_configuration_details_list.setter
+ def step_storage_mount_configuration_details_list(self, step_storage_mount_configuration_details_list):
+ """
+ Sets the step_storage_mount_configuration_details_list of this PipelineContainerStepDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :param step_storage_mount_configuration_details_list: The step_storage_mount_configuration_details_list of this PipelineContainerStepDetails.
+ :type: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ self._step_storage_mount_configuration_details_list = step_storage_mount_configuration_details_list
+
@property
def is_artifact_uploaded(self):
"""
diff --git a/src/oci/data_science/models/pipeline_container_step_run.py b/src/oci/data_science/models/pipeline_container_step_run.py
index 13cea92057..3f20bc1428 100644
--- a/src/oci/data_science/models/pipeline_container_step_run.py
+++ b/src/oci/data_science/models/pipeline_container_step_run.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineContainerStepRun.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param time_started:
diff --git a/src/oci/data_science/models/pipeline_container_step_update_details.py b/src/oci/data_science/models/pipeline_container_step_update_details.py
index 0c6609a4f3..8f1077ab71 100644
--- a/src/oci/data_science/models/pipeline_container_step_update_details.py
+++ b/src/oci/data_science/models/pipeline_container_step_update_details.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineContainerStepUpdateDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param step_name:
@@ -42,13 +42,18 @@ def __init__(self, **kwargs):
The value to assign to the step_infrastructure_configuration_details property of this PipelineContainerStepUpdateDetails.
:type step_infrastructure_configuration_details: oci.data_science.models.PipelineInfrastructureConfigurationDetails
+ :param step_storage_mount_configuration_details_list:
+ The value to assign to the step_storage_mount_configuration_details_list property of this PipelineContainerStepUpdateDetails.
+ :type step_storage_mount_configuration_details_list: list[oci.data_science.models.StorageMountConfigurationDetails]
+
"""
self.swagger_types = {
'step_type': 'str',
'step_name': 'str',
'description': 'str',
'step_configuration_details': 'PipelineStepConfigurationDetails',
- 'step_infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails'
+ 'step_infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'list[StorageMountConfigurationDetails]'
}
self.attribute_map = {
@@ -56,7 +61,8 @@ def __init__(self, **kwargs):
'step_name': 'stepName',
'description': 'description',
'step_configuration_details': 'stepConfigurationDetails',
- 'step_infrastructure_configuration_details': 'stepInfrastructureConfigurationDetails'
+ 'step_infrastructure_configuration_details': 'stepInfrastructureConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'stepStorageMountConfigurationDetailsList'
}
self._step_type = None
@@ -64,6 +70,7 @@ def __init__(self, **kwargs):
self._description = None
self._step_configuration_details = None
self._step_infrastructure_configuration_details = None
+ self._step_storage_mount_configuration_details_list = None
self._step_type = 'CONTAINER'
@property
@@ -86,6 +93,30 @@ def step_infrastructure_configuration_details(self, step_infrastructure_configur
"""
self._step_infrastructure_configuration_details = step_infrastructure_configuration_details
+ @property
+ def step_storage_mount_configuration_details_list(self):
+ """
+ Gets the step_storage_mount_configuration_details_list of this PipelineContainerStepUpdateDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :return: The step_storage_mount_configuration_details_list of this PipelineContainerStepUpdateDetails.
+ :rtype: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ return self._step_storage_mount_configuration_details_list
+
+ @step_storage_mount_configuration_details_list.setter
+ def step_storage_mount_configuration_details_list(self, step_storage_mount_configuration_details_list):
+ """
+ Sets the step_storage_mount_configuration_details_list of this PipelineContainerStepUpdateDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :param step_storage_mount_configuration_details_list: The step_storage_mount_configuration_details_list of this PipelineContainerStepUpdateDetails.
+ :type: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ self._step_storage_mount_configuration_details_list = step_storage_mount_configuration_details_list
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_science/models/pipeline_custom_script_step_details.py b/src/oci/data_science/models/pipeline_custom_script_step_details.py
index 72210405e4..3d7fb86490 100644
--- a/src/oci/data_science/models/pipeline_custom_script_step_details.py
+++ b/src/oci/data_science/models/pipeline_custom_script_step_details.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineCustomScriptStepDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param step_name:
@@ -46,6 +46,10 @@ def __init__(self, **kwargs):
The value to assign to the step_infrastructure_configuration_details property of this PipelineCustomScriptStepDetails.
:type step_infrastructure_configuration_details: oci.data_science.models.PipelineInfrastructureConfigurationDetails
+ :param step_storage_mount_configuration_details_list:
+ The value to assign to the step_storage_mount_configuration_details_list property of this PipelineCustomScriptStepDetails.
+ :type step_storage_mount_configuration_details_list: list[oci.data_science.models.StorageMountConfigurationDetails]
+
:param is_artifact_uploaded:
The value to assign to the is_artifact_uploaded property of this PipelineCustomScriptStepDetails.
:type is_artifact_uploaded: bool
@@ -58,6 +62,7 @@ def __init__(self, **kwargs):
'depends_on': 'list[str]',
'step_configuration_details': 'PipelineStepConfigurationDetails',
'step_infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'list[StorageMountConfigurationDetails]',
'is_artifact_uploaded': 'bool'
}
@@ -68,6 +73,7 @@ def __init__(self, **kwargs):
'depends_on': 'dependsOn',
'step_configuration_details': 'stepConfigurationDetails',
'step_infrastructure_configuration_details': 'stepInfrastructureConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'stepStorageMountConfigurationDetailsList',
'is_artifact_uploaded': 'isArtifactUploaded'
}
@@ -77,6 +83,7 @@ def __init__(self, **kwargs):
self._depends_on = None
self._step_configuration_details = None
self._step_infrastructure_configuration_details = None
+ self._step_storage_mount_configuration_details_list = None
self._is_artifact_uploaded = None
self._step_type = 'CUSTOM_SCRIPT'
@@ -100,6 +107,30 @@ def step_infrastructure_configuration_details(self, step_infrastructure_configur
"""
self._step_infrastructure_configuration_details = step_infrastructure_configuration_details
+ @property
+ def step_storage_mount_configuration_details_list(self):
+ """
+ Gets the step_storage_mount_configuration_details_list of this PipelineCustomScriptStepDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :return: The step_storage_mount_configuration_details_list of this PipelineCustomScriptStepDetails.
+ :rtype: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ return self._step_storage_mount_configuration_details_list
+
+ @step_storage_mount_configuration_details_list.setter
+ def step_storage_mount_configuration_details_list(self, step_storage_mount_configuration_details_list):
+ """
+ Sets the step_storage_mount_configuration_details_list of this PipelineCustomScriptStepDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :param step_storage_mount_configuration_details_list: The step_storage_mount_configuration_details_list of this PipelineCustomScriptStepDetails.
+ :type: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ self._step_storage_mount_configuration_details_list = step_storage_mount_configuration_details_list
+
@property
def is_artifact_uploaded(self):
"""
diff --git a/src/oci/data_science/models/pipeline_custom_script_step_run.py b/src/oci/data_science/models/pipeline_custom_script_step_run.py
index 2f224deac3..3c77ecfbc1 100644
--- a/src/oci/data_science/models/pipeline_custom_script_step_run.py
+++ b/src/oci/data_science/models/pipeline_custom_script_step_run.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineCustomScriptStepRun.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param time_started:
diff --git a/src/oci/data_science/models/pipeline_custom_script_step_update_details.py b/src/oci/data_science/models/pipeline_custom_script_step_update_details.py
index bc1786b6bf..b352ecfc56 100644
--- a/src/oci/data_science/models/pipeline_custom_script_step_update_details.py
+++ b/src/oci/data_science/models/pipeline_custom_script_step_update_details.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineCustomScriptStepUpdateDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param step_name:
@@ -42,13 +42,18 @@ def __init__(self, **kwargs):
The value to assign to the step_infrastructure_configuration_details property of this PipelineCustomScriptStepUpdateDetails.
:type step_infrastructure_configuration_details: oci.data_science.models.PipelineInfrastructureConfigurationDetails
+ :param step_storage_mount_configuration_details_list:
+ The value to assign to the step_storage_mount_configuration_details_list property of this PipelineCustomScriptStepUpdateDetails.
+ :type step_storage_mount_configuration_details_list: list[oci.data_science.models.StorageMountConfigurationDetails]
+
"""
self.swagger_types = {
'step_type': 'str',
'step_name': 'str',
'description': 'str',
'step_configuration_details': 'PipelineStepConfigurationDetails',
- 'step_infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails'
+ 'step_infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'list[StorageMountConfigurationDetails]'
}
self.attribute_map = {
@@ -56,7 +61,8 @@ def __init__(self, **kwargs):
'step_name': 'stepName',
'description': 'description',
'step_configuration_details': 'stepConfigurationDetails',
- 'step_infrastructure_configuration_details': 'stepInfrastructureConfigurationDetails'
+ 'step_infrastructure_configuration_details': 'stepInfrastructureConfigurationDetails',
+ 'step_storage_mount_configuration_details_list': 'stepStorageMountConfigurationDetailsList'
}
self._step_type = None
@@ -64,6 +70,7 @@ def __init__(self, **kwargs):
self._description = None
self._step_configuration_details = None
self._step_infrastructure_configuration_details = None
+ self._step_storage_mount_configuration_details_list = None
self._step_type = 'CUSTOM_SCRIPT'
@property
@@ -86,6 +93,30 @@ def step_infrastructure_configuration_details(self, step_infrastructure_configur
"""
self._step_infrastructure_configuration_details = step_infrastructure_configuration_details
+ @property
+ def step_storage_mount_configuration_details_list(self):
+ """
+ Gets the step_storage_mount_configuration_details_list of this PipelineCustomScriptStepUpdateDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :return: The step_storage_mount_configuration_details_list of this PipelineCustomScriptStepUpdateDetails.
+ :rtype: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ return self._step_storage_mount_configuration_details_list
+
+ @step_storage_mount_configuration_details_list.setter
+ def step_storage_mount_configuration_details_list(self, step_storage_mount_configuration_details_list):
+ """
+ Sets the step_storage_mount_configuration_details_list of this PipelineCustomScriptStepUpdateDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :param step_storage_mount_configuration_details_list: The step_storage_mount_configuration_details_list of this PipelineCustomScriptStepUpdateDetails.
+ :type: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ self._step_storage_mount_configuration_details_list = step_storage_mount_configuration_details_list
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_science/models/pipeline_dataflow_configuration_details.py b/src/oci/data_science/models/pipeline_dataflow_configuration_details.py
new file mode 100644
index 0000000000..afba8c16a6
--- /dev/null
+++ b/src/oci/data_science/models/pipeline_dataflow_configuration_details.py
@@ -0,0 +1,281 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20190101
+
+
+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 PipelineDataflowConfigurationDetails(object):
+ """
+ The configuration details of a Dataflow step.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PipelineDataflowConfigurationDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param configuration:
+ The value to assign to the configuration property of this PipelineDataflowConfigurationDetails.
+ :type configuration: object
+
+ :param driver_shape:
+ The value to assign to the driver_shape property of this PipelineDataflowConfigurationDetails.
+ :type driver_shape: str
+
+ :param driver_shape_config_details:
+ The value to assign to the driver_shape_config_details property of this PipelineDataflowConfigurationDetails.
+ :type driver_shape_config_details: oci.data_science.models.PipelineShapeConfigDetails
+
+ :param executor_shape:
+ The value to assign to the executor_shape property of this PipelineDataflowConfigurationDetails.
+ :type executor_shape: str
+
+ :param executor_shape_config_details:
+ The value to assign to the executor_shape_config_details property of this PipelineDataflowConfigurationDetails.
+ :type executor_shape_config_details: oci.data_science.models.PipelineShapeConfigDetails
+
+ :param num_executors:
+ The value to assign to the num_executors property of this PipelineDataflowConfigurationDetails.
+ :type num_executors: int
+
+ :param warehouse_bucket_uri:
+ The value to assign to the warehouse_bucket_uri property of this PipelineDataflowConfigurationDetails.
+ :type warehouse_bucket_uri: str
+
+ :param logs_bucket_uri:
+ The value to assign to the logs_bucket_uri property of this PipelineDataflowConfigurationDetails.
+ :type logs_bucket_uri: str
+
+ """
+ self.swagger_types = {
+ 'configuration': 'object',
+ 'driver_shape': 'str',
+ 'driver_shape_config_details': 'PipelineShapeConfigDetails',
+ 'executor_shape': 'str',
+ 'executor_shape_config_details': 'PipelineShapeConfigDetails',
+ 'num_executors': 'int',
+ 'warehouse_bucket_uri': 'str',
+ 'logs_bucket_uri': 'str'
+ }
+
+ self.attribute_map = {
+ 'configuration': 'configuration',
+ 'driver_shape': 'driverShape',
+ 'driver_shape_config_details': 'driverShapeConfigDetails',
+ 'executor_shape': 'executorShape',
+ 'executor_shape_config_details': 'executorShapeConfigDetails',
+ 'num_executors': 'numExecutors',
+ 'warehouse_bucket_uri': 'warehouseBucketUri',
+ 'logs_bucket_uri': 'logsBucketUri'
+ }
+
+ self._configuration = None
+ self._driver_shape = None
+ self._driver_shape_config_details = None
+ self._executor_shape = None
+ self._executor_shape_config_details = None
+ self._num_executors = None
+ self._warehouse_bucket_uri = None
+ self._logs_bucket_uri = None
+
+ @property
+ def configuration(self):
+ """
+ Gets the configuration of this PipelineDataflowConfigurationDetails.
+ The Spark configuration passed to the running process.
+
+
+ :return: The configuration of this PipelineDataflowConfigurationDetails.
+ :rtype: object
+ """
+ return self._configuration
+
+ @configuration.setter
+ def configuration(self, configuration):
+ """
+ Sets the configuration of this PipelineDataflowConfigurationDetails.
+ The Spark configuration passed to the running process.
+
+
+ :param configuration: The configuration of this PipelineDataflowConfigurationDetails.
+ :type: object
+ """
+ self._configuration = configuration
+
+ @property
+ def driver_shape(self):
+ """
+ Gets the driver_shape of this PipelineDataflowConfigurationDetails.
+ The VM shape for the driver.
+
+
+ :return: The driver_shape of this PipelineDataflowConfigurationDetails.
+ :rtype: str
+ """
+ return self._driver_shape
+
+ @driver_shape.setter
+ def driver_shape(self, driver_shape):
+ """
+ Sets the driver_shape of this PipelineDataflowConfigurationDetails.
+ The VM shape for the driver.
+
+
+ :param driver_shape: The driver_shape of this PipelineDataflowConfigurationDetails.
+ :type: str
+ """
+ self._driver_shape = driver_shape
+
+ @property
+ def driver_shape_config_details(self):
+ """
+ Gets the driver_shape_config_details of this PipelineDataflowConfigurationDetails.
+
+ :return: The driver_shape_config_details of this PipelineDataflowConfigurationDetails.
+ :rtype: oci.data_science.models.PipelineShapeConfigDetails
+ """
+ return self._driver_shape_config_details
+
+ @driver_shape_config_details.setter
+ def driver_shape_config_details(self, driver_shape_config_details):
+ """
+ Sets the driver_shape_config_details of this PipelineDataflowConfigurationDetails.
+
+ :param driver_shape_config_details: The driver_shape_config_details of this PipelineDataflowConfigurationDetails.
+ :type: oci.data_science.models.PipelineShapeConfigDetails
+ """
+ self._driver_shape_config_details = driver_shape_config_details
+
+ @property
+ def executor_shape(self):
+ """
+ Gets the executor_shape of this PipelineDataflowConfigurationDetails.
+ The VM shape for the executors.
+
+
+ :return: The executor_shape of this PipelineDataflowConfigurationDetails.
+ :rtype: str
+ """
+ return self._executor_shape
+
+ @executor_shape.setter
+ def executor_shape(self, executor_shape):
+ """
+ Sets the executor_shape of this PipelineDataflowConfigurationDetails.
+ The VM shape for the executors.
+
+
+ :param executor_shape: The executor_shape of this PipelineDataflowConfigurationDetails.
+ :type: str
+ """
+ self._executor_shape = executor_shape
+
+ @property
+ def executor_shape_config_details(self):
+ """
+ Gets the executor_shape_config_details of this PipelineDataflowConfigurationDetails.
+
+ :return: The executor_shape_config_details of this PipelineDataflowConfigurationDetails.
+ :rtype: oci.data_science.models.PipelineShapeConfigDetails
+ """
+ return self._executor_shape_config_details
+
+ @executor_shape_config_details.setter
+ def executor_shape_config_details(self, executor_shape_config_details):
+ """
+ Sets the executor_shape_config_details of this PipelineDataflowConfigurationDetails.
+
+ :param executor_shape_config_details: The executor_shape_config_details of this PipelineDataflowConfigurationDetails.
+ :type: oci.data_science.models.PipelineShapeConfigDetails
+ """
+ self._executor_shape_config_details = executor_shape_config_details
+
+ @property
+ def num_executors(self):
+ """
+ Gets the num_executors of this PipelineDataflowConfigurationDetails.
+ The number of executor VMs requested.
+
+
+ :return: The num_executors of this PipelineDataflowConfigurationDetails.
+ :rtype: int
+ """
+ return self._num_executors
+
+ @num_executors.setter
+ def num_executors(self, num_executors):
+ """
+ Sets the num_executors of this PipelineDataflowConfigurationDetails.
+ The number of executor VMs requested.
+
+
+ :param num_executors: The num_executors of this PipelineDataflowConfigurationDetails.
+ :type: int
+ """
+ self._num_executors = num_executors
+
+ @property
+ def warehouse_bucket_uri(self):
+ """
+ Gets the warehouse_bucket_uri of this PipelineDataflowConfigurationDetails.
+ An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs.
+
+
+ :return: The warehouse_bucket_uri of this PipelineDataflowConfigurationDetails.
+ :rtype: str
+ """
+ return self._warehouse_bucket_uri
+
+ @warehouse_bucket_uri.setter
+ def warehouse_bucket_uri(self, warehouse_bucket_uri):
+ """
+ Sets the warehouse_bucket_uri of this PipelineDataflowConfigurationDetails.
+ An Oracle Cloud Infrastructure URI of the bucket to be used as default warehouse directory for BATCH SQL runs.
+
+
+ :param warehouse_bucket_uri: The warehouse_bucket_uri of this PipelineDataflowConfigurationDetails.
+ :type: str
+ """
+ self._warehouse_bucket_uri = warehouse_bucket_uri
+
+ @property
+ def logs_bucket_uri(self):
+ """
+ Gets the logs_bucket_uri of this PipelineDataflowConfigurationDetails.
+ An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded.
+
+
+ :return: The logs_bucket_uri of this PipelineDataflowConfigurationDetails.
+ :rtype: str
+ """
+ return self._logs_bucket_uri
+
+ @logs_bucket_uri.setter
+ def logs_bucket_uri(self, logs_bucket_uri):
+ """
+ Sets the logs_bucket_uri of this PipelineDataflowConfigurationDetails.
+ An Oracle Cloud Infrastructure URI of the bucket where the Spark job logs are to be uploaded.
+
+
+ :param logs_bucket_uri: The logs_bucket_uri of this PipelineDataflowConfigurationDetails.
+ :type: str
+ """
+ self._logs_bucket_uri = logs_bucket_uri
+
+ 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_science/models/pipeline_dataflow_step_details.py b/src/oci/data_science/models/pipeline_dataflow_step_details.py
new file mode 100644
index 0000000000..2ad731fb42
--- /dev/null
+++ b/src/oci/data_science/models/pipeline_dataflow_step_details.py
@@ -0,0 +1,141 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20190101
+
+from .pipeline_step_details import PipelineStepDetails
+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 PipelineDataflowStepDetails(PipelineStepDetails):
+ """
+ The type of step where the dataflow application is pre-created by the user.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PipelineDataflowStepDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_science.models.PipelineDataflowStepDetails.step_type` attribute
+ of this class is ``DATAFLOW`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param step_type:
+ The value to assign to the step_type property of this PipelineDataflowStepDetails.
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
+ :type step_type: str
+
+ :param step_name:
+ The value to assign to the step_name property of this PipelineDataflowStepDetails.
+ :type step_name: str
+
+ :param description:
+ The value to assign to the description property of this PipelineDataflowStepDetails.
+ :type description: str
+
+ :param depends_on:
+ The value to assign to the depends_on property of this PipelineDataflowStepDetails.
+ :type depends_on: list[str]
+
+ :param step_configuration_details:
+ The value to assign to the step_configuration_details property of this PipelineDataflowStepDetails.
+ :type step_configuration_details: oci.data_science.models.PipelineStepConfigurationDetails
+
+ :param application_id:
+ The value to assign to the application_id property of this PipelineDataflowStepDetails.
+ :type application_id: str
+
+ :param step_dataflow_configuration_details:
+ The value to assign to the step_dataflow_configuration_details property of this PipelineDataflowStepDetails.
+ :type step_dataflow_configuration_details: oci.data_science.models.PipelineDataflowConfigurationDetails
+
+ """
+ self.swagger_types = {
+ 'step_type': 'str',
+ 'step_name': 'str',
+ 'description': 'str',
+ 'depends_on': 'list[str]',
+ 'step_configuration_details': 'PipelineStepConfigurationDetails',
+ 'application_id': 'str',
+ 'step_dataflow_configuration_details': 'PipelineDataflowConfigurationDetails'
+ }
+
+ self.attribute_map = {
+ 'step_type': 'stepType',
+ 'step_name': 'stepName',
+ 'description': 'description',
+ 'depends_on': 'dependsOn',
+ 'step_configuration_details': 'stepConfigurationDetails',
+ 'application_id': 'applicationId',
+ 'step_dataflow_configuration_details': 'stepDataflowConfigurationDetails'
+ }
+
+ self._step_type = None
+ self._step_name = None
+ self._description = None
+ self._depends_on = None
+ self._step_configuration_details = None
+ self._application_id = None
+ self._step_dataflow_configuration_details = None
+ self._step_type = 'DATAFLOW'
+
+ @property
+ def application_id(self):
+ """
+ **[Required]** Gets the application_id of this PipelineDataflowStepDetails.
+ The `OCID`__ of the dataflow application to be used as a step.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The application_id of this PipelineDataflowStepDetails.
+ :rtype: str
+ """
+ return self._application_id
+
+ @application_id.setter
+ def application_id(self, application_id):
+ """
+ Sets the application_id of this PipelineDataflowStepDetails.
+ The `OCID`__ of the dataflow application to be used as a step.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param application_id: The application_id of this PipelineDataflowStepDetails.
+ :type: str
+ """
+ self._application_id = application_id
+
+ @property
+ def step_dataflow_configuration_details(self):
+ """
+ Gets the step_dataflow_configuration_details of this PipelineDataflowStepDetails.
+
+ :return: The step_dataflow_configuration_details of this PipelineDataflowStepDetails.
+ :rtype: oci.data_science.models.PipelineDataflowConfigurationDetails
+ """
+ return self._step_dataflow_configuration_details
+
+ @step_dataflow_configuration_details.setter
+ def step_dataflow_configuration_details(self, step_dataflow_configuration_details):
+ """
+ Sets the step_dataflow_configuration_details of this PipelineDataflowStepDetails.
+
+ :param step_dataflow_configuration_details: The step_dataflow_configuration_details of this PipelineDataflowStepDetails.
+ :type: oci.data_science.models.PipelineDataflowConfigurationDetails
+ """
+ self._step_dataflow_configuration_details = step_dataflow_configuration_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/data_science/models/pipeline_dataflow_step_run.py b/src/oci/data_science/models/pipeline_dataflow_step_run.py
new file mode 100644
index 0000000000..ad12f2ee61
--- /dev/null
+++ b/src/oci/data_science/models/pipeline_dataflow_step_run.py
@@ -0,0 +1,122 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20190101
+
+from .pipeline_step_run import PipelineStepRun
+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 PipelineDataflowStepRun(PipelineStepRun):
+ """
+ Detail of each Dataflow Step Run.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PipelineDataflowStepRun object with values from keyword arguments. The default value of the :py:attr:`~oci.data_science.models.PipelineDataflowStepRun.step_type` attribute
+ of this class is ``DATAFLOW`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param step_type:
+ The value to assign to the step_type property of this PipelineDataflowStepRun.
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
+ :type step_type: str
+
+ :param time_started:
+ The value to assign to the time_started property of this PipelineDataflowStepRun.
+ :type time_started: datetime
+
+ :param time_finished:
+ The value to assign to the time_finished property of this PipelineDataflowStepRun.
+ :type time_finished: datetime
+
+ :param step_name:
+ The value to assign to the step_name property of this PipelineDataflowStepRun.
+ :type step_name: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this PipelineDataflowStepRun.
+ Allowed values for this property are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", "DELETED", "SKIPPED"
+ :type lifecycle_state: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this PipelineDataflowStepRun.
+ :type lifecycle_details: str
+
+ :param dataflow_run_id:
+ The value to assign to the dataflow_run_id property of this PipelineDataflowStepRun.
+ :type dataflow_run_id: str
+
+ """
+ self.swagger_types = {
+ 'step_type': 'str',
+ 'time_started': 'datetime',
+ 'time_finished': 'datetime',
+ 'step_name': 'str',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'dataflow_run_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'step_type': 'stepType',
+ 'time_started': 'timeStarted',
+ 'time_finished': 'timeFinished',
+ 'step_name': 'stepName',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'dataflow_run_id': 'dataflowRunId'
+ }
+
+ self._step_type = None
+ self._time_started = None
+ self._time_finished = None
+ self._step_name = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._dataflow_run_id = None
+ self._step_type = 'DATAFLOW'
+
+ @property
+ def dataflow_run_id(self):
+ """
+ Gets the dataflow_run_id of this PipelineDataflowStepRun.
+ The `OCID`__ of the dataflow run triggered for this step run.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The dataflow_run_id of this PipelineDataflowStepRun.
+ :rtype: str
+ """
+ return self._dataflow_run_id
+
+ @dataflow_run_id.setter
+ def dataflow_run_id(self, dataflow_run_id):
+ """
+ Sets the dataflow_run_id of this PipelineDataflowStepRun.
+ The `OCID`__ of the dataflow run triggered for this step run.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param dataflow_run_id: The dataflow_run_id of this PipelineDataflowStepRun.
+ :type: str
+ """
+ self._dataflow_run_id = dataflow_run_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/data_science/models/pipeline_dataflow_step_update_details.py b/src/oci/data_science/models/pipeline_dataflow_step_update_details.py
new file mode 100644
index 0000000000..40278dd76c
--- /dev/null
+++ b/src/oci/data_science/models/pipeline_dataflow_step_update_details.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20190101
+
+from .pipeline_step_update_details import PipelineStepUpdateDetails
+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 PipelineDataflowStepUpdateDetails(PipelineStepUpdateDetails):
+ """
+ The type of step where the dataflow application is pre-created by the user.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PipelineDataflowStepUpdateDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_science.models.PipelineDataflowStepUpdateDetails.step_type` attribute
+ of this class is ``DATAFLOW`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param step_type:
+ The value to assign to the step_type property of this PipelineDataflowStepUpdateDetails.
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
+ :type step_type: str
+
+ :param step_name:
+ The value to assign to the step_name property of this PipelineDataflowStepUpdateDetails.
+ :type step_name: str
+
+ :param description:
+ The value to assign to the description property of this PipelineDataflowStepUpdateDetails.
+ :type description: str
+
+ :param step_configuration_details:
+ The value to assign to the step_configuration_details property of this PipelineDataflowStepUpdateDetails.
+ :type step_configuration_details: oci.data_science.models.PipelineStepConfigurationDetails
+
+ :param step_dataflow_configuration_details:
+ The value to assign to the step_dataflow_configuration_details property of this PipelineDataflowStepUpdateDetails.
+ :type step_dataflow_configuration_details: oci.data_science.models.PipelineDataflowConfigurationDetails
+
+ """
+ self.swagger_types = {
+ 'step_type': 'str',
+ 'step_name': 'str',
+ 'description': 'str',
+ 'step_configuration_details': 'PipelineStepConfigurationDetails',
+ 'step_dataflow_configuration_details': 'PipelineDataflowConfigurationDetails'
+ }
+
+ self.attribute_map = {
+ 'step_type': 'stepType',
+ 'step_name': 'stepName',
+ 'description': 'description',
+ 'step_configuration_details': 'stepConfigurationDetails',
+ 'step_dataflow_configuration_details': 'stepDataflowConfigurationDetails'
+ }
+
+ self._step_type = None
+ self._step_name = None
+ self._description = None
+ self._step_configuration_details = None
+ self._step_dataflow_configuration_details = None
+ self._step_type = 'DATAFLOW'
+
+ @property
+ def step_dataflow_configuration_details(self):
+ """
+ Gets the step_dataflow_configuration_details of this PipelineDataflowStepUpdateDetails.
+
+ :return: The step_dataflow_configuration_details of this PipelineDataflowStepUpdateDetails.
+ :rtype: oci.data_science.models.PipelineDataflowConfigurationDetails
+ """
+ return self._step_dataflow_configuration_details
+
+ @step_dataflow_configuration_details.setter
+ def step_dataflow_configuration_details(self, step_dataflow_configuration_details):
+ """
+ Sets the step_dataflow_configuration_details of this PipelineDataflowStepUpdateDetails.
+
+ :param step_dataflow_configuration_details: The step_dataflow_configuration_details of this PipelineDataflowStepUpdateDetails.
+ :type: oci.data_science.models.PipelineDataflowConfigurationDetails
+ """
+ self._step_dataflow_configuration_details = step_dataflow_configuration_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/data_science/models/pipeline_ml_job_step_details.py b/src/oci/data_science/models/pipeline_ml_job_step_details.py
index a905101cf7..0d41980e30 100644
--- a/src/oci/data_science/models/pipeline_ml_job_step_details.py
+++ b/src/oci/data_science/models/pipeline_ml_job_step_details.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineMLJobStepDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param step_name:
diff --git a/src/oci/data_science/models/pipeline_ml_job_step_run.py b/src/oci/data_science/models/pipeline_ml_job_step_run.py
index 87449db4a5..972c94dcda 100644
--- a/src/oci/data_science/models/pipeline_ml_job_step_run.py
+++ b/src/oci/data_science/models/pipeline_ml_job_step_run.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineMLJobStepRun.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param time_started:
diff --git a/src/oci/data_science/models/pipeline_ml_job_step_update_details.py b/src/oci/data_science/models/pipeline_ml_job_step_update_details.py
index 485599638c..609c02e28f 100644
--- a/src/oci/data_science/models/pipeline_ml_job_step_update_details.py
+++ b/src/oci/data_science/models/pipeline_ml_job_step_update_details.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineMLJobStepUpdateDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param step_name:
diff --git a/src/oci/data_science/models/pipeline_step_details.py b/src/oci/data_science/models/pipeline_step_details.py
index 26c793b405..912120be31 100644
--- a/src/oci/data_science/models/pipeline_step_details.py
+++ b/src/oci/data_science/models/pipeline_step_details.py
@@ -27,6 +27,10 @@ class PipelineStepDetails(object):
#: This constant has a value of "CONTAINER"
STEP_TYPE_CONTAINER = "CONTAINER"
+ #: A constant which can be used with the step_type property of a PipelineStepDetails.
+ #: This constant has a value of "DATAFLOW"
+ STEP_TYPE_DATAFLOW = "DATAFLOW"
+
def __init__(self, **kwargs):
"""
Initializes a new PipelineStepDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
@@ -34,13 +38,14 @@ def __init__(self, **kwargs):
* :class:`~oci.data_science.models.PipelineContainerStepDetails`
* :class:`~oci.data_science.models.PipelineMLJobStepDetails`
+ * :class:`~oci.data_science.models.PipelineDataflowStepDetails`
* :class:`~oci.data_science.models.PipelineCustomScriptStepDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param step_type:
The value to assign to the step_type property of this PipelineStepDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type step_type: str
@@ -97,6 +102,9 @@ def get_subtype(object_dictionary):
if type == 'ML_JOB':
return 'PipelineMLJobStepDetails'
+ if type == 'DATAFLOW':
+ return 'PipelineDataflowStepDetails'
+
if type == 'CUSTOM_SCRIPT':
return 'PipelineCustomScriptStepDetails'
else:
@@ -108,7 +116,7 @@ def step_type(self):
**[Required]** Gets the step_type of this PipelineStepDetails.
The type of step.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -127,7 +135,7 @@ def step_type(self, step_type):
:param step_type: The step_type of this PipelineStepDetails.
:type: str
"""
- allowed_values = ["ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"]
+ allowed_values = ["ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"]
if not value_allowed_none_or_none_sentinel(step_type, allowed_values):
step_type = 'UNKNOWN_ENUM_VALUE'
self._step_type = step_type
diff --git a/src/oci/data_science/models/pipeline_step_override_details.py b/src/oci/data_science/models/pipeline_step_override_details.py
index ee02685c25..9dea76dcf4 100644
--- a/src/oci/data_science/models/pipeline_step_override_details.py
+++ b/src/oci/data_science/models/pipeline_step_override_details.py
@@ -32,22 +32,29 @@ def __init__(self, **kwargs):
The value to assign to the step_container_configuration_details property of this PipelineStepOverrideDetails.
:type step_container_configuration_details: oci.data_science.models.PipelineContainerConfigurationDetails
+ :param step_dataflow_configuration_details:
+ The value to assign to the step_dataflow_configuration_details property of this PipelineStepOverrideDetails.
+ :type step_dataflow_configuration_details: oci.data_science.models.PipelineDataflowConfigurationDetails
+
"""
self.swagger_types = {
'step_name': 'str',
'step_configuration_details': 'PipelineStepConfigurationDetails',
- 'step_container_configuration_details': 'PipelineContainerConfigurationDetails'
+ 'step_container_configuration_details': 'PipelineContainerConfigurationDetails',
+ 'step_dataflow_configuration_details': 'PipelineDataflowConfigurationDetails'
}
self.attribute_map = {
'step_name': 'stepName',
'step_configuration_details': 'stepConfigurationDetails',
- 'step_container_configuration_details': 'stepContainerConfigurationDetails'
+ 'step_container_configuration_details': 'stepContainerConfigurationDetails',
+ 'step_dataflow_configuration_details': 'stepDataflowConfigurationDetails'
}
self._step_name = None
self._step_configuration_details = None
self._step_container_configuration_details = None
+ self._step_dataflow_configuration_details = None
@property
def step_name(self):
@@ -113,6 +120,26 @@ def step_container_configuration_details(self, step_container_configuration_deta
"""
self._step_container_configuration_details = step_container_configuration_details
+ @property
+ def step_dataflow_configuration_details(self):
+ """
+ Gets the step_dataflow_configuration_details of this PipelineStepOverrideDetails.
+
+ :return: The step_dataflow_configuration_details of this PipelineStepOverrideDetails.
+ :rtype: oci.data_science.models.PipelineDataflowConfigurationDetails
+ """
+ return self._step_dataflow_configuration_details
+
+ @step_dataflow_configuration_details.setter
+ def step_dataflow_configuration_details(self, step_dataflow_configuration_details):
+ """
+ Sets the step_dataflow_configuration_details of this PipelineStepOverrideDetails.
+
+ :param step_dataflow_configuration_details: The step_dataflow_configuration_details of this PipelineStepOverrideDetails.
+ :type: oci.data_science.models.PipelineDataflowConfigurationDetails
+ """
+ self._step_dataflow_configuration_details = step_dataflow_configuration_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_science/models/pipeline_step_run.py b/src/oci/data_science/models/pipeline_step_run.py
index 109d637376..d4a849b8d0 100644
--- a/src/oci/data_science/models/pipeline_step_run.py
+++ b/src/oci/data_science/models/pipeline_step_run.py
@@ -27,6 +27,10 @@ class PipelineStepRun(object):
#: This constant has a value of "CONTAINER"
STEP_TYPE_CONTAINER = "CONTAINER"
+ #: A constant which can be used with the step_type property of a PipelineStepRun.
+ #: This constant has a value of "DATAFLOW"
+ STEP_TYPE_DATAFLOW = "DATAFLOW"
+
#: A constant which can be used with the lifecycle_state property of a PipelineStepRun.
#: This constant has a value of "WAITING"
LIFECYCLE_STATE_WAITING = "WAITING"
@@ -71,12 +75,13 @@ def __init__(self, **kwargs):
* :class:`~oci.data_science.models.PipelineContainerStepRun`
* :class:`~oci.data_science.models.PipelineCustomScriptStepRun`
* :class:`~oci.data_science.models.PipelineMLJobStepRun`
+ * :class:`~oci.data_science.models.PipelineDataflowStepRun`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param step_type:
The value to assign to the step_type property of this PipelineStepRun.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type step_type: str
@@ -144,6 +149,9 @@ def get_subtype(object_dictionary):
if type == 'ML_JOB':
return 'PipelineMLJobStepRun'
+
+ if type == 'DATAFLOW':
+ return 'PipelineDataflowStepRun'
else:
return 'PipelineStepRun'
@@ -153,7 +161,7 @@ def step_type(self):
**[Required]** Gets the step_type of this PipelineStepRun.
The type of step.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -172,7 +180,7 @@ def step_type(self, step_type):
:param step_type: The step_type of this PipelineStepRun.
:type: str
"""
- allowed_values = ["ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"]
+ allowed_values = ["ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"]
if not value_allowed_none_or_none_sentinel(step_type, allowed_values):
step_type = 'UNKNOWN_ENUM_VALUE'
self._step_type = step_type
diff --git a/src/oci/data_science/models/pipeline_step_update_details.py b/src/oci/data_science/models/pipeline_step_update_details.py
index 2bf5bffffe..d8eb5767b4 100644
--- a/src/oci/data_science/models/pipeline_step_update_details.py
+++ b/src/oci/data_science/models/pipeline_step_update_details.py
@@ -27,11 +27,16 @@ class PipelineStepUpdateDetails(object):
#: This constant has a value of "CONTAINER"
STEP_TYPE_CONTAINER = "CONTAINER"
+ #: A constant which can be used with the step_type property of a PipelineStepUpdateDetails.
+ #: This constant has a value of "DATAFLOW"
+ STEP_TYPE_DATAFLOW = "DATAFLOW"
+
def __init__(self, **kwargs):
"""
Initializes a new PipelineStepUpdateDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
to a service operations then you should favor using a subclass over the base class:
+ * :class:`~oci.data_science.models.PipelineDataflowStepUpdateDetails`
* :class:`~oci.data_science.models.PipelineMLJobStepUpdateDetails`
* :class:`~oci.data_science.models.PipelineCustomScriptStepUpdateDetails`
* :class:`~oci.data_science.models.PipelineContainerStepUpdateDetails`
@@ -40,7 +45,7 @@ def __init__(self, **kwargs):
:param step_type:
The value to assign to the step_type property of this PipelineStepUpdateDetails.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:type step_type: str
:param step_name:
@@ -83,6 +88,9 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['stepType']
+ if type == 'DATAFLOW':
+ return 'PipelineDataflowStepUpdateDetails'
+
if type == 'ML_JOB':
return 'PipelineMLJobStepUpdateDetails'
@@ -100,7 +108,7 @@ def step_type(self):
**[Required]** Gets the step_type of this PipelineStepUpdateDetails.
The type of step.
- Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"
+ Allowed values for this property are: "ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"
:return: The step_type of this PipelineStepUpdateDetails.
@@ -118,7 +126,7 @@ def step_type(self, step_type):
:param step_type: The step_type of this PipelineStepUpdateDetails.
:type: str
"""
- allowed_values = ["ML_JOB", "CUSTOM_SCRIPT", "CONTAINER"]
+ allowed_values = ["ML_JOB", "CUSTOM_SCRIPT", "CONTAINER", "DATAFLOW"]
if not value_allowed_none_or_none_sentinel(step_type, allowed_values):
raise ValueError(
f"Invalid value for `step_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/data_science/models/update_pipeline_details.py b/src/oci/data_science/models/update_pipeline_details.py
index 0a6dbcf538..3f13533b08 100644
--- a/src/oci/data_science/models/update_pipeline_details.py
+++ b/src/oci/data_science/models/update_pipeline_details.py
@@ -40,6 +40,10 @@ def __init__(self, **kwargs):
The value to assign to the log_configuration_details property of this UpdatePipelineDetails.
:type log_configuration_details: oci.data_science.models.PipelineLogConfigurationDetails
+ :param storage_mount_configuration_details_list:
+ The value to assign to the storage_mount_configuration_details_list property of this UpdatePipelineDetails.
+ :type storage_mount_configuration_details_list: list[oci.data_science.models.StorageMountConfigurationDetails]
+
:param step_details:
The value to assign to the step_details property of this UpdatePipelineDetails.
:type step_details: list[oci.data_science.models.PipelineStepUpdateDetails]
@@ -59,6 +63,7 @@ def __init__(self, **kwargs):
'configuration_details': 'PipelineConfigurationDetails',
'infrastructure_configuration_details': 'PipelineInfrastructureConfigurationDetails',
'log_configuration_details': 'PipelineLogConfigurationDetails',
+ 'storage_mount_configuration_details_list': 'list[StorageMountConfigurationDetails]',
'step_details': 'list[PipelineStepUpdateDetails]',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))'
@@ -70,6 +75,7 @@ def __init__(self, **kwargs):
'configuration_details': 'configurationDetails',
'infrastructure_configuration_details': 'infrastructureConfigurationDetails',
'log_configuration_details': 'logConfigurationDetails',
+ 'storage_mount_configuration_details_list': 'storageMountConfigurationDetailsList',
'step_details': 'stepDetails',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
@@ -80,6 +86,7 @@ def __init__(self, **kwargs):
self._configuration_details = None
self._infrastructure_configuration_details = None
self._log_configuration_details = None
+ self._storage_mount_configuration_details_list = None
self._step_details = None
self._freeform_tags = None
self._defined_tags = None
@@ -192,6 +199,30 @@ def log_configuration_details(self, log_configuration_details):
"""
self._log_configuration_details = log_configuration_details
+ @property
+ def storage_mount_configuration_details_list(self):
+ """
+ Gets the storage_mount_configuration_details_list of this UpdatePipelineDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :return: The storage_mount_configuration_details_list of this UpdatePipelineDetails.
+ :rtype: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ return self._storage_mount_configuration_details_list
+
+ @storage_mount_configuration_details_list.setter
+ def storage_mount_configuration_details_list(self, storage_mount_configuration_details_list):
+ """
+ Sets the storage_mount_configuration_details_list of this UpdatePipelineDetails.
+ The storage mount details to mount to the instance running the pipeline step.
+
+
+ :param storage_mount_configuration_details_list: The storage_mount_configuration_details_list of this UpdatePipelineDetails.
+ :type: list[oci.data_science.models.StorageMountConfigurationDetails]
+ """
+ self._storage_mount_configuration_details_list = storage_mount_configuration_details_list
+
@property
def step_details(self):
"""
diff --git a/src/oci/dblm/__init__.py b/src/oci/dblm/__init__.py
new file mode 100644
index 0000000000..f6f2439876
--- /dev/null
+++ b/src/oci/dblm/__init__.py
@@ -0,0 +1,14 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+from __future__ import absolute_import
+
+
+from .db_life_cycle_management_client import DbLifeCycleManagementClient
+from .db_life_cycle_management_client_composite_operations import DbLifeCycleManagementClientCompositeOperations
+from . import models
+
+__all__ = ["DbLifeCycleManagementClient", "DbLifeCycleManagementClientCompositeOperations", "models"]
diff --git a/src/oci/dblm/db_life_cycle_management_client.py b/src/oci/dblm/db_life_cycle_management_client.py
new file mode 100644
index 0000000000..34e03fab12
--- /dev/null
+++ b/src/oci/dblm/db_life_cycle_management_client.py
@@ -0,0 +1,1762 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+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 InvalidAlloyConfig
+from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
+from .models import dblm_type_mapping
+missing = Sentinel("Missing")
+
+
+class DbLifeCycleManagementClient(object):
+ """
+ A description of the Dblm API
+ """
+
+ 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.
+ """
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("dblm"):
+ raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config 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': '/20240102',
+ 'service_endpoint_template': 'https://dbmgmt.{region}.oci.{secondLevelDomain}',
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_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')
+ self.base_client = BaseClient("db_life_cycle_management", config, signer, dblm_type_mapping, **base_client_init_kwargs)
+ self.retry_strategy = kwargs.get('retry_strategy')
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
+
+ def create_vulnerability_scan(self, create_vulnerability_scan_details, **kwargs):
+ """
+ Creates a VulnerabilityScan.
+
+
+ :param oci.dblm.models.CreateVulnerabilityScanDetails create_vulnerability_scan_details: (required)
+ Details for the new VulnerabilityScan.
+
+ :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)
+ 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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.VulnerabilityScan`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_vulnerability_scan API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/vulnerabilityScans"
+ method = "POST"
+ operation_name = "create_vulnerability_scan"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "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_vulnerability_scan 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_vulnerability_scan_details,
+ response_type="VulnerabilityScan",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_vulnerability_scan_details,
+ response_type="VulnerabilityScan",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_vulnerability(self, compartment_id, **kwargs):
+ """
+ Gets a Vulnerability
+
+
+ :param str compartment_id: (required)
+ The required ID of the compartment in which to list resources.
+
+ :param str opc_request_id: (optional)
+ The client request ID for tracing.
+
+ :param str database_release: (optional)
+ A filter to return only database that match the given release version.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources their lifecycleState matches the given lifecycleState.
+
+ Allowed values are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"
+
+ :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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.DblmVulnerability`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vulnerability API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/vulnerability"
+ method = "GET"
+ operation_name = "get_vulnerability"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "database_release",
+ "lifecycle_state"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"get_vulnerability got unknown kwargs: {extra_kwargs!r}")
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"]
+ 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,
+ "databaseRelease": kwargs.get("database_release", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", 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="DblmVulnerability",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="DblmVulnerability",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_vulnerability_scan(self, vulnerability_scan_id, **kwargs):
+ """
+ Gets information about a VulnerabilityScan.
+
+
+ :param str vulnerability_scan_id: (required)
+ The `OCID`__ of the VulnerabilityScan.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.VulnerabilityScan`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vulnerability_scan API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vulnerabilityScanId']
+ resource_path = "/vulnerabilityScans/{vulnerabilityScanId}"
+ method = "GET"
+ operation_name = "get_vulnerability_scan"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "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_vulnerability_scan got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vulnerabilityScanId": vulnerability_scan_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="VulnerabilityScan",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="VulnerabilityScan",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_work_request(self, work_request_id, **kwargs):
+ """
+ Gets details of the work request with the given ID.
+
+
+ :param str work_request_id: (required)
+ The ID of the asynchronous request.
+
+ :param str opc_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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.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",
+ "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'),
+ 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'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_aggregated_vulnerability_data(self, **kwargs):
+ """
+ Gets an AggregatedVulnerabilityData
+
+
+ :param str opc_request_id: (optional)
+ The client request ID for tracing.
+
+ :param str compartment_id: (optional)
+ The ID of the compartment in which to list resources.
+
+ :param datetime time_created_greater_than: (optional)
+ The created greater than.
+
+ :param datetime time_ended_less_than: (optional)
+ The time ended less than.
+
+ :param str database_release: (optional)
+ A filter to return only database that match the given release version.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources their lifecycleState matches the given lifecycleState.
+
+ Allowed values are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
+
+ :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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.AggregatedVulnerabilityCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_aggregated_vulnerability_data API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/vulnerability/aggregatedVulnerabilityData"
+ method = "GET"
+ operation_name = "list_aggregated_vulnerability_data"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "compartment_id",
+ "time_created_greater_than",
+ "time_ended_less_than",
+ "database_release",
+ "lifecycle_state",
+ "limit",
+ "page"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_aggregated_vulnerability_data got unknown kwargs: {extra_kwargs!r}")
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"]
+ 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),
+ "timeCreatedGreaterThan": kwargs.get("time_created_greater_than", missing),
+ "timeEndedLessThan": kwargs.get("time_ended_less_than", missing),
+ "databaseRelease": kwargs.get("database_release", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", 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 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="AggregatedVulnerabilityCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="AggregatedVulnerabilityCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_notifications(self, compartment_id, **kwargs):
+ """
+ List of notifications
+
+
+ :param str compartment_id: (required)
+ The required ID of the compartment in which to list resources.
+
+ :param str opc_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.
+
+ 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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.NotificationCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_notifications API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/vulnerability/notifications"
+ method = "GET"
+ operation_name = "list_notifications"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "limit"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_notifications got unknown kwargs: {extra_kwargs!r}")
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy 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="NotificationCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="NotificationCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_vulnerabilities(self, **kwargs):
+ """
+ Gets the vulnerabilities summary list
+
+
+ :param str compartment_id: (optional)
+ The ID of the compartment in which to list resources.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given.
+
+ :param str sort_order: (optional)
+ The sort order to use, either 'ASC' or 'DESC'.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for vulnerableResources is descending. Default order for cveId is descending.
+
+ Allowed values are: "cveId", "vulnerableResources"
+
+ :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)
+ The client request ID for tracing.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources their lifecycleState matches the given lifecycleState.
+
+ Allowed values are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"
+
+ :param str database_release: (optional)
+ A filter to return only database that match the given release version.
+
+ :param str resource_id: (optional)
+ A filter to return only resources that match the given resource id.
+
+ :param list[str] severity_type: (optional)
+ Filter by one or more severity types.
+ Possible values are critical, high, medium, low, info.
+
+ Allowed values are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO"
+
+ :param str search_by: (optional)
+ The search input for filter cve id and cve description.
+
+ :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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.VulnerabilityCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_vulnerabilities API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/vulnerability/vulnerabilities"
+ method = "GET"
+ operation_name = "list_vulnerabilities"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "compartment_id",
+ "limit",
+ "page",
+ "display_name",
+ "sort_order",
+ "sort_by",
+ "opc_retry_token",
+ "opc_request_id",
+ "lifecycle_state",
+ "database_release",
+ "resource_id",
+ "severity_type",
+ "search_by"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_vulnerabilities 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 = ["cveId", "vulnerableResources"]
+ 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 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"]
+ 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 'severity_type' in kwargs:
+ severity_type_allowed_values = ["CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO"]
+ for severity_type_item in kwargs['severity_type']:
+ if severity_type_item not in severity_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `severity_type`, must be one of { severity_type_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": kwargs.get("compartment_id", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "databaseRelease": kwargs.get("database_release", missing),
+ "resourceId": kwargs.get("resource_id", missing),
+ "severityType": self.base_client.generate_collection_format_param(kwargs.get("severity_type", missing), 'multi'),
+ "searchBy": kwargs.get("search_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-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,
+ response_type="VulnerabilityCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="VulnerabilityCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_vulnerability_resources(self, compartment_id, **kwargs):
+ """
+ Lists the summary of vulnerable and clean resourcees
+
+
+ :param str compartment_id: (required)
+ The required ID of the compartment in which to list resources.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
+
+ :param str sort_order: (optional)
+ The sort order to use, either 'ASC' or 'DESC'.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
+
+ Allowed values are: "timeCreated", "displayName", "vulnerabilityCount"
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources their lifecycleState matches the given lifecycleState.
+
+ Allowed values are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"
+
+ :param str database_release: (optional)
+ A filter to return only database that match the given release version.
+
+ :param str cve_id: (optional)
+ The id of a CVE.
+
+ :param list[str] severity_type: (optional)
+ Filter by one or more severity types.
+ Possible values are critical, high, medium, low, info and none.
+
+ Allowed values are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO", "NONE"
+
+ :param list[str] patch_recommendation: (optional)
+ Filter by one or more severity types.
+ Possible values are upToDate, patchAvailable
+
+ Allowed values are: "upToDate", "patchAvailable"
+
+ :param str opc_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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.VulnerabilityResourceCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_vulnerability_resources API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/vulnerability/resources"
+ method = "GET"
+ operation_name = "list_vulnerability_resources"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "limit",
+ "page",
+ "sort_order",
+ "sort_by",
+ "display_name",
+ "lifecycle_state",
+ "database_release",
+ "cve_id",
+ "severity_type",
+ "patch_recommendation",
+ "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_vulnerability_resources 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 = ["timeCreated", "displayName", "vulnerabilityCount"]
+ 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 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"]
+ 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 'severity_type' in kwargs:
+ severity_type_allowed_values = ["CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO", "NONE"]
+ for severity_type_item in kwargs['severity_type']:
+ if severity_type_item not in severity_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `severity_type`, must be one of { severity_type_allowed_values }"
+ )
+
+ if 'patch_recommendation' in kwargs:
+ patch_recommendation_allowed_values = ["upToDate", "patchAvailable"]
+ for patch_recommendation_item in kwargs['patch_recommendation']:
+ if patch_recommendation_item not in patch_recommendation_allowed_values:
+ raise ValueError(
+ f"Invalid value for `patch_recommendation`, must be one of { patch_recommendation_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "databaseRelease": kwargs.get("database_release", missing),
+ "cveId": kwargs.get("cve_id", missing),
+ "severityType": self.base_client.generate_collection_format_param(kwargs.get("severity_type", missing), 'multi'),
+ "patchRecommendation": self.base_client.generate_collection_format_param(kwargs.get("patch_recommendation", 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 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="VulnerabilityResourceCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="VulnerabilityResourceCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_vulnerability_scans(self, **kwargs):
+ """
+ Gets a list of VulnerabilityScans.
+
+
+ :param str vulnerability_scan_id: (optional)
+ The ID of the vulnerability scan.
+
+ :param str compartment_id: (optional)
+ The ID of the compartment in which to list resources.
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
+
+ :param str sort_order: (optional)
+ The sort order to use, either 'ASC' or 'DESC'.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order is descending.
+
+ Allowed values are: "id", "displayName", "timeCreated", "timeEnded"
+
+ :param str opc_request_id: (optional)
+ The client request ID for tracing.
+
+ :param datetime time_created_greater_than: (optional)
+ The created greater than.
+
+ :param datetime time_ended_less_than: (optional)
+ The time ended less than.
+
+ :param list[str] vulnerability_scan_status: (optional)
+ Filter by one or more vulnerability scan status.
+ Possible values are completed, running, completed with error, aborted.
+
+ Allowed values are: "COMPLETED", "ERROR", "RUNNING", "ABORTED"
+
+ :param str vulnerability_scan_type: (optional)
+ The scan type to use is 'CVE', 'PATCH' or 'IMAGE_PATCH'.
+
+ Allowed values are: "CVE", "PATCH", "IMAGE_PATCH"
+
+ :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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.VulnerabilityScanCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_vulnerability_scans API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/vulnerabilityScans"
+ method = "GET"
+ operation_name = "list_vulnerability_scans"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "vulnerability_scan_id",
+ "compartment_id",
+ "display_name",
+ "limit",
+ "page",
+ "sort_order",
+ "sort_by",
+ "opc_request_id",
+ "time_created_greater_than",
+ "time_ended_less_than",
+ "vulnerability_scan_status",
+ "vulnerability_scan_type"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_vulnerability_scans 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 = ["id", "displayName", "timeCreated", "timeEnded"]
+ 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 'vulnerability_scan_status' in kwargs:
+ vulnerability_scan_status_allowed_values = ["COMPLETED", "ERROR", "RUNNING", "ABORTED"]
+ for vulnerability_scan_status_item in kwargs['vulnerability_scan_status']:
+ if vulnerability_scan_status_item not in vulnerability_scan_status_allowed_values:
+ raise ValueError(
+ f"Invalid value for `vulnerability_scan_status`, must be one of { vulnerability_scan_status_allowed_values }"
+ )
+
+ if 'vulnerability_scan_type' in kwargs:
+ vulnerability_scan_type_allowed_values = ["CVE", "PATCH", "IMAGE_PATCH"]
+ if kwargs['vulnerability_scan_type'] not in vulnerability_scan_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `vulnerability_scan_type`, must be one of { vulnerability_scan_type_allowed_values }"
+ )
+
+ query_params = {
+ "vulnerabilityScanId": kwargs.get("vulnerability_scan_id", missing),
+ "compartmentId": kwargs.get("compartment_id", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "timeCreatedGreaterThan": kwargs.get("time_created_greater_than", missing),
+ "timeEndedLessThan": kwargs.get("time_ended_less_than", missing),
+ "vulnerabilityScanStatus": self.base_client.generate_collection_format_param(kwargs.get("vulnerability_scan_status", missing), 'multi'),
+ "vulnerabilityScanType": kwargs.get("vulnerability_scan_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="VulnerabilityScanCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="VulnerabilityScanCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_work_request_errors(self, work_request_id, **kwargs):
+ """
+ Returns a (paginated) list of errors for the work request with the given ID.
+
+
+ :param str work_request_id: (required)
+ The ID of the asynchronous request.
+
+ :param str opc_request_id: (optional)
+ The client request ID for tracing.
+
+ :param str page: (optional)
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
+
+ Allowed values are: "timestamp"
+
+ :param str sort_order: (optional)
+ The sort order to use, 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 `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.WorkRequestErrorCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_work_request_errors API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['workRequestId']
+ resource_path = "/workRequests/{workRequestId}/errors"
+ method = "GET"
+ operation_name = "list_work_request_errors"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "page",
+ "limit",
+ "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"list_work_request_errors 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')
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["timestamp"]
+ 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 = {
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy 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="WorkRequestErrorCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="WorkRequestErrorCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_work_request_logs(self, work_request_id, **kwargs):
+ """
+ Returns a (paginated) list of logs for the work request with the given ID.
+
+
+ :param str work_request_id: (required)
+ The ID of the asynchronous request.
+
+ :param str opc_request_id: (optional)
+ The client request ID for tracing.
+
+ :param str page: (optional)
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for timestamp is descending.
+
+ Allowed values are: "timestamp"
+
+ :param str sort_order: (optional)
+ The sort order to use, 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 `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.WorkRequestLogEntryCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_work_request_logs API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['workRequestId']
+ resource_path = "/workRequests/{workRequestId}/logs"
+ method = "GET"
+ operation_name = "list_work_request_logs"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "page",
+ "limit",
+ "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"list_work_request_logs 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')
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["timestamp"]
+ 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 = {
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy 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="WorkRequestLogEntryCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="WorkRequestLogEntryCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_work_requests(self, **kwargs):
+ """
+ Lists the work requests in a compartment.
+
+
+ :param str compartment_id: (optional)
+ The ID of the compartment in which to list resources.
+
+ :param str work_request_id: (optional)
+ The ID of the asynchronous work request.
+
+ :param str status: (optional)
+ A filter to return only resources their lifecycleState matches the given OperationStatus.
+
+ Allowed values are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
+
+ :param str resource_id: (optional)
+ The ID of the resource affected by the work request.
+
+ :param str opc_request_id: (optional)
+ The client request ID for tracing.
+
+ :param str page: (optional)
+ A token representing the position at which to start retrieving results. This must come from the `opc-next-page` header field of a previous response.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str sort_order: (optional)
+ The sort order to use, either 'ASC' or 'DESC'.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for timeAccepted is descending.
+
+ Allowed values are: "timeAccepted"
+
+ :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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.WorkRequestSummaryCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ 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 = []
+ resource_path = "/workRequests"
+ method = "GET"
+ operation_name = "list_work_requests"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "compartment_id",
+ "work_request_id",
+ "status",
+ "resource_id",
+ "opc_request_id",
+ "page",
+ "limit",
+ "sort_order",
+ "sort_by"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_work_requests got unknown kwargs: {extra_kwargs!r}")
+
+ if 'status' in kwargs:
+ status_allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
+ if kwargs['status'] not in status_allowed_values:
+ raise ValueError(
+ f"Invalid value for `status`, must be one of { status_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 = ["timeAccepted"]
+ 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": kwargs.get("compartment_id", missing),
+ "workRequestId": kwargs.get("work_request_id", missing),
+ "status": kwargs.get("status", missing),
+ "resourceId": kwargs.get("resource_id", missing),
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy 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="WorkRequestSummaryCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="WorkRequestSummaryCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
diff --git a/src/oci/dblm/db_life_cycle_management_client_composite_operations.py b/src/oci/dblm/db_life_cycle_management_client_composite_operations.py
new file mode 100644
index 0000000000..adaba2b36d
--- /dev/null
+++ b/src/oci/dblm/db_life_cycle_management_client_composite_operations.py
@@ -0,0 +1,65 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+import oci # noqa: F401
+from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
+
+
+class DbLifeCycleManagementClientCompositeOperations(object):
+ """
+ This class provides a wrapper around :py:class:`~oci.dblm.DbLifeCycleManagementClient` and offers convenience methods
+ for operations that would otherwise need to be chained together. For example, instead of performing an action
+ on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
+ to enter a given state, you can call a single method in this class to accomplish the same functionality
+ """
+
+ def __init__(self, client, **kwargs):
+ """
+ Creates a new DbLifeCycleManagementClientCompositeOperations object
+
+ :param DbLifeCycleManagementClient client:
+ The service client which will be wrapped by this object
+ """
+ self.client = client
+
+ def create_vulnerability_scan_and_wait_for_state(self, create_vulnerability_scan_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.dblm.DbLifeCycleManagementClient.create_vulnerability_scan` and waits for the :py:class:`~oci.dblm.models.WorkRequest`
+ to enter the given state(s).
+
+ :param oci.dblm.models.CreateVulnerabilityScanDetails create_vulnerability_scan_details: (required)
+ Details for the new VulnerabilityScan.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.dblm.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.dblm.DbLifeCycleManagementClient.create_vulnerability_scan`
+
+ :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_vulnerability_scan(create_vulnerability_scan_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)
diff --git a/src/oci/dblm/models/__init__.py b/src/oci/dblm/models/__init__.py
new file mode 100644
index 0000000000..a841856458
--- /dev/null
+++ b/src/oci/dblm/models/__init__.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+from __future__ import absolute_import
+
+from .aggregated_vulnerability_collection import AggregatedVulnerabilityCollection
+from .aggregated_vulnerability_summary import AggregatedVulnerabilitySummary
+from .child_pdb import ChildPdb
+from .create_vulnerability_scan_details import CreateVulnerabilityScanDetails
+from .dblm_vulnerability import DblmVulnerability
+from .host_info import HostInfo
+from .metric_error import MetricError
+from .notification_collection import NotificationCollection
+from .notification_summary import NotificationSummary
+from .patch_recommendation_summary import PatchRecommendationSummary
+from .patch_recommendations_details_summary import PatchRecommendationsDetailsSummary
+from .resource_info import ResourceInfo
+from .resource_summary import ResourceSummary
+from .vulnerabilities_summary import VulnerabilitiesSummary
+from .vulnerability_collection import VulnerabilityCollection
+from .vulnerability_resource_collection import VulnerabilityResourceCollection
+from .vulnerability_resource_summary import VulnerabilityResourceSummary
+from .vulnerability_scan import VulnerabilityScan
+from .vulnerability_scan_collection import VulnerabilityScanCollection
+from .vulnerability_scan_summary import VulnerabilityScanSummary
+from .vulnerability_summary import VulnerabilitySummary
+from .work_request import WorkRequest
+from .work_request_error import WorkRequestError
+from .work_request_error_collection import WorkRequestErrorCollection
+from .work_request_log_entry import WorkRequestLogEntry
+from .work_request_log_entry_collection import WorkRequestLogEntryCollection
+from .work_request_resource import WorkRequestResource
+from .work_request_summary import WorkRequestSummary
+from .work_request_summary_collection import WorkRequestSummaryCollection
+
+# Maps type names to classes for dblm services.
+dblm_type_mapping = {
+ "AggregatedVulnerabilityCollection": AggregatedVulnerabilityCollection,
+ "AggregatedVulnerabilitySummary": AggregatedVulnerabilitySummary,
+ "ChildPdb": ChildPdb,
+ "CreateVulnerabilityScanDetails": CreateVulnerabilityScanDetails,
+ "DblmVulnerability": DblmVulnerability,
+ "HostInfo": HostInfo,
+ "MetricError": MetricError,
+ "NotificationCollection": NotificationCollection,
+ "NotificationSummary": NotificationSummary,
+ "PatchRecommendationSummary": PatchRecommendationSummary,
+ "PatchRecommendationsDetailsSummary": PatchRecommendationsDetailsSummary,
+ "ResourceInfo": ResourceInfo,
+ "ResourceSummary": ResourceSummary,
+ "VulnerabilitiesSummary": VulnerabilitiesSummary,
+ "VulnerabilityCollection": VulnerabilityCollection,
+ "VulnerabilityResourceCollection": VulnerabilityResourceCollection,
+ "VulnerabilityResourceSummary": VulnerabilityResourceSummary,
+ "VulnerabilityScan": VulnerabilityScan,
+ "VulnerabilityScanCollection": VulnerabilityScanCollection,
+ "VulnerabilityScanSummary": VulnerabilityScanSummary,
+ "VulnerabilitySummary": VulnerabilitySummary,
+ "WorkRequest": WorkRequest,
+ "WorkRequestError": WorkRequestError,
+ "WorkRequestErrorCollection": WorkRequestErrorCollection,
+ "WorkRequestLogEntry": WorkRequestLogEntry,
+ "WorkRequestLogEntryCollection": WorkRequestLogEntryCollection,
+ "WorkRequestResource": WorkRequestResource,
+ "WorkRequestSummary": WorkRequestSummary,
+ "WorkRequestSummaryCollection": WorkRequestSummaryCollection
+}
diff --git a/src/oci/dblm/models/aggregated_vulnerability_collection.py b/src/oci/dblm/models/aggregated_vulnerability_collection.py
new file mode 100644
index 0000000000..5a94753d54
--- /dev/null
+++ b/src/oci/dblm/models/aggregated_vulnerability_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 AggregatedVulnerabilityCollection(object):
+ """
+ The aggregated vulnerability data.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AggregatedVulnerabilityCollection 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 AggregatedVulnerabilityCollection.
+ :type items: list[oci.dblm.models.AggregatedVulnerabilitySummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[AggregatedVulnerabilitySummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this AggregatedVulnerabilityCollection.
+ List of data
+
+
+ :return: The items of this AggregatedVulnerabilityCollection.
+ :rtype: list[oci.dblm.models.AggregatedVulnerabilitySummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this AggregatedVulnerabilityCollection.
+ List of data
+
+
+ :param items: The items of this AggregatedVulnerabilityCollection.
+ :type: list[oci.dblm.models.AggregatedVulnerabilitySummary]
+ """
+ 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/dblm/models/aggregated_vulnerability_summary.py b/src/oci/dblm/models/aggregated_vulnerability_summary.py
new file mode 100644
index 0000000000..3930589c78
--- /dev/null
+++ b/src/oci/dblm/models/aggregated_vulnerability_summary.py
@@ -0,0 +1,134 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 AggregatedVulnerabilitySummary(object):
+ """
+ Singular information of an aggregated vulnerability datapoint.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AggregatedVulnerabilitySummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param timestamp:
+ The value to assign to the timestamp property of this AggregatedVulnerabilitySummary.
+ :type timestamp: datetime
+
+ :param vulnerabilities_count:
+ The value to assign to the vulnerabilities_count property of this AggregatedVulnerabilitySummary.
+ :type vulnerabilities_count: int
+
+ :param registered_resources_count:
+ The value to assign to the registered_resources_count property of this AggregatedVulnerabilitySummary.
+ :type registered_resources_count: int
+
+ """
+ self.swagger_types = {
+ 'timestamp': 'datetime',
+ 'vulnerabilities_count': 'int',
+ 'registered_resources_count': 'int'
+ }
+
+ self.attribute_map = {
+ 'timestamp': 'timestamp',
+ 'vulnerabilities_count': 'vulnerabilitiesCount',
+ 'registered_resources_count': 'registeredResourcesCount'
+ }
+
+ self._timestamp = None
+ self._vulnerabilities_count = None
+ self._registered_resources_count = None
+
+ @property
+ def timestamp(self):
+ """
+ **[Required]** Gets the timestamp of this AggregatedVulnerabilitySummary.
+ UTC timestamp when the scan completed.
+
+
+ :return: The timestamp of this AggregatedVulnerabilitySummary.
+ :rtype: datetime
+ """
+ return self._timestamp
+
+ @timestamp.setter
+ def timestamp(self, timestamp):
+ """
+ Sets the timestamp of this AggregatedVulnerabilitySummary.
+ UTC timestamp when the scan completed.
+
+
+ :param timestamp: The timestamp of this AggregatedVulnerabilitySummary.
+ :type: datetime
+ """
+ self._timestamp = timestamp
+
+ @property
+ def vulnerabilities_count(self):
+ """
+ **[Required]** Gets the vulnerabilities_count of this AggregatedVulnerabilitySummary.
+ Unresolved vulnerabilities that were found by the scan.
+
+
+ :return: The vulnerabilities_count of this AggregatedVulnerabilitySummary.
+ :rtype: int
+ """
+ return self._vulnerabilities_count
+
+ @vulnerabilities_count.setter
+ def vulnerabilities_count(self, vulnerabilities_count):
+ """
+ Sets the vulnerabilities_count of this AggregatedVulnerabilitySummary.
+ Unresolved vulnerabilities that were found by the scan.
+
+
+ :param vulnerabilities_count: The vulnerabilities_count of this AggregatedVulnerabilitySummary.
+ :type: int
+ """
+ self._vulnerabilities_count = vulnerabilities_count
+
+ @property
+ def registered_resources_count(self):
+ """
+ **[Required]** Gets the registered_resources_count of this AggregatedVulnerabilitySummary.
+ Registered databases against which the scan ran.
+
+
+ :return: The registered_resources_count of this AggregatedVulnerabilitySummary.
+ :rtype: int
+ """
+ return self._registered_resources_count
+
+ @registered_resources_count.setter
+ def registered_resources_count(self, registered_resources_count):
+ """
+ Sets the registered_resources_count of this AggregatedVulnerabilitySummary.
+ Registered databases against which the scan ran.
+
+
+ :param registered_resources_count: The registered_resources_count of this AggregatedVulnerabilitySummary.
+ :type: int
+ """
+ self._registered_resources_count = registered_resources_count
+
+ 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/dblm/models/child_pdb.py b/src/oci/dblm/models/child_pdb.py
new file mode 100644
index 0000000000..036198ccee
--- /dev/null
+++ b/src/oci/dblm/models/child_pdb.py
@@ -0,0 +1,227 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 ChildPdb(object):
+ """
+ Child PDB for a CDB.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ChildPdb object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param pdb_id:
+ The value to assign to the pdb_id property of this ChildPdb.
+ :type pdb_id: str
+
+ :param name:
+ The value to assign to the name property of this ChildPdb.
+ :type name: str
+
+ :param open_mode:
+ The value to assign to the open_mode property of this ChildPdb.
+ :type open_mode: str
+
+ :param restricted:
+ The value to assign to the restricted property of this ChildPdb.
+ :type restricted: str
+
+ :param recovery_status:
+ The value to assign to the recovery_status property of this ChildPdb.
+ :type recovery_status: str
+
+ :param last_changed_by:
+ The value to assign to the last_changed_by property of this ChildPdb.
+ :type last_changed_by: str
+
+ """
+ self.swagger_types = {
+ 'pdb_id': 'str',
+ 'name': 'str',
+ 'open_mode': 'str',
+ 'restricted': 'str',
+ 'recovery_status': 'str',
+ 'last_changed_by': 'str'
+ }
+
+ self.attribute_map = {
+ 'pdb_id': 'pdbId',
+ 'name': 'name',
+ 'open_mode': 'openMode',
+ 'restricted': 'restricted',
+ 'recovery_status': 'recoveryStatus',
+ 'last_changed_by': 'lastChangedBy'
+ }
+
+ self._pdb_id = None
+ self._name = None
+ self._open_mode = None
+ self._restricted = None
+ self._recovery_status = None
+ self._last_changed_by = None
+
+ @property
+ def pdb_id(self):
+ """
+ **[Required]** Gets the pdb_id of this ChildPdb.
+ Identifier for the pluggable database.
+
+
+ :return: The pdb_id of this ChildPdb.
+ :rtype: str
+ """
+ return self._pdb_id
+
+ @pdb_id.setter
+ def pdb_id(self, pdb_id):
+ """
+ Sets the pdb_id of this ChildPdb.
+ Identifier for the pluggable database.
+
+
+ :param pdb_id: The pdb_id of this ChildPdb.
+ :type: str
+ """
+ self._pdb_id = pdb_id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this ChildPdb.
+ Name fo the pluggable database.
+
+
+ :return: The name of this ChildPdb.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this ChildPdb.
+ Name fo the pluggable database.
+
+
+ :param name: The name of this ChildPdb.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def open_mode(self):
+ """
+ **[Required]** Gets the open_mode of this ChildPdb.
+ Open mode
+
+
+ :return: The open_mode of this ChildPdb.
+ :rtype: str
+ """
+ return self._open_mode
+
+ @open_mode.setter
+ def open_mode(self, open_mode):
+ """
+ Sets the open_mode of this ChildPdb.
+ Open mode
+
+
+ :param open_mode: The open_mode of this ChildPdb.
+ :type: str
+ """
+ self._open_mode = open_mode
+
+ @property
+ def restricted(self):
+ """
+ **[Required]** Gets the restricted of this ChildPdb.
+ Restricted
+
+
+ :return: The restricted of this ChildPdb.
+ :rtype: str
+ """
+ return self._restricted
+
+ @restricted.setter
+ def restricted(self, restricted):
+ """
+ Sets the restricted of this ChildPdb.
+ Restricted
+
+
+ :param restricted: The restricted of this ChildPdb.
+ :type: str
+ """
+ self._restricted = restricted
+
+ @property
+ def recovery_status(self):
+ """
+ **[Required]** Gets the recovery_status of this ChildPdb.
+ Recovery status
+
+
+ :return: The recovery_status of this ChildPdb.
+ :rtype: str
+ """
+ return self._recovery_status
+
+ @recovery_status.setter
+ def recovery_status(self, recovery_status):
+ """
+ Sets the recovery_status of this ChildPdb.
+ Recovery status
+
+
+ :param recovery_status: The recovery_status of this ChildPdb.
+ :type: str
+ """
+ self._recovery_status = recovery_status
+
+ @property
+ def last_changed_by(self):
+ """
+ **[Required]** Gets the last_changed_by of this ChildPdb.
+ Last changed by
+
+
+ :return: The last_changed_by of this ChildPdb.
+ :rtype: str
+ """
+ return self._last_changed_by
+
+ @last_changed_by.setter
+ def last_changed_by(self, last_changed_by):
+ """
+ Sets the last_changed_by of this ChildPdb.
+ Last changed by
+
+
+ :param last_changed_by: The last_changed_by of this ChildPdb.
+ :type: str
+ """
+ self._last_changed_by = last_changed_by
+
+ 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/dblm/models/create_vulnerability_scan_details.py b/src/oci/dblm/models/create_vulnerability_scan_details.py
new file mode 100644
index 0000000000..59b458fa43
--- /dev/null
+++ b/src/oci/dblm/models/create_vulnerability_scan_details.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 CreateVulnerabilityScanDetails(object):
+ """
+ The data to create a VulnerabilityScan.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateVulnerabilityScanDetails 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 CreateVulnerabilityScanDetails.
+ :type compartment_id: str
+
+ :param vulnerability_scan_type:
+ The value to assign to the vulnerability_scan_type property of this CreateVulnerabilityScanDetails.
+ :type vulnerability_scan_type: str
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'vulnerability_scan_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'vulnerability_scan_type': 'vulnerabilityScanType'
+ }
+
+ self._compartment_id = None
+ self._vulnerability_scan_type = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CreateVulnerabilityScanDetails.
+ Compartment Identifier
+
+
+ :return: The compartment_id of this CreateVulnerabilityScanDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CreateVulnerabilityScanDetails.
+ Compartment Identifier
+
+
+ :param compartment_id: The compartment_id of this CreateVulnerabilityScanDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def vulnerability_scan_type(self):
+ """
+ **[Required]** Gets the vulnerability_scan_type of this CreateVulnerabilityScanDetails.
+ Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
+
+
+ :return: The vulnerability_scan_type of this CreateVulnerabilityScanDetails.
+ :rtype: str
+ """
+ return self._vulnerability_scan_type
+
+ @vulnerability_scan_type.setter
+ def vulnerability_scan_type(self, vulnerability_scan_type):
+ """
+ Sets the vulnerability_scan_type of this CreateVulnerabilityScanDetails.
+ Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH
+
+
+ :param vulnerability_scan_type: The vulnerability_scan_type of this CreateVulnerabilityScanDetails.
+ :type: str
+ """
+ self._vulnerability_scan_type = vulnerability_scan_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/dblm/models/dblm_vulnerability.py b/src/oci/dblm/models/dblm_vulnerability.py
new file mode 100644
index 0000000000..8c71000a52
--- /dev/null
+++ b/src/oci/dblm/models/dblm_vulnerability.py
@@ -0,0 +1,393 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 DblmVulnerability(object):
+ """
+ A Dblm Vulnerability is a description of a Dblm Vulnerability.
+
+ 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.cloud.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a DblmVulnerability.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a DblmVulnerability.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a DblmVulnerability.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the lifecycle_state property of a DblmVulnerability.
+ #: This constant has a value of "NEEDS_ATTENTION"
+ LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
+
+ #: A constant which can be used with the lifecycle_state property of a DblmVulnerability.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a DblmVulnerability.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DblmVulnerability 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 DblmVulnerability.
+ :type compartment_id: str
+
+ :param resources:
+ The value to assign to the resources property of this DblmVulnerability.
+ :type resources: list[oci.dblm.models.ResourceInfo]
+
+ :param message:
+ The value to assign to the message property of this DblmVulnerability.
+ :type message: str
+
+ :param time_enabled:
+ The value to assign to the time_enabled property of this DblmVulnerability.
+ :type time_enabled: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this DblmVulnerability.
+ Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param resources_summary:
+ The value to assign to the resources_summary property of this DblmVulnerability.
+ :type resources_summary: object
+
+ :param vulnerabilities_summary:
+ The value to assign to the vulnerabilities_summary property of this DblmVulnerability.
+ :type vulnerabilities_summary: object
+
+ :param patch_recommendations_summary:
+ The value to assign to the patch_recommendations_summary property of this DblmVulnerability.
+ :type patch_recommendations_summary: object
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this DblmVulnerability.
+ :type freeform_tags: dict(str, str)
+
+ :param system_tags:
+ The value to assign to the system_tags property of this DblmVulnerability.
+ :type system_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'resources': 'list[ResourceInfo]',
+ 'message': 'str',
+ 'time_enabled': 'datetime',
+ 'lifecycle_state': 'str',
+ 'resources_summary': 'object',
+ 'vulnerabilities_summary': 'object',
+ 'patch_recommendations_summary': 'object',
+ 'freeform_tags': 'dict(str, str)',
+ 'system_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'resources': 'resources',
+ 'message': 'message',
+ 'time_enabled': 'timeEnabled',
+ 'lifecycle_state': 'lifecycleState',
+ 'resources_summary': 'resourcesSummary',
+ 'vulnerabilities_summary': 'vulnerabilitiesSummary',
+ 'patch_recommendations_summary': 'patchRecommendationsSummary',
+ 'freeform_tags': 'freeformTags',
+ 'system_tags': 'systemTags'
+ }
+
+ self._compartment_id = None
+ self._resources = None
+ self._message = None
+ self._time_enabled = None
+ self._lifecycle_state = None
+ self._resources_summary = None
+ self._vulnerabilities_summary = None
+ self._patch_recommendations_summary = None
+ self._freeform_tags = None
+ self._system_tags = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this DblmVulnerability.
+ Compartment Identifier.
+
+
+ :return: The compartment_id of this DblmVulnerability.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this DblmVulnerability.
+ Compartment Identifier.
+
+
+ :param compartment_id: The compartment_id of this DblmVulnerability.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def resources(self):
+ """
+ Gets the resources of this DblmVulnerability.
+ Resources objects.
+
+
+ :return: The resources of this DblmVulnerability.
+ :rtype: list[oci.dblm.models.ResourceInfo]
+ """
+ return self._resources
+
+ @resources.setter
+ def resources(self, resources):
+ """
+ Sets the resources of this DblmVulnerability.
+ Resources objects.
+
+
+ :param resources: The resources of this DblmVulnerability.
+ :type: list[oci.dblm.models.ResourceInfo]
+ """
+ self._resources = resources
+
+ @property
+ def message(self):
+ """
+ Gets the message of this DblmVulnerability.
+ A message describing the status of the feature's state.
+
+
+ :return: The message of this DblmVulnerability.
+ :rtype: str
+ """
+ return self._message
+
+ @message.setter
+ def message(self, message):
+ """
+ Sets the message of this DblmVulnerability.
+ A message describing the status of the feature's state.
+
+
+ :param message: The message of this DblmVulnerability.
+ :type: str
+ """
+ self._message = message
+
+ @property
+ def time_enabled(self):
+ """
+ Gets the time_enabled of this DblmVulnerability.
+ The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
+
+
+ :return: The time_enabled of this DblmVulnerability.
+ :rtype: datetime
+ """
+ return self._time_enabled
+
+ @time_enabled.setter
+ def time_enabled(self, time_enabled):
+ """
+ Sets the time_enabled of this DblmVulnerability.
+ The time the the Vulnerability was enabled. An RFC3339 formatted datetime string.
+
+
+ :param time_enabled: The time_enabled of this DblmVulnerability.
+ :type: datetime
+ """
+ self._time_enabled = time_enabled
+
+ @property
+ def lifecycle_state(self):
+ """
+ Gets the lifecycle_state of this DblmVulnerability.
+ The current state of the feature.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this DblmVulnerability.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this DblmVulnerability.
+ The current state of the feature.
+
+
+ :param lifecycle_state: The lifecycle_state of this DblmVulnerability.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def resources_summary(self):
+ """
+ Gets the resources_summary of this DblmVulnerability.
+ Summary of dblm registered and unregistered resources.
+
+
+ :return: The resources_summary of this DblmVulnerability.
+ :rtype: object
+ """
+ return self._resources_summary
+
+ @resources_summary.setter
+ def resources_summary(self, resources_summary):
+ """
+ Sets the resources_summary of this DblmVulnerability.
+ Summary of dblm registered and unregistered resources.
+
+
+ :param resources_summary: The resources_summary of this DblmVulnerability.
+ :type: object
+ """
+ self._resources_summary = resources_summary
+
+ @property
+ def vulnerabilities_summary(self):
+ """
+ Gets the vulnerabilities_summary of this DblmVulnerability.
+ Summary of vulnerabilities found in registered resources grouped by severity.
+
+
+ :return: The vulnerabilities_summary of this DblmVulnerability.
+ :rtype: object
+ """
+ return self._vulnerabilities_summary
+
+ @vulnerabilities_summary.setter
+ def vulnerabilities_summary(self, vulnerabilities_summary):
+ """
+ Sets the vulnerabilities_summary of this DblmVulnerability.
+ Summary of vulnerabilities found in registered resources grouped by severity.
+
+
+ :param vulnerabilities_summary: The vulnerabilities_summary of this DblmVulnerability.
+ :type: object
+ """
+ self._vulnerabilities_summary = vulnerabilities_summary
+
+ @property
+ def patch_recommendations_summary(self):
+ """
+ Gets the patch_recommendations_summary of this DblmVulnerability.
+ Summary of the patch recommendations for databases.
+
+
+ :return: The patch_recommendations_summary of this DblmVulnerability.
+ :rtype: object
+ """
+ return self._patch_recommendations_summary
+
+ @patch_recommendations_summary.setter
+ def patch_recommendations_summary(self, patch_recommendations_summary):
+ """
+ Sets the patch_recommendations_summary of this DblmVulnerability.
+ Summary of the patch recommendations for databases.
+
+
+ :param patch_recommendations_summary: The patch_recommendations_summary of this DblmVulnerability.
+ :type: object
+ """
+ self._patch_recommendations_summary = patch_recommendations_summary
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this DblmVulnerability.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this DblmVulnerability.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this DblmVulnerability.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this DblmVulnerability.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this DblmVulnerability.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :return: The system_tags of this DblmVulnerability.
+ :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 DblmVulnerability.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :param system_tags: The system_tags of this DblmVulnerability.
+ :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/dblm/models/host_info.py b/src/oci/dblm/models/host_info.py
new file mode 100644
index 0000000000..2838ad8b25
--- /dev/null
+++ b/src/oci/dblm/models/host_info.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 HostInfo(object):
+ """
+ The Host Info.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new HostInfo object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param host_name:
+ The value to assign to the host_name property of this HostInfo.
+ :type host_name: str
+
+ :param host_cores:
+ The value to assign to the host_cores property of this HostInfo.
+ :type host_cores: int
+
+ """
+ self.swagger_types = {
+ 'host_name': 'str',
+ 'host_cores': 'int'
+ }
+
+ self.attribute_map = {
+ 'host_name': 'hostName',
+ 'host_cores': 'hostCores'
+ }
+
+ self._host_name = None
+ self._host_cores = None
+
+ @property
+ def host_name(self):
+ """
+ **[Required]** Gets the host_name of this HostInfo.
+ The name of the host.
+
+
+ :return: The host_name of this HostInfo.
+ :rtype: str
+ """
+ return self._host_name
+
+ @host_name.setter
+ def host_name(self, host_name):
+ """
+ Sets the host_name of this HostInfo.
+ The name of the host.
+
+
+ :param host_name: The host_name of this HostInfo.
+ :type: str
+ """
+ self._host_name = host_name
+
+ @property
+ def host_cores(self):
+ """
+ **[Required]** Gets the host_cores of this HostInfo.
+ Number of host cores.
+
+
+ :return: The host_cores of this HostInfo.
+ :rtype: int
+ """
+ return self._host_cores
+
+ @host_cores.setter
+ def host_cores(self, host_cores):
+ """
+ Sets the host_cores of this HostInfo.
+ Number of host cores.
+
+
+ :param host_cores: The host_cores of this HostInfo.
+ :type: int
+ """
+ self._host_cores = host_cores
+
+ 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/dblm/models/metric_error.py b/src/oci/dblm/models/metric_error.py
new file mode 100644
index 0000000000..42f15cfaa5
--- /dev/null
+++ b/src/oci/dblm/models/metric_error.py
@@ -0,0 +1,227 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 MetricError(object):
+ """
+ Metric error content.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new MetricError object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_generated:
+ The value to assign to the time_generated property of this MetricError.
+ :type time_generated: datetime
+
+ :param error_type:
+ The value to assign to the error_type property of this MetricError.
+ :type error_type: str
+
+ :param content_type:
+ The value to assign to the content_type property of this MetricError.
+ :type content_type: str
+
+ :param data:
+ The value to assign to the data property of this MetricError.
+ :type data: str
+
+ :param subject:
+ The value to assign to the subject property of this MetricError.
+ :type subject: str
+
+ :param level:
+ The value to assign to the level property of this MetricError.
+ :type level: str
+
+ """
+ self.swagger_types = {
+ 'time_generated': 'datetime',
+ 'error_type': 'str',
+ 'content_type': 'str',
+ 'data': 'str',
+ 'subject': 'str',
+ 'level': 'str'
+ }
+
+ self.attribute_map = {
+ 'time_generated': 'timeGenerated',
+ 'error_type': 'errorType',
+ 'content_type': 'contentType',
+ 'data': 'data',
+ 'subject': 'subject',
+ 'level': 'level'
+ }
+
+ self._time_generated = None
+ self._error_type = None
+ self._content_type = None
+ self._data = None
+ self._subject = None
+ self._level = None
+
+ @property
+ def time_generated(self):
+ """
+ **[Required]** Gets the time_generated of this MetricError.
+ Time the error record was generated
+
+
+ :return: The time_generated of this MetricError.
+ :rtype: datetime
+ """
+ return self._time_generated
+
+ @time_generated.setter
+ def time_generated(self, time_generated):
+ """
+ Sets the time_generated of this MetricError.
+ Time the error record was generated
+
+
+ :param time_generated: The time_generated of this MetricError.
+ :type: datetime
+ """
+ self._time_generated = time_generated
+
+ @property
+ def error_type(self):
+ """
+ **[Required]** Gets the error_type of this MetricError.
+ Error type
+
+
+ :return: The error_type of this MetricError.
+ :rtype: str
+ """
+ return self._error_type
+
+ @error_type.setter
+ def error_type(self, error_type):
+ """
+ Sets the error_type of this MetricError.
+ Error type
+
+
+ :param error_type: The error_type of this MetricError.
+ :type: str
+ """
+ self._error_type = error_type
+
+ @property
+ def content_type(self):
+ """
+ **[Required]** Gets the content_type of this MetricError.
+ Content type
+
+
+ :return: The content_type of this MetricError.
+ :rtype: str
+ """
+ return self._content_type
+
+ @content_type.setter
+ def content_type(self, content_type):
+ """
+ Sets the content_type of this MetricError.
+ Content type
+
+
+ :param content_type: The content_type of this MetricError.
+ :type: str
+ """
+ self._content_type = content_type
+
+ @property
+ def data(self):
+ """
+ **[Required]** Gets the data of this MetricError.
+ Data
+
+
+ :return: The data of this MetricError.
+ :rtype: str
+ """
+ return self._data
+
+ @data.setter
+ def data(self, data):
+ """
+ Sets the data of this MetricError.
+ Data
+
+
+ :param data: The data of this MetricError.
+ :type: str
+ """
+ self._data = data
+
+ @property
+ def subject(self):
+ """
+ **[Required]** Gets the subject of this MetricError.
+ Subject
+
+
+ :return: The subject of this MetricError.
+ :rtype: str
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this MetricError.
+ Subject
+
+
+ :param subject: The subject of this MetricError.
+ :type: str
+ """
+ self._subject = subject
+
+ @property
+ def level(self):
+ """
+ **[Required]** Gets the level of this MetricError.
+ Level
+
+
+ :return: The level of this MetricError.
+ :rtype: str
+ """
+ return self._level
+
+ @level.setter
+ def level(self, level):
+ """
+ Sets the level of this MetricError.
+ Level
+
+
+ :param level: The level of this MetricError.
+ :type: str
+ """
+ self._level = 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/dblm/models/notification_collection.py b/src/oci/dblm/models/notification_collection.py
new file mode 100644
index 0000000000..0034fb038c
--- /dev/null
+++ b/src/oci/dblm/models/notification_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 NotificationCollection(object):
+ """
+ Collection of notifications for new CVEs and CPUs.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new NotificationCollection 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 NotificationCollection.
+ :type items: list[oci.dblm.models.NotificationSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[NotificationSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this NotificationCollection.
+ Items for notifications.
+
+
+ :return: The items of this NotificationCollection.
+ :rtype: list[oci.dblm.models.NotificationSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this NotificationCollection.
+ Items for notifications.
+
+
+ :param items: The items of this NotificationCollection.
+ :type: list[oci.dblm.models.NotificationSummary]
+ """
+ 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/dblm/models/notification_summary.py b/src/oci/dblm/models/notification_summary.py
new file mode 100644
index 0000000000..00a1c2b2ea
--- /dev/null
+++ b/src/oci/dblm/models/notification_summary.py
@@ -0,0 +1,185 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 NotificationSummary(object):
+ """
+ Notifications
+ """
+
+ #: A constant which can be used with the notification_type property of a NotificationSummary.
+ #: This constant has a value of "CVE"
+ NOTIFICATION_TYPE_CVE = "CVE"
+
+ #: A constant which can be used with the notification_type property of a NotificationSummary.
+ #: This constant has a value of "ADVISORY"
+ NOTIFICATION_TYPE_ADVISORY = "ADVISORY"
+
+ #: A constant which can be used with the notification_type property of a NotificationSummary.
+ #: This constant has a value of "PATCH"
+ NOTIFICATION_TYPE_PATCH = "PATCH"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new NotificationSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param notification_type:
+ The value to assign to the notification_type property of this NotificationSummary.
+ Allowed values for this property are: "CVE", "ADVISORY", "PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type notification_type: str
+
+ :param notification_text:
+ The value to assign to the notification_text property of this NotificationSummary.
+ :type notification_text: str
+
+ :param id:
+ The value to assign to the id property of this NotificationSummary.
+ :type id: str
+
+ :param time_published:
+ The value to assign to the time_published property of this NotificationSummary.
+ :type time_published: datetime
+
+ """
+ self.swagger_types = {
+ 'notification_type': 'str',
+ 'notification_text': 'str',
+ 'id': 'str',
+ 'time_published': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'notification_type': 'notificationType',
+ 'notification_text': 'notificationText',
+ 'id': 'id',
+ 'time_published': 'timePublished'
+ }
+
+ self._notification_type = None
+ self._notification_text = None
+ self._id = None
+ self._time_published = None
+
+ @property
+ def notification_type(self):
+ """
+ **[Required]** Gets the notification_type of this NotificationSummary.
+ Notification type
+
+ Allowed values for this property are: "CVE", "ADVISORY", "PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The notification_type of this NotificationSummary.
+ :rtype: str
+ """
+ return self._notification_type
+
+ @notification_type.setter
+ def notification_type(self, notification_type):
+ """
+ Sets the notification_type of this NotificationSummary.
+ Notification type
+
+
+ :param notification_type: The notification_type of this NotificationSummary.
+ :type: str
+ """
+ allowed_values = ["CVE", "ADVISORY", "PATCH"]
+ if not value_allowed_none_or_none_sentinel(notification_type, allowed_values):
+ notification_type = 'UNKNOWN_ENUM_VALUE'
+ self._notification_type = notification_type
+
+ @property
+ def notification_text(self):
+ """
+ **[Required]** Gets the notification_text of this NotificationSummary.
+ Notification text
+
+
+ :return: The notification_text of this NotificationSummary.
+ :rtype: str
+ """
+ return self._notification_text
+
+ @notification_text.setter
+ def notification_text(self, notification_text):
+ """
+ Sets the notification_text of this NotificationSummary.
+ Notification text
+
+
+ :param notification_text: The notification_text of this NotificationSummary.
+ :type: str
+ """
+ self._notification_text = notification_text
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this NotificationSummary.
+ Notification identifier.
+
+
+ :return: The id of this NotificationSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this NotificationSummary.
+ Notification identifier.
+
+
+ :param id: The id of this NotificationSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def time_published(self):
+ """
+ **[Required]** Gets the time_published of this NotificationSummary.
+ Published date
+
+
+ :return: The time_published of this NotificationSummary.
+ :rtype: datetime
+ """
+ return self._time_published
+
+ @time_published.setter
+ def time_published(self, time_published):
+ """
+ Sets the time_published of this NotificationSummary.
+ Published date
+
+
+ :param time_published: The time_published of this NotificationSummary.
+ :type: datetime
+ """
+ self._time_published = time_published
+
+ 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/dblm/models/patch_recommendation_summary.py b/src/oci/dblm/models/patch_recommendation_summary.py
new file mode 100644
index 0000000000..521414a54f
--- /dev/null
+++ b/src/oci/dblm/models/patch_recommendation_summary.py
@@ -0,0 +1,134 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 PatchRecommendationSummary(object):
+ """
+ Total count summary of patch recommendations for databases.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PatchRecommendationSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param total:
+ The value to assign to the total property of this PatchRecommendationSummary.
+ :type total: int
+
+ :param up_to_date:
+ The value to assign to the up_to_date property of this PatchRecommendationSummary.
+ :type up_to_date: int
+
+ :param patch_available:
+ The value to assign to the patch_available property of this PatchRecommendationSummary.
+ :type patch_available: int
+
+ """
+ self.swagger_types = {
+ 'total': 'int',
+ 'up_to_date': 'int',
+ 'patch_available': 'int'
+ }
+
+ self.attribute_map = {
+ 'total': 'total',
+ 'up_to_date': 'upToDate',
+ 'patch_available': 'patchAvailable'
+ }
+
+ self._total = None
+ self._up_to_date = None
+ self._patch_available = None
+
+ @property
+ def total(self):
+ """
+ **[Required]** Gets the total of this PatchRecommendationSummary.
+ Total number of databases pending to be updated and/or with latest patches.
+
+
+ :return: The total of this PatchRecommendationSummary.
+ :rtype: int
+ """
+ return self._total
+
+ @total.setter
+ def total(self, total):
+ """
+ Sets the total of this PatchRecommendationSummary.
+ Total number of databases pending to be updated and/or with latest patches.
+
+
+ :param total: The total of this PatchRecommendationSummary.
+ :type: int
+ """
+ self._total = total
+
+ @property
+ def up_to_date(self):
+ """
+ **[Required]** Gets the up_to_date of this PatchRecommendationSummary.
+ Number of databases with latest patches.
+
+
+ :return: The up_to_date of this PatchRecommendationSummary.
+ :rtype: int
+ """
+ return self._up_to_date
+
+ @up_to_date.setter
+ def up_to_date(self, up_to_date):
+ """
+ Sets the up_to_date of this PatchRecommendationSummary.
+ Number of databases with latest patches.
+
+
+ :param up_to_date: The up_to_date of this PatchRecommendationSummary.
+ :type: int
+ """
+ self._up_to_date = up_to_date
+
+ @property
+ def patch_available(self):
+ """
+ **[Required]** Gets the patch_available of this PatchRecommendationSummary.
+ Number of databases pending to be updated.
+
+
+ :return: The patch_available of this PatchRecommendationSummary.
+ :rtype: int
+ """
+ return self._patch_available
+
+ @patch_available.setter
+ def patch_available(self, patch_available):
+ """
+ Sets the patch_available of this PatchRecommendationSummary.
+ Number of databases pending to be updated.
+
+
+ :param patch_available: The patch_available of this PatchRecommendationSummary.
+ :type: int
+ """
+ self._patch_available = patch_available
+
+ 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/dblm/models/patch_recommendations_details_summary.py b/src/oci/dblm/models/patch_recommendations_details_summary.py
new file mode 100644
index 0000000000..bc499ca30b
--- /dev/null
+++ b/src/oci/dblm/models/patch_recommendations_details_summary.py
@@ -0,0 +1,227 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 PatchRecommendationsDetailsSummary(object):
+ """
+ Summary of patch recommendations for databases.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PatchRecommendationsDetailsSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param patch_name:
+ The value to assign to the patch_name property of this PatchRecommendationsDetailsSummary.
+ :type patch_name: str
+
+ :param abstract_text:
+ The value to assign to the abstract_text property of this PatchRecommendationsDetailsSummary.
+ :type abstract_text: str
+
+ :param classification_name:
+ The value to assign to the classification_name property of this PatchRecommendationsDetailsSummary.
+ :type classification_name: str
+
+ :param time_evaluated:
+ The value to assign to the time_evaluated property of this PatchRecommendationsDetailsSummary.
+ :type time_evaluated: datetime
+
+ :param has_fix_for_cve:
+ The value to assign to the has_fix_for_cve property of this PatchRecommendationsDetailsSummary.
+ :type has_fix_for_cve: bool
+
+ :param time_released:
+ The value to assign to the time_released property of this PatchRecommendationsDetailsSummary.
+ :type time_released: datetime
+
+ """
+ self.swagger_types = {
+ 'patch_name': 'str',
+ 'abstract_text': 'str',
+ 'classification_name': 'str',
+ 'time_evaluated': 'datetime',
+ 'has_fix_for_cve': 'bool',
+ 'time_released': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'patch_name': 'patchName',
+ 'abstract_text': 'abstractText',
+ 'classification_name': 'classificationName',
+ 'time_evaluated': 'timeEvaluated',
+ 'has_fix_for_cve': 'hasFixForCve',
+ 'time_released': 'timeReleased'
+ }
+
+ self._patch_name = None
+ self._abstract_text = None
+ self._classification_name = None
+ self._time_evaluated = None
+ self._has_fix_for_cve = None
+ self._time_released = None
+
+ @property
+ def patch_name(self):
+ """
+ **[Required]** Gets the patch_name of this PatchRecommendationsDetailsSummary.
+ Name of the patch recommendation.
+
+
+ :return: The patch_name of this PatchRecommendationsDetailsSummary.
+ :rtype: str
+ """
+ return self._patch_name
+
+ @patch_name.setter
+ def patch_name(self, patch_name):
+ """
+ Sets the patch_name of this PatchRecommendationsDetailsSummary.
+ Name of the patch recommendation.
+
+
+ :param patch_name: The patch_name of this PatchRecommendationsDetailsSummary.
+ :type: str
+ """
+ self._patch_name = patch_name
+
+ @property
+ def abstract_text(self):
+ """
+ **[Required]** Gets the abstract_text of this PatchRecommendationsDetailsSummary.
+ Description of the patch recommendation.
+
+
+ :return: The abstract_text of this PatchRecommendationsDetailsSummary.
+ :rtype: str
+ """
+ return self._abstract_text
+
+ @abstract_text.setter
+ def abstract_text(self, abstract_text):
+ """
+ Sets the abstract_text of this PatchRecommendationsDetailsSummary.
+ Description of the patch recommendation.
+
+
+ :param abstract_text: The abstract_text of this PatchRecommendationsDetailsSummary.
+ :type: str
+ """
+ self._abstract_text = abstract_text
+
+ @property
+ def classification_name(self):
+ """
+ **[Required]** Gets the classification_name of this PatchRecommendationsDetailsSummary.
+ Classification of the patch recommendation.
+
+
+ :return: The classification_name of this PatchRecommendationsDetailsSummary.
+ :rtype: str
+ """
+ return self._classification_name
+
+ @classification_name.setter
+ def classification_name(self, classification_name):
+ """
+ Sets the classification_name of this PatchRecommendationsDetailsSummary.
+ Classification of the patch recommendation.
+
+
+ :param classification_name: The classification_name of this PatchRecommendationsDetailsSummary.
+ :type: str
+ """
+ self._classification_name = classification_name
+
+ @property
+ def time_evaluated(self):
+ """
+ **[Required]** Gets the time_evaluated of this PatchRecommendationsDetailsSummary.
+ Evaluation date for the patch recommendation.
+
+
+ :return: The time_evaluated of this PatchRecommendationsDetailsSummary.
+ :rtype: datetime
+ """
+ return self._time_evaluated
+
+ @time_evaluated.setter
+ def time_evaluated(self, time_evaluated):
+ """
+ Sets the time_evaluated of this PatchRecommendationsDetailsSummary.
+ Evaluation date for the patch recommendation.
+
+
+ :param time_evaluated: The time_evaluated of this PatchRecommendationsDetailsSummary.
+ :type: datetime
+ """
+ self._time_evaluated = time_evaluated
+
+ @property
+ def has_fix_for_cve(self):
+ """
+ **[Required]** Gets the has_fix_for_cve of this PatchRecommendationsDetailsSummary.
+ If the patch has a fix for a CVE.
+
+
+ :return: The has_fix_for_cve of this PatchRecommendationsDetailsSummary.
+ :rtype: bool
+ """
+ return self._has_fix_for_cve
+
+ @has_fix_for_cve.setter
+ def has_fix_for_cve(self, has_fix_for_cve):
+ """
+ Sets the has_fix_for_cve of this PatchRecommendationsDetailsSummary.
+ If the patch has a fix for a CVE.
+
+
+ :param has_fix_for_cve: The has_fix_for_cve of this PatchRecommendationsDetailsSummary.
+ :type: bool
+ """
+ self._has_fix_for_cve = has_fix_for_cve
+
+ @property
+ def time_released(self):
+ """
+ **[Required]** Gets the time_released of this PatchRecommendationsDetailsSummary.
+ Release date for the patch.
+
+
+ :return: The time_released of this PatchRecommendationsDetailsSummary.
+ :rtype: datetime
+ """
+ return self._time_released
+
+ @time_released.setter
+ def time_released(self, time_released):
+ """
+ Sets the time_released of this PatchRecommendationsDetailsSummary.
+ Release date for the patch.
+
+
+ :param time_released: The time_released of this PatchRecommendationsDetailsSummary.
+ :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/dblm/models/resource_info.py b/src/oci/dblm/models/resource_info.py
new file mode 100644
index 0000000000..4d3bdecf6d
--- /dev/null
+++ b/src/oci/dblm/models/resource_info.py
@@ -0,0 +1,382 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 ResourceInfo(object):
+ """
+ The Resource Info.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ResourceInfo object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param resource_compartment_id:
+ The value to assign to the resource_compartment_id property of this ResourceInfo.
+ :type resource_compartment_id: str
+
+ :param resource_name:
+ The value to assign to the resource_name property of this ResourceInfo.
+ :type resource_name: str
+
+ :param resource_id:
+ The value to assign to the resource_id property of this ResourceInfo.
+ :type resource_id: str
+
+ :param resource_type:
+ The value to assign to the resource_type property of this ResourceInfo.
+ :type resource_type: str
+
+ :param deployment_type:
+ The value to assign to the deployment_type property of this ResourceInfo.
+ :type deployment_type: str
+
+ :param connector_id:
+ The value to assign to the connector_id property of this ResourceInfo.
+ :type connector_id: str
+
+ :param is_cluster_db:
+ The value to assign to the is_cluster_db property of this ResourceInfo.
+ :type is_cluster_db: bool
+
+ :param host_info:
+ The value to assign to the host_info property of this ResourceInfo.
+ :type host_info: list[oci.dblm.models.HostInfo]
+
+ :param db_version:
+ The value to assign to the db_version property of this ResourceInfo.
+ :type db_version: str
+
+ :param db_platform_type:
+ The value to assign to the db_platform_type property of this ResourceInfo.
+ :type db_platform_type: str
+
+ :param license_type:
+ The value to assign to the license_type property of this ResourceInfo.
+ :type license_type: str
+
+ """
+ self.swagger_types = {
+ 'resource_compartment_id': 'str',
+ 'resource_name': 'str',
+ 'resource_id': 'str',
+ 'resource_type': 'str',
+ 'deployment_type': 'str',
+ 'connector_id': 'str',
+ 'is_cluster_db': 'bool',
+ 'host_info': 'list[HostInfo]',
+ 'db_version': 'str',
+ 'db_platform_type': 'str',
+ 'license_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'resource_compartment_id': 'resourceCompartmentId',
+ 'resource_name': 'resourceName',
+ 'resource_id': 'resourceId',
+ 'resource_type': 'resourceType',
+ 'deployment_type': 'deploymentType',
+ 'connector_id': 'connectorId',
+ 'is_cluster_db': 'isClusterDb',
+ 'host_info': 'hostInfo',
+ 'db_version': 'dbVersion',
+ 'db_platform_type': 'dbPlatformType',
+ 'license_type': 'licenseType'
+ }
+
+ self._resource_compartment_id = None
+ self._resource_name = None
+ self._resource_id = None
+ self._resource_type = None
+ self._deployment_type = None
+ self._connector_id = None
+ self._is_cluster_db = None
+ self._host_info = None
+ self._db_version = None
+ self._db_platform_type = None
+ self._license_type = None
+
+ @property
+ def resource_compartment_id(self):
+ """
+ **[Required]** Gets the resource_compartment_id of this ResourceInfo.
+ The compartmentId of the resource.
+
+
+ :return: The resource_compartment_id of this ResourceInfo.
+ :rtype: str
+ """
+ return self._resource_compartment_id
+
+ @resource_compartment_id.setter
+ def resource_compartment_id(self, resource_compartment_id):
+ """
+ Sets the resource_compartment_id of this ResourceInfo.
+ The compartmentId of the resource.
+
+
+ :param resource_compartment_id: The resource_compartment_id of this ResourceInfo.
+ :type: str
+ """
+ self._resource_compartment_id = resource_compartment_id
+
+ @property
+ def resource_name(self):
+ """
+ **[Required]** Gets the resource_name of this ResourceInfo.
+ The name of the resource.
+
+
+ :return: The resource_name of this ResourceInfo.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this ResourceInfo.
+ The name of the resource.
+
+
+ :param resource_name: The resource_name of this ResourceInfo.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def resource_id(self):
+ """
+ **[Required]** Gets the resource_id of this ResourceInfo.
+ The Id of the resource.
+
+
+ :return: The resource_id of this ResourceInfo.
+ :rtype: str
+ """
+ return self._resource_id
+
+ @resource_id.setter
+ def resource_id(self, resource_id):
+ """
+ Sets the resource_id of this ResourceInfo.
+ The Id of the resource.
+
+
+ :param resource_id: The resource_id of this ResourceInfo.
+ :type: str
+ """
+ self._resource_id = resource_id
+
+ @property
+ def resource_type(self):
+ """
+ **[Required]** Gets the resource_type of this ResourceInfo.
+ The type of the resource.
+
+
+ :return: The resource_type of this ResourceInfo.
+ :rtype: str
+ """
+ return self._resource_type
+
+ @resource_type.setter
+ def resource_type(self, resource_type):
+ """
+ Sets the resource_type of this ResourceInfo.
+ The type of the resource.
+
+
+ :param resource_type: The resource_type of this ResourceInfo.
+ :type: str
+ """
+ self._resource_type = resource_type
+
+ @property
+ def deployment_type(self):
+ """
+ **[Required]** Gets the deployment_type of this ResourceInfo.
+ The deployment type of the resource.
+
+
+ :return: The deployment_type of this ResourceInfo.
+ :rtype: str
+ """
+ return self._deployment_type
+
+ @deployment_type.setter
+ def deployment_type(self, deployment_type):
+ """
+ Sets the deployment_type of this ResourceInfo.
+ The deployment type of the resource.
+
+
+ :param deployment_type: The deployment_type of this ResourceInfo.
+ :type: str
+ """
+ self._deployment_type = deployment_type
+
+ @property
+ def connector_id(self):
+ """
+ **[Required]** Gets the connector_id of this ResourceInfo.
+ The connector Id of the resource.
+
+
+ :return: The connector_id of this ResourceInfo.
+ :rtype: str
+ """
+ return self._connector_id
+
+ @connector_id.setter
+ def connector_id(self, connector_id):
+ """
+ Sets the connector_id of this ResourceInfo.
+ The connector Id of the resource.
+
+
+ :param connector_id: The connector_id of this ResourceInfo.
+ :type: str
+ """
+ self._connector_id = connector_id
+
+ @property
+ def is_cluster_db(self):
+ """
+ Gets the is_cluster_db of this ResourceInfo.
+ True if it is a cluster db.
+
+
+ :return: The is_cluster_db of this ResourceInfo.
+ :rtype: bool
+ """
+ return self._is_cluster_db
+
+ @is_cluster_db.setter
+ def is_cluster_db(self, is_cluster_db):
+ """
+ Sets the is_cluster_db of this ResourceInfo.
+ True if it is a cluster db.
+
+
+ :param is_cluster_db: The is_cluster_db of this ResourceInfo.
+ :type: bool
+ """
+ self._is_cluster_db = is_cluster_db
+
+ @property
+ def host_info(self):
+ """
+ **[Required]** Gets the host_info of this ResourceInfo.
+ host info objects
+
+
+ :return: The host_info of this ResourceInfo.
+ :rtype: list[oci.dblm.models.HostInfo]
+ """
+ return self._host_info
+
+ @host_info.setter
+ def host_info(self, host_info):
+ """
+ Sets the host_info of this ResourceInfo.
+ host info objects
+
+
+ :param host_info: The host_info of this ResourceInfo.
+ :type: list[oci.dblm.models.HostInfo]
+ """
+ self._host_info = host_info
+
+ @property
+ def db_version(self):
+ """
+ **[Required]** Gets the db_version of this ResourceInfo.
+ The version of the resource.
+
+
+ :return: The db_version of this ResourceInfo.
+ :rtype: str
+ """
+ return self._db_version
+
+ @db_version.setter
+ def db_version(self, db_version):
+ """
+ Sets the db_version of this ResourceInfo.
+ The version of the resource.
+
+
+ :param db_version: The db_version of this ResourceInfo.
+ :type: str
+ """
+ self._db_version = db_version
+
+ @property
+ def db_platform_type(self):
+ """
+ **[Required]** Gets the db_platform_type of this ResourceInfo.
+ The platform type of the resource.
+
+
+ :return: The db_platform_type of this ResourceInfo.
+ :rtype: str
+ """
+ return self._db_platform_type
+
+ @db_platform_type.setter
+ def db_platform_type(self, db_platform_type):
+ """
+ Sets the db_platform_type of this ResourceInfo.
+ The platform type of the resource.
+
+
+ :param db_platform_type: The db_platform_type of this ResourceInfo.
+ :type: str
+ """
+ self._db_platform_type = db_platform_type
+
+ @property
+ def license_type(self):
+ """
+ **[Required]** Gets the license_type of this ResourceInfo.
+ The License Type of the resource.
+
+
+ :return: The license_type of this ResourceInfo.
+ :rtype: str
+ """
+ return self._license_type
+
+ @license_type.setter
+ def license_type(self, license_type):
+ """
+ Sets the license_type of this ResourceInfo.
+ The License Type of the resource.
+
+
+ :param license_type: The license_type of this ResourceInfo.
+ :type: str
+ """
+ self._license_type = license_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/dblm/models/resource_summary.py b/src/oci/dblm/models/resource_summary.py
new file mode 100644
index 0000000000..44efec2041
--- /dev/null
+++ b/src/oci/dblm/models/resource_summary.py
@@ -0,0 +1,227 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 ResourceSummary(object):
+ """
+ Summary of dblm registered and unregistered resources.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ResourceSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param total_resources_count:
+ The value to assign to the total_resources_count property of this ResourceSummary.
+ :type total_resources_count: int
+
+ :param registered_resources_count:
+ The value to assign to the registered_resources_count property of this ResourceSummary.
+ :type registered_resources_count: int
+
+ :param not_registered_resources_count:
+ The value to assign to the not_registered_resources_count property of this ResourceSummary.
+ :type not_registered_resources_count: int
+
+ :param vulnerable_resources_count:
+ The value to assign to the vulnerable_resources_count property of this ResourceSummary.
+ :type vulnerable_resources_count: int
+
+ :param clean_resources_count:
+ The value to assign to the clean_resources_count property of this ResourceSummary.
+ :type clean_resources_count: int
+
+ :param error_resources_count:
+ The value to assign to the error_resources_count property of this ResourceSummary.
+ :type error_resources_count: int
+
+ """
+ self.swagger_types = {
+ 'total_resources_count': 'int',
+ 'registered_resources_count': 'int',
+ 'not_registered_resources_count': 'int',
+ 'vulnerable_resources_count': 'int',
+ 'clean_resources_count': 'int',
+ 'error_resources_count': 'int'
+ }
+
+ self.attribute_map = {
+ 'total_resources_count': 'totalResourcesCount',
+ 'registered_resources_count': 'registeredResourcesCount',
+ 'not_registered_resources_count': 'notRegisteredResourcesCount',
+ 'vulnerable_resources_count': 'vulnerableResourcesCount',
+ 'clean_resources_count': 'cleanResourcesCount',
+ 'error_resources_count': 'errorResourcesCount'
+ }
+
+ self._total_resources_count = None
+ self._registered_resources_count = None
+ self._not_registered_resources_count = None
+ self._vulnerable_resources_count = None
+ self._clean_resources_count = None
+ self._error_resources_count = None
+
+ @property
+ def total_resources_count(self):
+ """
+ **[Required]** Gets the total_resources_count of this ResourceSummary.
+ The total number of resources.
+
+
+ :return: The total_resources_count of this ResourceSummary.
+ :rtype: int
+ """
+ return self._total_resources_count
+
+ @total_resources_count.setter
+ def total_resources_count(self, total_resources_count):
+ """
+ Sets the total_resources_count of this ResourceSummary.
+ The total number of resources.
+
+
+ :param total_resources_count: The total_resources_count of this ResourceSummary.
+ :type: int
+ """
+ self._total_resources_count = total_resources_count
+
+ @property
+ def registered_resources_count(self):
+ """
+ **[Required]** Gets the registered_resources_count of this ResourceSummary.
+ The total number of registered resources.
+
+
+ :return: The registered_resources_count of this ResourceSummary.
+ :rtype: int
+ """
+ return self._registered_resources_count
+
+ @registered_resources_count.setter
+ def registered_resources_count(self, registered_resources_count):
+ """
+ Sets the registered_resources_count of this ResourceSummary.
+ The total number of registered resources.
+
+
+ :param registered_resources_count: The registered_resources_count of this ResourceSummary.
+ :type: int
+ """
+ self._registered_resources_count = registered_resources_count
+
+ @property
+ def not_registered_resources_count(self):
+ """
+ **[Required]** Gets the not_registered_resources_count of this ResourceSummary.
+ The total number of resources that are not registered.
+
+
+ :return: The not_registered_resources_count of this ResourceSummary.
+ :rtype: int
+ """
+ return self._not_registered_resources_count
+
+ @not_registered_resources_count.setter
+ def not_registered_resources_count(self, not_registered_resources_count):
+ """
+ Sets the not_registered_resources_count of this ResourceSummary.
+ The total number of resources that are not registered.
+
+
+ :param not_registered_resources_count: The not_registered_resources_count of this ResourceSummary.
+ :type: int
+ """
+ self._not_registered_resources_count = not_registered_resources_count
+
+ @property
+ def vulnerable_resources_count(self):
+ """
+ **[Required]** Gets the vulnerable_resources_count of this ResourceSummary.
+ Total number of resources that have 1 or more vulnerabilities.
+
+
+ :return: The vulnerable_resources_count of this ResourceSummary.
+ :rtype: int
+ """
+ return self._vulnerable_resources_count
+
+ @vulnerable_resources_count.setter
+ def vulnerable_resources_count(self, vulnerable_resources_count):
+ """
+ Sets the vulnerable_resources_count of this ResourceSummary.
+ Total number of resources that have 1 or more vulnerabilities.
+
+
+ :param vulnerable_resources_count: The vulnerable_resources_count of this ResourceSummary.
+ :type: int
+ """
+ self._vulnerable_resources_count = vulnerable_resources_count
+
+ @property
+ def clean_resources_count(self):
+ """
+ **[Required]** Gets the clean_resources_count of this ResourceSummary.
+ Total number of resources that have 0 vulnerabilities.
+
+
+ :return: The clean_resources_count of this ResourceSummary.
+ :rtype: int
+ """
+ return self._clean_resources_count
+
+ @clean_resources_count.setter
+ def clean_resources_count(self, clean_resources_count):
+ """
+ Sets the clean_resources_count of this ResourceSummary.
+ Total number of resources that have 0 vulnerabilities.
+
+
+ :param clean_resources_count: The clean_resources_count of this ResourceSummary.
+ :type: int
+ """
+ self._clean_resources_count = clean_resources_count
+
+ @property
+ def error_resources_count(self):
+ """
+ **[Required]** Gets the error_resources_count of this ResourceSummary.
+ Total number of resources that contain an error.
+
+
+ :return: The error_resources_count of this ResourceSummary.
+ :rtype: int
+ """
+ return self._error_resources_count
+
+ @error_resources_count.setter
+ def error_resources_count(self, error_resources_count):
+ """
+ Sets the error_resources_count of this ResourceSummary.
+ Total number of resources that contain an error.
+
+
+ :param error_resources_count: The error_resources_count of this ResourceSummary.
+ :type: int
+ """
+ self._error_resources_count = error_resources_count
+
+ 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/dblm/models/vulnerabilities_summary.py b/src/oci/dblm/models/vulnerabilities_summary.py
new file mode 100644
index 0000000000..5354670e3e
--- /dev/null
+++ b/src/oci/dblm/models/vulnerabilities_summary.py
@@ -0,0 +1,227 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilitiesSummary(object):
+ """
+ Summary of vulnerabilities found in registered resources grouped by severity.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilitiesSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param total:
+ The value to assign to the total property of this VulnerabilitiesSummary.
+ :type total: int
+
+ :param critical:
+ The value to assign to the critical property of this VulnerabilitiesSummary.
+ :type critical: int
+
+ :param high:
+ The value to assign to the high property of this VulnerabilitiesSummary.
+ :type high: int
+
+ :param medium:
+ The value to assign to the medium property of this VulnerabilitiesSummary.
+ :type medium: int
+
+ :param info:
+ The value to assign to the info property of this VulnerabilitiesSummary.
+ :type info: int
+
+ :param low:
+ The value to assign to the low property of this VulnerabilitiesSummary.
+ :type low: int
+
+ """
+ self.swagger_types = {
+ 'total': 'int',
+ 'critical': 'int',
+ 'high': 'int',
+ 'medium': 'int',
+ 'info': 'int',
+ 'low': 'int'
+ }
+
+ self.attribute_map = {
+ 'total': 'total',
+ 'critical': 'critical',
+ 'high': 'high',
+ 'medium': 'medium',
+ 'info': 'info',
+ 'low': 'low'
+ }
+
+ self._total = None
+ self._critical = None
+ self._high = None
+ self._medium = None
+ self._info = None
+ self._low = None
+
+ @property
+ def total(self):
+ """
+ **[Required]** Gets the total of this VulnerabilitiesSummary.
+ Total number of vulnerabilities.
+
+
+ :return: The total of this VulnerabilitiesSummary.
+ :rtype: int
+ """
+ return self._total
+
+ @total.setter
+ def total(self, total):
+ """
+ Sets the total of this VulnerabilitiesSummary.
+ Total number of vulnerabilities.
+
+
+ :param total: The total of this VulnerabilitiesSummary.
+ :type: int
+ """
+ self._total = total
+
+ @property
+ def critical(self):
+ """
+ **[Required]** Gets the critical of this VulnerabilitiesSummary.
+ Cummulative number of resources that have critical level vulnerabilities.
+
+
+ :return: The critical of this VulnerabilitiesSummary.
+ :rtype: int
+ """
+ return self._critical
+
+ @critical.setter
+ def critical(self, critical):
+ """
+ Sets the critical of this VulnerabilitiesSummary.
+ Cummulative number of resources that have critical level vulnerabilities.
+
+
+ :param critical: The critical of this VulnerabilitiesSummary.
+ :type: int
+ """
+ self._critical = critical
+
+ @property
+ def high(self):
+ """
+ **[Required]** Gets the high of this VulnerabilitiesSummary.
+ Cummulative number of resources that have high level vulnerabilities.
+
+
+ :return: The high of this VulnerabilitiesSummary.
+ :rtype: int
+ """
+ return self._high
+
+ @high.setter
+ def high(self, high):
+ """
+ Sets the high of this VulnerabilitiesSummary.
+ Cummulative number of resources that have high level vulnerabilities.
+
+
+ :param high: The high of this VulnerabilitiesSummary.
+ :type: int
+ """
+ self._high = high
+
+ @property
+ def medium(self):
+ """
+ **[Required]** Gets the medium of this VulnerabilitiesSummary.
+ Cummulative number of resources that have medium level vulnerabilities.
+
+
+ :return: The medium of this VulnerabilitiesSummary.
+ :rtype: int
+ """
+ return self._medium
+
+ @medium.setter
+ def medium(self, medium):
+ """
+ Sets the medium of this VulnerabilitiesSummary.
+ Cummulative number of resources that have medium level vulnerabilities.
+
+
+ :param medium: The medium of this VulnerabilitiesSummary.
+ :type: int
+ """
+ self._medium = medium
+
+ @property
+ def info(self):
+ """
+ **[Required]** Gets the info of this VulnerabilitiesSummary.
+ Cummulative number of resources that have info level vulnerabilities.
+
+
+ :return: The info of this VulnerabilitiesSummary.
+ :rtype: int
+ """
+ return self._info
+
+ @info.setter
+ def info(self, info):
+ """
+ Sets the info of this VulnerabilitiesSummary.
+ Cummulative number of resources that have info level vulnerabilities.
+
+
+ :param info: The info of this VulnerabilitiesSummary.
+ :type: int
+ """
+ self._info = info
+
+ @property
+ def low(self):
+ """
+ **[Required]** Gets the low of this VulnerabilitiesSummary.
+ Cummulative number of resources that have low level vulnerabilities.
+
+
+ :return: The low of this VulnerabilitiesSummary.
+ :rtype: int
+ """
+ return self._low
+
+ @low.setter
+ def low(self, low):
+ """
+ Sets the low of this VulnerabilitiesSummary.
+ Cummulative number of resources that have low level vulnerabilities.
+
+
+ :param low: The low of this VulnerabilitiesSummary.
+ :type: int
+ """
+ self._low = low
+
+ 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/dblm/models/vulnerability_collection.py b/src/oci/dblm/models/vulnerability_collection.py
new file mode 100644
index 0000000000..cedbd4c093
--- /dev/null
+++ b/src/oci/dblm/models/vulnerability_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilityCollection(object):
+ """
+ Collection of vulnerabilities, with aggregation for resources.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilityCollection 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 VulnerabilityCollection.
+ :type items: list[oci.dblm.models.VulnerabilitySummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[VulnerabilitySummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this VulnerabilityCollection.
+ Collection of vulnerability summary items.
+
+
+ :return: The items of this VulnerabilityCollection.
+ :rtype: list[oci.dblm.models.VulnerabilitySummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this VulnerabilityCollection.
+ Collection of vulnerability summary items.
+
+
+ :param items: The items of this VulnerabilityCollection.
+ :type: list[oci.dblm.models.VulnerabilitySummary]
+ """
+ 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/dblm/models/vulnerability_resource_collection.py b/src/oci/dblm/models/vulnerability_resource_collection.py
new file mode 100644
index 0000000000..61d4803214
--- /dev/null
+++ b/src/oci/dblm/models/vulnerability_resource_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilityResourceCollection(object):
+ """
+ Collection of assessed resources that may or may not have vulnerabilities
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilityResourceCollection 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 VulnerabilityResourceCollection.
+ :type items: list[oci.dblm.models.VulnerabilityResourceSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[VulnerabilityResourceSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this VulnerabilityResourceCollection.
+ Collection of assessed resources
+
+
+ :return: The items of this VulnerabilityResourceCollection.
+ :rtype: list[oci.dblm.models.VulnerabilityResourceSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this VulnerabilityResourceCollection.
+ Collection of assessed resources
+
+
+ :param items: The items of this VulnerabilityResourceCollection.
+ :type: list[oci.dblm.models.VulnerabilityResourceSummary]
+ """
+ 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/dblm/models/vulnerability_resource_summary.py b/src/oci/dblm/models/vulnerability_resource_summary.py
new file mode 100644
index 0000000000..f36d50e6b7
--- /dev/null
+++ b/src/oci/dblm/models/vulnerability_resource_summary.py
@@ -0,0 +1,475 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilityResourceSummary(object):
+ """
+ The assessed Resources.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilityResourceSummary 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 VulnerabilityResourceSummary.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this VulnerabilityResourceSummary.
+ :type name: str
+
+ :param version:
+ The value to assign to the version property of this VulnerabilityResourceSummary.
+ :type version: str
+
+ :param release:
+ The value to assign to the release property of this VulnerabilityResourceSummary.
+ :type release: str
+
+ :param platform:
+ The value to assign to the platform property of this VulnerabilityResourceSummary.
+ :type platform: str
+
+ :param time_config_collected:
+ The value to assign to the time_config_collected property of this VulnerabilityResourceSummary.
+ :type time_config_collected: datetime
+
+ :param time_scan_ended:
+ The value to assign to the time_scan_ended property of this VulnerabilityResourceSummary.
+ :type time_scan_ended: datetime
+
+ :param image_id:
+ The value to assign to the image_id property of this VulnerabilityResourceSummary.
+ :type image_id: str
+
+ :param subscribed_image:
+ The value to assign to the subscribed_image property of this VulnerabilityResourceSummary.
+ :type subscribed_image: str
+
+ :param metric_errors:
+ The value to assign to the metric_errors property of this VulnerabilityResourceSummary.
+ :type metric_errors: list[oci.dblm.models.MetricError]
+
+ :param child_pdbs:
+ The value to assign to the child_pdbs property of this VulnerabilityResourceSummary.
+ :type child_pdbs: list[oci.dblm.models.ChildPdb]
+
+ :param vulnerabilities_summary:
+ The value to assign to the vulnerabilities_summary property of this VulnerabilityResourceSummary.
+ :type vulnerabilities_summary: object
+
+ :param patch_recommendations_summary:
+ The value to assign to the patch_recommendations_summary property of this VulnerabilityResourceSummary.
+ :type patch_recommendations_summary: object
+
+ :param patch_recommendations_details:
+ The value to assign to the patch_recommendations_details property of this VulnerabilityResourceSummary.
+ :type patch_recommendations_details: list[oci.dblm.models.PatchRecommendationsDetailsSummary]
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'name': 'str',
+ 'version': 'str',
+ 'release': 'str',
+ 'platform': 'str',
+ 'time_config_collected': 'datetime',
+ 'time_scan_ended': 'datetime',
+ 'image_id': 'str',
+ 'subscribed_image': 'str',
+ 'metric_errors': 'list[MetricError]',
+ 'child_pdbs': 'list[ChildPdb]',
+ 'vulnerabilities_summary': 'object',
+ 'patch_recommendations_summary': 'object',
+ 'patch_recommendations_details': 'list[PatchRecommendationsDetailsSummary]'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'name': 'name',
+ 'version': 'version',
+ 'release': 'release',
+ 'platform': 'platform',
+ 'time_config_collected': 'timeConfigCollected',
+ 'time_scan_ended': 'timeScanEnded',
+ 'image_id': 'imageId',
+ 'subscribed_image': 'subscribedImage',
+ 'metric_errors': 'metricErrors',
+ 'child_pdbs': 'childPdbs',
+ 'vulnerabilities_summary': 'vulnerabilitiesSummary',
+ 'patch_recommendations_summary': 'patchRecommendationsSummary',
+ 'patch_recommendations_details': 'patchRecommendationsDetails'
+ }
+
+ self._id = None
+ self._name = None
+ self._version = None
+ self._release = None
+ self._platform = None
+ self._time_config_collected = None
+ self._time_scan_ended = None
+ self._image_id = None
+ self._subscribed_image = None
+ self._metric_errors = None
+ self._child_pdbs = None
+ self._vulnerabilities_summary = None
+ self._patch_recommendations_summary = None
+ self._patch_recommendations_details = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this VulnerabilityResourceSummary.
+ The resource ID for this resource.
+
+
+ :return: The id of this VulnerabilityResourceSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this VulnerabilityResourceSummary.
+ The resource ID for this resource.
+
+
+ :param id: The id of this VulnerabilityResourceSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this VulnerabilityResourceSummary.
+ The name of the resource.
+
+
+ :return: The name of this VulnerabilityResourceSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this VulnerabilityResourceSummary.
+ The name of the resource.
+
+
+ :param name: The name of this VulnerabilityResourceSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def version(self):
+ """
+ **[Required]** Gets the version of this VulnerabilityResourceSummary.
+ A string representing the version of the resource.
+
+
+ :return: The version of this VulnerabilityResourceSummary.
+ :rtype: str
+ """
+ return self._version
+
+ @version.setter
+ def version(self, version):
+ """
+ Sets the version of this VulnerabilityResourceSummary.
+ A string representing the version of the resource.
+
+
+ :param version: The version of this VulnerabilityResourceSummary.
+ :type: str
+ """
+ self._version = version
+
+ @property
+ def release(self):
+ """
+ **[Required]** Gets the release of this VulnerabilityResourceSummary.
+ A string representing the release of the resource.
+
+
+ :return: The release of this VulnerabilityResourceSummary.
+ :rtype: str
+ """
+ return self._release
+
+ @release.setter
+ def release(self, release):
+ """
+ Sets the release of this VulnerabilityResourceSummary.
+ A string representing the release of the resource.
+
+
+ :param release: The release of this VulnerabilityResourceSummary.
+ :type: str
+ """
+ self._release = release
+
+ @property
+ def platform(self):
+ """
+ **[Required]** Gets the platform of this VulnerabilityResourceSummary.
+ A string representing the platform of the resource.
+
+
+ :return: The platform of this VulnerabilityResourceSummary.
+ :rtype: str
+ """
+ return self._platform
+
+ @platform.setter
+ def platform(self, platform):
+ """
+ Sets the platform of this VulnerabilityResourceSummary.
+ A string representing the platform of the resource.
+
+
+ :param platform: The platform of this VulnerabilityResourceSummary.
+ :type: str
+ """
+ self._platform = platform
+
+ @property
+ def time_config_collected(self):
+ """
+ **[Required]** Gets the time_config_collected of this VulnerabilityResourceSummary.
+ Time when the latest configuration collection happened.
+
+
+ :return: The time_config_collected of this VulnerabilityResourceSummary.
+ :rtype: datetime
+ """
+ return self._time_config_collected
+
+ @time_config_collected.setter
+ def time_config_collected(self, time_config_collected):
+ """
+ Sets the time_config_collected of this VulnerabilityResourceSummary.
+ Time when the latest configuration collection happened.
+
+
+ :param time_config_collected: The time_config_collected of this VulnerabilityResourceSummary.
+ :type: datetime
+ """
+ self._time_config_collected = time_config_collected
+
+ @property
+ def time_scan_ended(self):
+ """
+ **[Required]** Gets the time_scan_ended of this VulnerabilityResourceSummary.
+ Time when the latest scan happened for the resource.
+
+
+ :return: The time_scan_ended of this VulnerabilityResourceSummary.
+ :rtype: datetime
+ """
+ return self._time_scan_ended
+
+ @time_scan_ended.setter
+ def time_scan_ended(self, time_scan_ended):
+ """
+ Sets the time_scan_ended of this VulnerabilityResourceSummary.
+ Time when the latest scan happened for the resource.
+
+
+ :param time_scan_ended: The time_scan_ended of this VulnerabilityResourceSummary.
+ :type: datetime
+ """
+ self._time_scan_ended = time_scan_ended
+
+ @property
+ def image_id(self):
+ """
+ **[Required]** Gets the image_id of this VulnerabilityResourceSummary.
+ Identifier for the resource is subscribed to.
+
+
+ :return: The image_id of this VulnerabilityResourceSummary.
+ :rtype: str
+ """
+ return self._image_id
+
+ @image_id.setter
+ def image_id(self, image_id):
+ """
+ Sets the image_id of this VulnerabilityResourceSummary.
+ Identifier for the resource is subscribed to.
+
+
+ :param image_id: The image_id of this VulnerabilityResourceSummary.
+ :type: str
+ """
+ self._image_id = image_id
+
+ @property
+ def subscribed_image(self):
+ """
+ **[Required]** Gets the subscribed_image of this VulnerabilityResourceSummary.
+ Image the resource is subscribed to.
+
+
+ :return: The subscribed_image of this VulnerabilityResourceSummary.
+ :rtype: str
+ """
+ return self._subscribed_image
+
+ @subscribed_image.setter
+ def subscribed_image(self, subscribed_image):
+ """
+ Sets the subscribed_image of this VulnerabilityResourceSummary.
+ Image the resource is subscribed to.
+
+
+ :param subscribed_image: The subscribed_image of this VulnerabilityResourceSummary.
+ :type: str
+ """
+ self._subscribed_image = subscribed_image
+
+ @property
+ def metric_errors(self):
+ """
+ **[Required]** Gets the metric_errors of this VulnerabilityResourceSummary.
+ Metric errors.
+
+
+ :return: The metric_errors of this VulnerabilityResourceSummary.
+ :rtype: list[oci.dblm.models.MetricError]
+ """
+ return self._metric_errors
+
+ @metric_errors.setter
+ def metric_errors(self, metric_errors):
+ """
+ Sets the metric_errors of this VulnerabilityResourceSummary.
+ Metric errors.
+
+
+ :param metric_errors: The metric_errors of this VulnerabilityResourceSummary.
+ :type: list[oci.dblm.models.MetricError]
+ """
+ self._metric_errors = metric_errors
+
+ @property
+ def child_pdbs(self):
+ """
+ **[Required]** Gets the child_pdbs of this VulnerabilityResourceSummary.
+ PDBs for a CDB.
+
+
+ :return: The child_pdbs of this VulnerabilityResourceSummary.
+ :rtype: list[oci.dblm.models.ChildPdb]
+ """
+ return self._child_pdbs
+
+ @child_pdbs.setter
+ def child_pdbs(self, child_pdbs):
+ """
+ Sets the child_pdbs of this VulnerabilityResourceSummary.
+ PDBs for a CDB.
+
+
+ :param child_pdbs: The child_pdbs of this VulnerabilityResourceSummary.
+ :type: list[oci.dblm.models.ChildPdb]
+ """
+ self._child_pdbs = child_pdbs
+
+ @property
+ def vulnerabilities_summary(self):
+ """
+ **[Required]** Gets the vulnerabilities_summary of this VulnerabilityResourceSummary.
+ Summary of the resources that are registered and may or may not have vulnerabilities.
+
+
+ :return: The vulnerabilities_summary of this VulnerabilityResourceSummary.
+ :rtype: object
+ """
+ return self._vulnerabilities_summary
+
+ @vulnerabilities_summary.setter
+ def vulnerabilities_summary(self, vulnerabilities_summary):
+ """
+ Sets the vulnerabilities_summary of this VulnerabilityResourceSummary.
+ Summary of the resources that are registered and may or may not have vulnerabilities.
+
+
+ :param vulnerabilities_summary: The vulnerabilities_summary of this VulnerabilityResourceSummary.
+ :type: object
+ """
+ self._vulnerabilities_summary = vulnerabilities_summary
+
+ @property
+ def patch_recommendations_summary(self):
+ """
+ **[Required]** Gets the patch_recommendations_summary of this VulnerabilityResourceSummary.
+ Summary of the patch recommendations for databases.
+
+
+ :return: The patch_recommendations_summary of this VulnerabilityResourceSummary.
+ :rtype: object
+ """
+ return self._patch_recommendations_summary
+
+ @patch_recommendations_summary.setter
+ def patch_recommendations_summary(self, patch_recommendations_summary):
+ """
+ Sets the patch_recommendations_summary of this VulnerabilityResourceSummary.
+ Summary of the patch recommendations for databases.
+
+
+ :param patch_recommendations_summary: The patch_recommendations_summary of this VulnerabilityResourceSummary.
+ :type: object
+ """
+ self._patch_recommendations_summary = patch_recommendations_summary
+
+ @property
+ def patch_recommendations_details(self):
+ """
+ **[Required]** Gets the patch_recommendations_details of this VulnerabilityResourceSummary.
+ List of the patch recommendations for databases
+
+
+ :return: The patch_recommendations_details of this VulnerabilityResourceSummary.
+ :rtype: list[oci.dblm.models.PatchRecommendationsDetailsSummary]
+ """
+ return self._patch_recommendations_details
+
+ @patch_recommendations_details.setter
+ def patch_recommendations_details(self, patch_recommendations_details):
+ """
+ Sets the patch_recommendations_details of this VulnerabilityResourceSummary.
+ List of the patch recommendations for databases
+
+
+ :param patch_recommendations_details: The patch_recommendations_details of this VulnerabilityResourceSummary.
+ :type: list[oci.dblm.models.PatchRecommendationsDetailsSummary]
+ """
+ self._patch_recommendations_details = patch_recommendations_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/dblm/models/vulnerability_scan.py b/src/oci/dblm/models/vulnerability_scan.py
new file mode 100644
index 0000000000..ec13b27bb9
--- /dev/null
+++ b/src/oci/dblm/models/vulnerability_scan.py
@@ -0,0 +1,525 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilityScan(object):
+ """
+ A VulnerabilityScan is a description of a VulnerabilityScan.
+
+ 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.cloud.oracle.com/iaas/Content/Identity/policiesgs/get-started-with-policies.htm
+ """
+
+ #: A constant which can be used with the vulnerability_scan_type property of a VulnerabilityScan.
+ #: This constant has a value of "CVE"
+ VULNERABILITY_SCAN_TYPE_CVE = "CVE"
+
+ #: A constant which can be used with the vulnerability_scan_type property of a VulnerabilityScan.
+ #: This constant has a value of "PATCH"
+ VULNERABILITY_SCAN_TYPE_PATCH = "PATCH"
+
+ #: A constant which can be used with the vulnerability_scan_type property of a VulnerabilityScan.
+ #: This constant has a value of "IMAGE_PATCH"
+ VULNERABILITY_SCAN_TYPE_IMAGE_PATCH = "IMAGE_PATCH"
+
+ #: A constant which can be used with the vulnerability_scan_status property of a VulnerabilityScan.
+ #: This constant has a value of "COMPLETED"
+ VULNERABILITY_SCAN_STATUS_COMPLETED = "COMPLETED"
+
+ #: A constant which can be used with the vulnerability_scan_status property of a VulnerabilityScan.
+ #: This constant has a value of "ERROR"
+ VULNERABILITY_SCAN_STATUS_ERROR = "ERROR"
+
+ #: A constant which can be used with the vulnerability_scan_status property of a VulnerabilityScan.
+ #: This constant has a value of "RUNNING"
+ VULNERABILITY_SCAN_STATUS_RUNNING = "RUNNING"
+
+ #: A constant which can be used with the vulnerability_scan_status property of a VulnerabilityScan.
+ #: This constant has a value of "ABORTED"
+ VULNERABILITY_SCAN_STATUS_ABORTED = "ABORTED"
+
+ #: A constant which can be used with the lifecycle_state property of a VulnerabilityScan.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a VulnerabilityScan.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a VulnerabilityScan.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a VulnerabilityScan.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a VulnerabilityScan.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ #: A constant which can be used with the lifecycle_state property of a VulnerabilityScan.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilityScan 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 VulnerabilityScan.
+ :type id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this VulnerabilityScan.
+ :type display_name: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this VulnerabilityScan.
+ :type compartment_id: str
+
+ :param vulnerability_scan_type:
+ The value to assign to the vulnerability_scan_type property of this VulnerabilityScan.
+ Allowed values for this property are: "CVE", "PATCH", "IMAGE_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type vulnerability_scan_type: str
+
+ :param vulnerability_scan_status:
+ The value to assign to the vulnerability_scan_status property of this VulnerabilityScan.
+ Allowed values for this property are: "COMPLETED", "ERROR", "RUNNING", "ABORTED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type vulnerability_scan_status: str
+
+ :param vulnerability_scan_message:
+ The value to assign to the vulnerability_scan_message property of this VulnerabilityScan.
+ :type vulnerability_scan_message: str
+
+ :param time_created:
+ The value to assign to the time_created property of this VulnerabilityScan.
+ :type time_created: datetime
+
+ :param time_ended:
+ The value to assign to the time_ended property of this VulnerabilityScan.
+ :type time_ended: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this VulnerabilityScan.
+ Allowed values for this property are: "CREATING", "UPDATING", "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 freeform_tags:
+ The value to assign to the freeform_tags property of this VulnerabilityScan.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this VulnerabilityScan.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this VulnerabilityScan.
+ :type system_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'display_name': 'str',
+ 'compartment_id': 'str',
+ 'vulnerability_scan_type': 'str',
+ 'vulnerability_scan_status': 'str',
+ 'vulnerability_scan_message': 'str',
+ 'time_created': 'datetime',
+ 'time_ended': 'datetime',
+ 'lifecycle_state': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'display_name': 'displayName',
+ 'compartment_id': 'compartmentId',
+ 'vulnerability_scan_type': 'vulnerabilityScanType',
+ 'vulnerability_scan_status': 'vulnerabilityScanStatus',
+ 'vulnerability_scan_message': 'vulnerabilityScanMessage',
+ 'time_created': 'timeCreated',
+ 'time_ended': 'timeEnded',
+ 'lifecycle_state': 'lifecycleState',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags'
+ }
+
+ self._id = None
+ self._display_name = None
+ self._compartment_id = None
+ self._vulnerability_scan_type = None
+ self._vulnerability_scan_status = None
+ self._vulnerability_scan_message = None
+ self._time_created = None
+ self._time_ended = None
+ self._lifecycle_state = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this VulnerabilityScan.
+ The `OCID`__ of the VulnerabilityScan.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this VulnerabilityScan.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this VulnerabilityScan.
+ The `OCID`__ of the VulnerabilityScan.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this VulnerabilityScan.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this VulnerabilityScan.
+ A user-friendly name. It does not have to be unique, and it is changeable.
+
+
+ :return: The display_name of this VulnerabilityScan.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this VulnerabilityScan.
+ A user-friendly name. It does not have to be unique, and it is changeable.
+
+
+ :param display_name: The display_name of this VulnerabilityScan.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this VulnerabilityScan.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this VulnerabilityScan.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this VulnerabilityScan.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this VulnerabilityScan.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def vulnerability_scan_type(self):
+ """
+ **[Required]** Gets the vulnerability_scan_type of this VulnerabilityScan.
+ Scan type is CVE, PATCH or IMAGE_PATCH
+
+ Allowed values for this property are: "CVE", "PATCH", "IMAGE_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The vulnerability_scan_type of this VulnerabilityScan.
+ :rtype: str
+ """
+ return self._vulnerability_scan_type
+
+ @vulnerability_scan_type.setter
+ def vulnerability_scan_type(self, vulnerability_scan_type):
+ """
+ Sets the vulnerability_scan_type of this VulnerabilityScan.
+ Scan type is CVE, PATCH or IMAGE_PATCH
+
+
+ :param vulnerability_scan_type: The vulnerability_scan_type of this VulnerabilityScan.
+ :type: str
+ """
+ allowed_values = ["CVE", "PATCH", "IMAGE_PATCH"]
+ if not value_allowed_none_or_none_sentinel(vulnerability_scan_type, allowed_values):
+ vulnerability_scan_type = 'UNKNOWN_ENUM_VALUE'
+ self._vulnerability_scan_type = vulnerability_scan_type
+
+ @property
+ def vulnerability_scan_status(self):
+ """
+ **[Required]** Gets the vulnerability_scan_status of this VulnerabilityScan.
+ The status of the vulnerability scan.
+
+ Allowed values for this property are: "COMPLETED", "ERROR", "RUNNING", "ABORTED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The vulnerability_scan_status of this VulnerabilityScan.
+ :rtype: str
+ """
+ return self._vulnerability_scan_status
+
+ @vulnerability_scan_status.setter
+ def vulnerability_scan_status(self, vulnerability_scan_status):
+ """
+ Sets the vulnerability_scan_status of this VulnerabilityScan.
+ The status of the vulnerability scan.
+
+
+ :param vulnerability_scan_status: The vulnerability_scan_status of this VulnerabilityScan.
+ :type: str
+ """
+ allowed_values = ["COMPLETED", "ERROR", "RUNNING", "ABORTED"]
+ if not value_allowed_none_or_none_sentinel(vulnerability_scan_status, allowed_values):
+ vulnerability_scan_status = 'UNKNOWN_ENUM_VALUE'
+ self._vulnerability_scan_status = vulnerability_scan_status
+
+ @property
+ def vulnerability_scan_message(self):
+ """
+ **[Required]** Gets the vulnerability_scan_message of this VulnerabilityScan.
+ The message of the vulnerability scan status.
+
+
+ :return: The vulnerability_scan_message of this VulnerabilityScan.
+ :rtype: str
+ """
+ return self._vulnerability_scan_message
+
+ @vulnerability_scan_message.setter
+ def vulnerability_scan_message(self, vulnerability_scan_message):
+ """
+ Sets the vulnerability_scan_message of this VulnerabilityScan.
+ The message of the vulnerability scan status.
+
+
+ :param vulnerability_scan_message: The vulnerability_scan_message of this VulnerabilityScan.
+ :type: str
+ """
+ self._vulnerability_scan_message = vulnerability_scan_message
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this VulnerabilityScan.
+ The date and time the VulnerabilityScan was created, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this VulnerabilityScan.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this VulnerabilityScan.
+ The date and time the VulnerabilityScan was created, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this VulnerabilityScan.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_ended(self):
+ """
+ **[Required]** Gets the time_ended of this VulnerabilityScan.
+ The date and time the VulnerabilityScan was updated, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_ended of this VulnerabilityScan.
+ :rtype: datetime
+ """
+ return self._time_ended
+
+ @time_ended.setter
+ def time_ended(self, time_ended):
+ """
+ Sets the time_ended of this VulnerabilityScan.
+ The date and time the VulnerabilityScan was updated, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_ended: The time_ended of this VulnerabilityScan.
+ :type: datetime
+ """
+ self._time_ended = time_ended
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this VulnerabilityScan.
+ The current state of the VulnerabilityScan.
+
+ Allowed values for this property are: "CREATING", "UPDATING", "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 VulnerabilityScan.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this VulnerabilityScan.
+ The current state of the VulnerabilityScan.
+
+
+ :param lifecycle_state: The lifecycle_state of this VulnerabilityScan.
+ :type: str
+ """
+ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this VulnerabilityScan.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this VulnerabilityScan.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this VulnerabilityScan.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this VulnerabilityScan.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this VulnerabilityScan.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :return: The defined_tags of this VulnerabilityScan.
+ :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 VulnerabilityScan.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :param defined_tags: The defined_tags of this VulnerabilityScan.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this VulnerabilityScan.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :return: The system_tags of this VulnerabilityScan.
+ :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 VulnerabilityScan.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :param system_tags: The system_tags of this VulnerabilityScan.
+ :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/dblm/models/vulnerability_scan_collection.py b/src/oci/dblm/models/vulnerability_scan_collection.py
new file mode 100644
index 0000000000..ca2bb8ad6f
--- /dev/null
+++ b/src/oci/dblm/models/vulnerability_scan_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilityScanCollection(object):
+ """
+ Results of a VulnerabilityScan search. Contains list of VulnerabilityScanSummary items.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilityScanCollection 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 VulnerabilityScanCollection.
+ :type items: list[oci.dblm.models.VulnerabilityScanSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[VulnerabilityScanSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this VulnerabilityScanCollection.
+ List of VulnerabilityScans.
+
+
+ :return: The items of this VulnerabilityScanCollection.
+ :rtype: list[oci.dblm.models.VulnerabilityScanSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this VulnerabilityScanCollection.
+ List of VulnerabilityScans.
+
+
+ :param items: The items of this VulnerabilityScanCollection.
+ :type: list[oci.dblm.models.VulnerabilityScanSummary]
+ """
+ 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/dblm/models/vulnerability_scan_summary.py b/src/oci/dblm/models/vulnerability_scan_summary.py
new file mode 100644
index 0000000000..0b5d92cbfb
--- /dev/null
+++ b/src/oci/dblm/models/vulnerability_scan_summary.py
@@ -0,0 +1,443 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilityScanSummary(object):
+ """
+ Summary information about a VulnerabilityScan.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilityScanSummary 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 VulnerabilityScanSummary.
+ :type id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this VulnerabilityScanSummary.
+ :type display_name: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this VulnerabilityScanSummary.
+ :type compartment_id: str
+
+ :param vulnerability_scan_type:
+ The value to assign to the vulnerability_scan_type property of this VulnerabilityScanSummary.
+ :type vulnerability_scan_type: str
+
+ :param vulnerability_scan_status:
+ The value to assign to the vulnerability_scan_status property of this VulnerabilityScanSummary.
+ :type vulnerability_scan_status: str
+
+ :param vulnerability_scan_message:
+ The value to assign to the vulnerability_scan_message property of this VulnerabilityScanSummary.
+ :type vulnerability_scan_message: str
+
+ :param time_created:
+ The value to assign to the time_created property of this VulnerabilityScanSummary.
+ :type time_created: datetime
+
+ :param time_ended:
+ The value to assign to the time_ended property of this VulnerabilityScanSummary.
+ :type time_ended: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this VulnerabilityScanSummary.
+ :type lifecycle_state: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this VulnerabilityScanSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this VulnerabilityScanSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this VulnerabilityScanSummary.
+ :type system_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'display_name': 'str',
+ 'compartment_id': 'str',
+ 'vulnerability_scan_type': 'str',
+ 'vulnerability_scan_status': 'str',
+ 'vulnerability_scan_message': 'str',
+ 'time_created': 'datetime',
+ 'time_ended': 'datetime',
+ 'lifecycle_state': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'display_name': 'displayName',
+ 'compartment_id': 'compartmentId',
+ 'vulnerability_scan_type': 'vulnerabilityScanType',
+ 'vulnerability_scan_status': 'vulnerabilityScanStatus',
+ 'vulnerability_scan_message': 'vulnerabilityScanMessage',
+ 'time_created': 'timeCreated',
+ 'time_ended': 'timeEnded',
+ 'lifecycle_state': 'lifecycleState',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags'
+ }
+
+ self._id = None
+ self._display_name = None
+ self._compartment_id = None
+ self._vulnerability_scan_type = None
+ self._vulnerability_scan_status = None
+ self._vulnerability_scan_message = None
+ self._time_created = None
+ self._time_ended = None
+ self._lifecycle_state = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this VulnerabilityScanSummary.
+ The `OCID`__ of the VulnerabilityScan.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this VulnerabilityScanSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this VulnerabilityScanSummary.
+ The `OCID`__ of the VulnerabilityScan.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this VulnerabilityScanSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this VulnerabilityScanSummary.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+
+
+ :return: The display_name of this VulnerabilityScanSummary.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this VulnerabilityScanSummary.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+
+
+ :param display_name: The display_name of this VulnerabilityScanSummary.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this VulnerabilityScanSummary.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this VulnerabilityScanSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this VulnerabilityScanSummary.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this VulnerabilityScanSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def vulnerability_scan_type(self):
+ """
+ **[Required]** Gets the vulnerability_scan_type of this VulnerabilityScanSummary.
+ Vulnerability Scan Type.
+
+
+ :return: The vulnerability_scan_type of this VulnerabilityScanSummary.
+ :rtype: str
+ """
+ return self._vulnerability_scan_type
+
+ @vulnerability_scan_type.setter
+ def vulnerability_scan_type(self, vulnerability_scan_type):
+ """
+ Sets the vulnerability_scan_type of this VulnerabilityScanSummary.
+ Vulnerability Scan Type.
+
+
+ :param vulnerability_scan_type: The vulnerability_scan_type of this VulnerabilityScanSummary.
+ :type: str
+ """
+ self._vulnerability_scan_type = vulnerability_scan_type
+
+ @property
+ def vulnerability_scan_status(self):
+ """
+ **[Required]** Gets the vulnerability_scan_status of this VulnerabilityScanSummary.
+ The status of the scan.
+
+
+ :return: The vulnerability_scan_status of this VulnerabilityScanSummary.
+ :rtype: str
+ """
+ return self._vulnerability_scan_status
+
+ @vulnerability_scan_status.setter
+ def vulnerability_scan_status(self, vulnerability_scan_status):
+ """
+ Sets the vulnerability_scan_status of this VulnerabilityScanSummary.
+ The status of the scan.
+
+
+ :param vulnerability_scan_status: The vulnerability_scan_status of this VulnerabilityScanSummary.
+ :type: str
+ """
+ self._vulnerability_scan_status = vulnerability_scan_status
+
+ @property
+ def vulnerability_scan_message(self):
+ """
+ **[Required]** Gets the vulnerability_scan_message of this VulnerabilityScanSummary.
+ The message of the scan status.
+
+
+ :return: The vulnerability_scan_message of this VulnerabilityScanSummary.
+ :rtype: str
+ """
+ return self._vulnerability_scan_message
+
+ @vulnerability_scan_message.setter
+ def vulnerability_scan_message(self, vulnerability_scan_message):
+ """
+ Sets the vulnerability_scan_message of this VulnerabilityScanSummary.
+ The message of the scan status.
+
+
+ :param vulnerability_scan_message: The vulnerability_scan_message of this VulnerabilityScanSummary.
+ :type: str
+ """
+ self._vulnerability_scan_message = vulnerability_scan_message
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this VulnerabilityScanSummary.
+ The date and time the VulnerabilityScan was created, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this VulnerabilityScanSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this VulnerabilityScanSummary.
+ The date and time the VulnerabilityScan was created, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this VulnerabilityScanSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_ended(self):
+ """
+ **[Required]** Gets the time_ended of this VulnerabilityScanSummary.
+ The date and time the VulnerabilityScan was updated, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_ended of this VulnerabilityScanSummary.
+ :rtype: datetime
+ """
+ return self._time_ended
+
+ @time_ended.setter
+ def time_ended(self, time_ended):
+ """
+ Sets the time_ended of this VulnerabilityScanSummary.
+ The date and time the VulnerabilityScan was updated, in the format defined by `RFC 3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_ended: The time_ended of this VulnerabilityScanSummary.
+ :type: datetime
+ """
+ self._time_ended = time_ended
+
+ @property
+ def lifecycle_state(self):
+ """
+ Gets the lifecycle_state of this VulnerabilityScanSummary.
+ The current state of the PatchOperation.
+
+
+ :return: The lifecycle_state of this VulnerabilityScanSummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this VulnerabilityScanSummary.
+ The current state of the PatchOperation.
+
+
+ :param lifecycle_state: The lifecycle_state of this VulnerabilityScanSummary.
+ :type: str
+ """
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this VulnerabilityScanSummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this VulnerabilityScanSummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this VulnerabilityScanSummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this VulnerabilityScanSummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this VulnerabilityScanSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :return: The defined_tags of this VulnerabilityScanSummary.
+ :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 VulnerabilityScanSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :param defined_tags: The defined_tags of this VulnerabilityScanSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this VulnerabilityScanSummary.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :return: The system_tags of this VulnerabilityScanSummary.
+ :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 VulnerabilityScanSummary.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :param system_tags: The system_tags of this VulnerabilityScanSummary.
+ :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/dblm/models/vulnerability_summary.py b/src/oci/dblm/models/vulnerability_summary.py
new file mode 100644
index 0000000000..dd889bde92
--- /dev/null
+++ b/src/oci/dblm/models/vulnerability_summary.py
@@ -0,0 +1,196 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 VulnerabilitySummary(object):
+ """
+ The vulnerability summary.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VulnerabilitySummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param cve_id:
+ The value to assign to the cve_id property of this VulnerabilitySummary.
+ :type cve_id: str
+
+ :param description:
+ The value to assign to the description property of this VulnerabilitySummary.
+ :type description: str
+
+ :param risk_level:
+ The value to assign to the risk_level property of this VulnerabilitySummary.
+ :type risk_level: str
+
+ :param score:
+ The value to assign to the score property of this VulnerabilitySummary.
+ :type score: str
+
+ :param vulnerable_resources_count:
+ The value to assign to the vulnerable_resources_count property of this VulnerabilitySummary.
+ :type vulnerable_resources_count: int
+
+ """
+ self.swagger_types = {
+ 'cve_id': 'str',
+ 'description': 'str',
+ 'risk_level': 'str',
+ 'score': 'str',
+ 'vulnerable_resources_count': 'int'
+ }
+
+ self.attribute_map = {
+ 'cve_id': 'cveId',
+ 'description': 'description',
+ 'risk_level': 'riskLevel',
+ 'score': 'score',
+ 'vulnerable_resources_count': 'vulnerableResourcesCount'
+ }
+
+ self._cve_id = None
+ self._description = None
+ self._risk_level = None
+ self._score = None
+ self._vulnerable_resources_count = None
+
+ @property
+ def cve_id(self):
+ """
+ **[Required]** Gets the cve_id of this VulnerabilitySummary.
+ CVE vulnerability ID
+
+
+ :return: The cve_id of this VulnerabilitySummary.
+ :rtype: str
+ """
+ return self._cve_id
+
+ @cve_id.setter
+ def cve_id(self, cve_id):
+ """
+ Sets the cve_id of this VulnerabilitySummary.
+ CVE vulnerability ID
+
+
+ :param cve_id: The cve_id of this VulnerabilitySummary.
+ :type: str
+ """
+ self._cve_id = cve_id
+
+ @property
+ def description(self):
+ """
+ **[Required]** Gets the description of this VulnerabilitySummary.
+ Vulnerability description
+
+
+ :return: The description of this VulnerabilitySummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this VulnerabilitySummary.
+ Vulnerability description
+
+
+ :param description: The description of this VulnerabilitySummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def risk_level(self):
+ """
+ **[Required]** Gets the risk_level of this VulnerabilitySummary.
+ Risk level enumeration
+
+
+ :return: The risk_level of this VulnerabilitySummary.
+ :rtype: str
+ """
+ return self._risk_level
+
+ @risk_level.setter
+ def risk_level(self, risk_level):
+ """
+ Sets the risk_level of this VulnerabilitySummary.
+ Risk level enumeration
+
+
+ :param risk_level: The risk_level of this VulnerabilitySummary.
+ :type: str
+ """
+ self._risk_level = risk_level
+
+ @property
+ def score(self):
+ """
+ **[Required]** Gets the score of this VulnerabilitySummary.
+ Vulnerability score
+
+
+ :return: The score of this VulnerabilitySummary.
+ :rtype: str
+ """
+ return self._score
+
+ @score.setter
+ def score(self, score):
+ """
+ Sets the score of this VulnerabilitySummary.
+ Vulnerability score
+
+
+ :param score: The score of this VulnerabilitySummary.
+ :type: str
+ """
+ self._score = score
+
+ @property
+ def vulnerable_resources_count(self):
+ """
+ **[Required]** Gets the vulnerable_resources_count of this VulnerabilitySummary.
+ Number of vulnerable resources
+
+
+ :return: The vulnerable_resources_count of this VulnerabilitySummary.
+ :rtype: int
+ """
+ return self._vulnerable_resources_count
+
+ @vulnerable_resources_count.setter
+ def vulnerable_resources_count(self, vulnerable_resources_count):
+ """
+ Sets the vulnerable_resources_count of this VulnerabilitySummary.
+ Number of vulnerable resources
+
+
+ :param vulnerable_resources_count: The vulnerable_resources_count of this VulnerabilitySummary.
+ :type: int
+ """
+ self._vulnerable_resources_count = vulnerable_resources_count
+
+ 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/dblm/models/work_request.py b/src/oci/dblm/models/work_request.py
new file mode 100644
index 0000000000..e2db2ac8e7
--- /dev/null
+++ b/src/oci/dblm/models/work_request.py
@@ -0,0 +1,426 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequest(object):
+ """
+ A description of workrequest status
+ """
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "DBLM_SUBSCRIBE"
+ OPERATION_TYPE_DBLM_SUBSCRIBE = "DBLM_SUBSCRIBE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "DBLM_ENABLE"
+ OPERATION_TYPE_DBLM_ENABLE = "DBLM_ENABLE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "SCAN_VUL_CVE"
+ OPERATION_TYPE_SCAN_VUL_CVE = "SCAN_VUL_CVE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "SCAN_VUL_PATCH"
+ OPERATION_TYPE_SCAN_VUL_PATCH = "SCAN_VUL_PATCH"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "SCAN_VUL_IMAGE"
+ OPERATION_TYPE_SCAN_VUL_IMAGE = "SCAN_VUL_IMAGE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "UPDATE_SUBSCRIPTION"
+ OPERATION_TYPE_UPDATE_SUBSCRIPTION = "UPDATE_SUBSCRIPTION"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "UPDATE_SUBSCRIBED_RESOURCE"
+ OPERATION_TYPE_UPDATE_SUBSCRIBED_RESOURCE = "UPDATE_SUBSCRIBED_RESOURCE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "CREATE_SHARED_DATASTORE"
+ OPERATION_TYPE_CREATE_SHARED_DATASTORE = "CREATE_SHARED_DATASTORE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "DELETE_SHARED_DATASTORE"
+ OPERATION_TYPE_DELETE_SHARED_DATASTORE = "DELETE_SHARED_DATASTORE"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "ACCEPTED"
+ STATUS_ACCEPTED = "ACCEPTED"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "IN_PROGRESS"
+ STATUS_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "WAITING"
+ STATUS_WAITING = "WAITING"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "NEEDS_ATTENTION"
+ STATUS_NEEDS_ATTENTION = "NEEDS_ATTENTION"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "FAILED"
+ STATUS_FAILED = "FAILED"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "SUCCEEDED"
+ STATUS_SUCCEEDED = "SUCCEEDED"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "CANCELING"
+ STATUS_CANCELING = "CANCELING"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "CANCELED"
+ STATUS_CANCELED = "CANCELED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequest object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param operation_type:
+ The value to assign to the operation_type property of this WorkRequest.
+ Allowed values for this property are: "DBLM_SUBSCRIBE", "DBLM_ENABLE", "SCAN_VUL_CVE", "SCAN_VUL_PATCH", "SCAN_VUL_IMAGE", "UPDATE_SUBSCRIPTION", "UPDATE_SUBSCRIBED_RESOURCE", "CREATE_SHARED_DATASTORE", "DELETE_SHARED_DATASTORE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type operation_type: str
+
+ :param status:
+ The value to assign to the status property of this WorkRequest.
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type status: str
+
+ :param id:
+ The value to assign to the id property of this WorkRequest.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this WorkRequest.
+ :type compartment_id: str
+
+ :param resources:
+ The value to assign to the resources property of this WorkRequest.
+ :type resources: list[oci.dblm.models.WorkRequestResource]
+
+ :param percent_complete:
+ The value to assign to the percent_complete property of this WorkRequest.
+ :type percent_complete: float
+
+ :param time_accepted:
+ The value to assign to the time_accepted property of this WorkRequest.
+ :type time_accepted: datetime
+
+ :param time_started:
+ The value to assign to the time_started property of this WorkRequest.
+ :type time_started: datetime
+
+ :param time_finished:
+ The value to assign to the time_finished property of this WorkRequest.
+ :type time_finished: datetime
+
+ """
+ self.swagger_types = {
+ 'operation_type': 'str',
+ 'status': 'str',
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'resources': 'list[WorkRequestResource]',
+ 'percent_complete': 'float',
+ 'time_accepted': 'datetime',
+ 'time_started': 'datetime',
+ 'time_finished': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'operation_type': 'operationType',
+ 'status': 'status',
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'resources': 'resources',
+ 'percent_complete': 'percentComplete',
+ 'time_accepted': 'timeAccepted',
+ 'time_started': 'timeStarted',
+ 'time_finished': 'timeFinished'
+ }
+
+ self._operation_type = None
+ self._status = None
+ self._id = None
+ self._compartment_id = None
+ self._resources = None
+ self._percent_complete = None
+ self._time_accepted = None
+ self._time_started = None
+ self._time_finished = None
+
+ @property
+ def operation_type(self):
+ """
+ **[Required]** Gets the operation_type of this WorkRequest.
+ Type of the work request
+
+ Allowed values for this property are: "DBLM_SUBSCRIBE", "DBLM_ENABLE", "SCAN_VUL_CVE", "SCAN_VUL_PATCH", "SCAN_VUL_IMAGE", "UPDATE_SUBSCRIPTION", "UPDATE_SUBSCRIBED_RESOURCE", "CREATE_SHARED_DATASTORE", "DELETE_SHARED_DATASTORE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The operation_type of this WorkRequest.
+ :rtype: str
+ """
+ return self._operation_type
+
+ @operation_type.setter
+ def operation_type(self, operation_type):
+ """
+ Sets the operation_type of this WorkRequest.
+ Type of the work request
+
+
+ :param operation_type: The operation_type of this WorkRequest.
+ :type: str
+ """
+ allowed_values = ["DBLM_SUBSCRIBE", "DBLM_ENABLE", "SCAN_VUL_CVE", "SCAN_VUL_PATCH", "SCAN_VUL_IMAGE", "UPDATE_SUBSCRIPTION", "UPDATE_SUBSCRIBED_RESOURCE", "CREATE_SHARED_DATASTORE", "DELETE_SHARED_DATASTORE"]
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
+ operation_type = 'UNKNOWN_ENUM_VALUE'
+ self._operation_type = operation_type
+
+ @property
+ def status(self):
+ """
+ **[Required]** Gets the status of this WorkRequest.
+ Status of current work request.
+
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The status of this WorkRequest.
+ :rtype: str
+ """
+ return self._status
+
+ @status.setter
+ def status(self, status):
+ """
+ Sets the status of this WorkRequest.
+ Status of current work request.
+
+
+ :param status: The status of this WorkRequest.
+ :type: str
+ """
+ allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
+ status = 'UNKNOWN_ENUM_VALUE'
+ self._status = status
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this WorkRequest.
+ The id of the work request.
+
+
+ :return: The id of this WorkRequest.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this WorkRequest.
+ The id of the work request.
+
+
+ :param id: The id of this WorkRequest.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this WorkRequest.
+ The ocid of the compartment that contains the work request. Work requests should be scoped to
+ the same compartment as the resource the work request affects. If the work request affects multiple resources,
+ and those resources are not in the same compartment, it is up to the service team to pick the primary
+ resource whose compartment should be used
+
+
+ :return: The compartment_id of this WorkRequest.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this WorkRequest.
+ The ocid of the compartment that contains the work request. Work requests should be scoped to
+ the same compartment as the resource the work request affects. If the work request affects multiple resources,
+ and those resources are not in the same compartment, it is up to the service team to pick the primary
+ resource whose compartment should be used
+
+
+ :param compartment_id: The compartment_id of this WorkRequest.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def resources(self):
+ """
+ **[Required]** Gets the resources of this WorkRequest.
+ The resources affected by this work request.
+
+
+ :return: The resources of this WorkRequest.
+ :rtype: list[oci.dblm.models.WorkRequestResource]
+ """
+ return self._resources
+
+ @resources.setter
+ def resources(self, resources):
+ """
+ Sets the resources of this WorkRequest.
+ The resources affected by this work request.
+
+
+ :param resources: The resources of this WorkRequest.
+ :type: list[oci.dblm.models.WorkRequestResource]
+ """
+ self._resources = resources
+
+ @property
+ def percent_complete(self):
+ """
+ **[Required]** Gets the percent_complete of this WorkRequest.
+ Percentage of the request completed.
+
+
+ :return: The percent_complete of this WorkRequest.
+ :rtype: float
+ """
+ return self._percent_complete
+
+ @percent_complete.setter
+ def percent_complete(self, percent_complete):
+ """
+ Sets the percent_complete of this WorkRequest.
+ Percentage of the request completed.
+
+
+ :param percent_complete: The percent_complete of this WorkRequest.
+ :type: float
+ """
+ self._percent_complete = percent_complete
+
+ @property
+ def time_accepted(self):
+ """
+ **[Required]** Gets the time_accepted of this WorkRequest.
+ The date and time the request was created, as described in
+ `RFC 3339`__, section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_accepted of this WorkRequest.
+ :rtype: datetime
+ """
+ return self._time_accepted
+
+ @time_accepted.setter
+ def time_accepted(self, time_accepted):
+ """
+ Sets the time_accepted of this WorkRequest.
+ The date and time the request was created, as described in
+ `RFC 3339`__, section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_accepted: The time_accepted of this WorkRequest.
+ :type: datetime
+ """
+ self._time_accepted = time_accepted
+
+ @property
+ def time_started(self):
+ """
+ Gets the time_started of this WorkRequest.
+ The date and time the request was started, as described in `RFC 3339`__,
+ section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_started of this WorkRequest.
+ :rtype: datetime
+ """
+ return self._time_started
+
+ @time_started.setter
+ def time_started(self, time_started):
+ """
+ Sets the time_started of this WorkRequest.
+ The date and time the request was started, as described in `RFC 3339`__,
+ section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_started: The time_started of this WorkRequest.
+ :type: datetime
+ """
+ self._time_started = time_started
+
+ @property
+ def time_finished(self):
+ """
+ Gets the time_finished of this WorkRequest.
+ The date and time the object was finished, as described in `RFC 3339`__.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_finished of this WorkRequest.
+ :rtype: datetime
+ """
+ return self._time_finished
+
+ @time_finished.setter
+ def time_finished(self, time_finished):
+ """
+ Sets the time_finished of this WorkRequest.
+ The date and time the object was finished, as described in `RFC 3339`__.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_finished: The time_finished of this WorkRequest.
+ :type: datetime
+ """
+ self._time_finished = time_finished
+
+ 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/dblm/models/work_request_error.py b/src/oci/dblm/models/work_request_error.py
new file mode 100644
index 0000000000..d9d64b1cfa
--- /dev/null
+++ b/src/oci/dblm/models/work_request_error.py
@@ -0,0 +1,136 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequestError(object):
+ """
+ An error encountered while executing a work request.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequestError object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param code:
+ The value to assign to the code property of this WorkRequestError.
+ :type code: str
+
+ :param message:
+ The value to assign to the message property of this WorkRequestError.
+ :type message: str
+
+ :param timestamp:
+ The value to assign to the timestamp property of this WorkRequestError.
+ :type timestamp: datetime
+
+ """
+ self.swagger_types = {
+ 'code': 'str',
+ 'message': 'str',
+ 'timestamp': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'code': 'code',
+ 'message': 'message',
+ 'timestamp': 'timestamp'
+ }
+
+ self._code = None
+ self._message = None
+ self._timestamp = None
+
+ @property
+ def code(self):
+ """
+ **[Required]** Gets the code of this WorkRequestError.
+ A machine-usable code for the error that occured. Error codes are listed on
+ (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
+
+
+ :return: The code of this WorkRequestError.
+ :rtype: str
+ """
+ return self._code
+
+ @code.setter
+ def code(self, code):
+ """
+ Sets the code of this WorkRequestError.
+ A machine-usable code for the error that occured. Error codes are listed on
+ (https://docs.cloud.oracle.com/Content/API/References/apierrors.htm)
+
+
+ :param code: The code of this WorkRequestError.
+ :type: str
+ """
+ self._code = code
+
+ @property
+ def message(self):
+ """
+ **[Required]** Gets the message of this WorkRequestError.
+ A human readable description of the issue encountered.
+
+
+ :return: The message of this WorkRequestError.
+ :rtype: str
+ """
+ return self._message
+
+ @message.setter
+ def message(self, message):
+ """
+ Sets the message of this WorkRequestError.
+ A human readable description of the issue encountered.
+
+
+ :param message: The message of this WorkRequestError.
+ :type: str
+ """
+ self._message = message
+
+ @property
+ def timestamp(self):
+ """
+ **[Required]** Gets the timestamp of this WorkRequestError.
+ The time the error occured. An RFC3339 formatted datetime string.
+
+
+ :return: The timestamp of this WorkRequestError.
+ :rtype: datetime
+ """
+ return self._timestamp
+
+ @timestamp.setter
+ def timestamp(self, timestamp):
+ """
+ Sets the timestamp of this WorkRequestError.
+ The time the error occured. An RFC3339 formatted datetime string.
+
+
+ :param timestamp: The timestamp of this WorkRequestError.
+ :type: datetime
+ """
+ self._timestamp = timestamp
+
+ 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/dblm/models/work_request_error_collection.py b/src/oci/dblm/models/work_request_error_collection.py
new file mode 100644
index 0000000000..765d6f4ae5
--- /dev/null
+++ b/src/oci/dblm/models/work_request_error_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequestErrorCollection(object):
+ """
+ Results of a workRequestError search. Contains both WorkRequestError items and other information, such as metadata.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequestErrorCollection 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 WorkRequestErrorCollection.
+ :type items: list[oci.dblm.models.WorkRequestError]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[WorkRequestError]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this WorkRequestErrorCollection.
+ List of workRequestError objects.
+
+
+ :return: The items of this WorkRequestErrorCollection.
+ :rtype: list[oci.dblm.models.WorkRequestError]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this WorkRequestErrorCollection.
+ List of workRequestError objects.
+
+
+ :param items: The items of this WorkRequestErrorCollection.
+ :type: list[oci.dblm.models.WorkRequestError]
+ """
+ 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/dblm/models/work_request_log_entry.py b/src/oci/dblm/models/work_request_log_entry.py
new file mode 100644
index 0000000000..1ff9b15b2e
--- /dev/null
+++ b/src/oci/dblm/models/work_request_log_entry.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequestLogEntry(object):
+ """
+ A log message from the execution of a work request.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequestLogEntry object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param message:
+ The value to assign to the message property of this WorkRequestLogEntry.
+ :type message: str
+
+ :param timestamp:
+ The value to assign to the timestamp property of this WorkRequestLogEntry.
+ :type timestamp: datetime
+
+ """
+ self.swagger_types = {
+ 'message': 'str',
+ 'timestamp': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'message': 'message',
+ 'timestamp': 'timestamp'
+ }
+
+ self._message = None
+ self._timestamp = None
+
+ @property
+ def message(self):
+ """
+ **[Required]** Gets the message of this WorkRequestLogEntry.
+ Human-readable log message.
+
+
+ :return: The message of this WorkRequestLogEntry.
+ :rtype: str
+ """
+ return self._message
+
+ @message.setter
+ def message(self, message):
+ """
+ Sets the message of this WorkRequestLogEntry.
+ Human-readable log message.
+
+
+ :param message: The message of this WorkRequestLogEntry.
+ :type: str
+ """
+ self._message = message
+
+ @property
+ def timestamp(self):
+ """
+ **[Required]** Gets the timestamp of this WorkRequestLogEntry.
+ The time the log message was written. An RFC3339 formatted datetime string
+
+
+ :return: The timestamp of this WorkRequestLogEntry.
+ :rtype: datetime
+ """
+ return self._timestamp
+
+ @timestamp.setter
+ def timestamp(self, timestamp):
+ """
+ Sets the timestamp of this WorkRequestLogEntry.
+ The time the log message was written. An RFC3339 formatted datetime string
+
+
+ :param timestamp: The timestamp of this WorkRequestLogEntry.
+ :type: datetime
+ """
+ self._timestamp = timestamp
+
+ 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/dblm/models/work_request_log_entry_collection.py b/src/oci/dblm/models/work_request_log_entry_collection.py
new file mode 100644
index 0000000000..b6f8060410
--- /dev/null
+++ b/src/oci/dblm/models/work_request_log_entry_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequestLogEntryCollection(object):
+ """
+ Results of a workRequestLog search. Contains both workRequestLog items and other information, such as metadata.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequestLogEntryCollection 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 WorkRequestLogEntryCollection.
+ :type items: list[oci.dblm.models.WorkRequestLogEntry]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[WorkRequestLogEntry]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this WorkRequestLogEntryCollection.
+ List of workRequestLogEntries.
+
+
+ :return: The items of this WorkRequestLogEntryCollection.
+ :rtype: list[oci.dblm.models.WorkRequestLogEntry]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this WorkRequestLogEntryCollection.
+ List of workRequestLogEntries.
+
+
+ :param items: The items of this WorkRequestLogEntryCollection.
+ :type: list[oci.dblm.models.WorkRequestLogEntry]
+ """
+ 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/dblm/models/work_request_resource.py b/src/oci/dblm/models/work_request_resource.py
new file mode 100644
index 0000000000..27e2607a2d
--- /dev/null
+++ b/src/oci/dblm/models/work_request_resource.py
@@ -0,0 +1,234 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequestResource(object):
+ """
+ A resource created or operated on by a work request.
+ """
+
+ #: A constant which can be used with the action_type property of a WorkRequestResource.
+ #: This constant has a value of "CREATED"
+ ACTION_TYPE_CREATED = "CREATED"
+
+ #: A constant which can be used with the action_type property of a WorkRequestResource.
+ #: This constant has a value of "UPDATED"
+ ACTION_TYPE_UPDATED = "UPDATED"
+
+ #: A constant which can be used with the action_type property of a WorkRequestResource.
+ #: This constant has a value of "DELETED"
+ ACTION_TYPE_DELETED = "DELETED"
+
+ #: A constant which can be used with the action_type property of a WorkRequestResource.
+ #: This constant has a value of "IN_PROGRESS"
+ ACTION_TYPE_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the action_type property of a WorkRequestResource.
+ #: This constant has a value of "RELATED"
+ ACTION_TYPE_RELATED = "RELATED"
+
+ #: A constant which can be used with the action_type property of a WorkRequestResource.
+ #: This constant has a value of "FAILED"
+ ACTION_TYPE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequestResource object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param entity_type:
+ The value to assign to the entity_type property of this WorkRequestResource.
+ :type entity_type: str
+
+ :param action_type:
+ The value to assign to the action_type property of this WorkRequestResource.
+ Allowed values for this property are: "CREATED", "UPDATED", "DELETED", "IN_PROGRESS", "RELATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type action_type: str
+
+ :param identifier:
+ The value to assign to the identifier property of this WorkRequestResource.
+ :type identifier: str
+
+ :param entity_uri:
+ The value to assign to the entity_uri property of this WorkRequestResource.
+ :type entity_uri: str
+
+ :param metadata:
+ The value to assign to the metadata property of this WorkRequestResource.
+ :type metadata: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'entity_type': 'str',
+ 'action_type': 'str',
+ 'identifier': 'str',
+ 'entity_uri': 'str',
+ 'metadata': 'dict(str, str)'
+ }
+
+ self.attribute_map = {
+ 'entity_type': 'entityType',
+ 'action_type': 'actionType',
+ 'identifier': 'identifier',
+ 'entity_uri': 'entityUri',
+ 'metadata': 'metadata'
+ }
+
+ self._entity_type = None
+ self._action_type = None
+ self._identifier = None
+ self._entity_uri = None
+ self._metadata = None
+
+ @property
+ def entity_type(self):
+ """
+ **[Required]** Gets the entity_type of this WorkRequestResource.
+ The resource type the work request affects.
+
+
+ :return: The entity_type of this WorkRequestResource.
+ :rtype: str
+ """
+ return self._entity_type
+
+ @entity_type.setter
+ def entity_type(self, entity_type):
+ """
+ Sets the entity_type of this WorkRequestResource.
+ The resource type the work request affects.
+
+
+ :param entity_type: The entity_type of this WorkRequestResource.
+ :type: str
+ """
+ self._entity_type = entity_type
+
+ @property
+ def action_type(self):
+ """
+ **[Required]** Gets the action_type of this WorkRequestResource.
+ The way in which this resource is affected by the work tracked in the work request.
+ A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
+ work is complete for that resource at which point it will transition to CREATED, UPDATED,
+ or DELETED, respectively.
+
+ Allowed values for this property are: "CREATED", "UPDATED", "DELETED", "IN_PROGRESS", "RELATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The action_type of this WorkRequestResource.
+ :rtype: str
+ """
+ return self._action_type
+
+ @action_type.setter
+ def action_type(self, action_type):
+ """
+ Sets the action_type of this WorkRequestResource.
+ The way in which this resource is affected by the work tracked in the work request.
+ A resource being created, updated, or deleted will remain in the IN_PROGRESS state until
+ work is complete for that resource at which point it will transition to CREATED, UPDATED,
+ or DELETED, respectively.
+
+
+ :param action_type: The action_type of this WorkRequestResource.
+ :type: str
+ """
+ allowed_values = ["CREATED", "UPDATED", "DELETED", "IN_PROGRESS", "RELATED", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(action_type, allowed_values):
+ action_type = 'UNKNOWN_ENUM_VALUE'
+ self._action_type = action_type
+
+ @property
+ def identifier(self):
+ """
+ **[Required]** Gets the identifier of this WorkRequestResource.
+ The identifier of the resource the work request affects.
+
+
+ :return: The identifier of this WorkRequestResource.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this WorkRequestResource.
+ The identifier of the resource the work request affects.
+
+
+ :param identifier: The identifier of this WorkRequestResource.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def entity_uri(self):
+ """
+ Gets the entity_uri of this WorkRequestResource.
+ The URI path that the user can do a GET on to access the resource metadata
+
+
+ :return: The entity_uri of this WorkRequestResource.
+ :rtype: str
+ """
+ return self._entity_uri
+
+ @entity_uri.setter
+ def entity_uri(self, entity_uri):
+ """
+ Sets the entity_uri of this WorkRequestResource.
+ The URI path that the user can do a GET on to access the resource metadata
+
+
+ :param entity_uri: The entity_uri of this WorkRequestResource.
+ :type: str
+ """
+ self._entity_uri = entity_uri
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this WorkRequestResource.
+ Additional information that helps to explain the resource.
+
+
+ :return: The metadata of this WorkRequestResource.
+ :rtype: dict(str, str)
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this WorkRequestResource.
+ Additional information that helps to explain the resource.
+
+
+ :param metadata: The metadata of this WorkRequestResource.
+ :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/dblm/models/work_request_summary.py b/src/oci/dblm/models/work_request_summary.py
new file mode 100644
index 0000000000..b6e77c43b5
--- /dev/null
+++ b/src/oci/dblm/models/work_request_summary.py
@@ -0,0 +1,426 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequestSummary(object):
+ """
+ A summary of the status of a work request.
+ """
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "DBLM_SUBSCRIBE"
+ OPERATION_TYPE_DBLM_SUBSCRIBE = "DBLM_SUBSCRIBE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "DBLM_ENABLE"
+ OPERATION_TYPE_DBLM_ENABLE = "DBLM_ENABLE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "SCAN_VUL_CVE"
+ OPERATION_TYPE_SCAN_VUL_CVE = "SCAN_VUL_CVE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "SCAN_VUL_PATCH"
+ OPERATION_TYPE_SCAN_VUL_PATCH = "SCAN_VUL_PATCH"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "SCAN_VUL_IMAGE"
+ OPERATION_TYPE_SCAN_VUL_IMAGE = "SCAN_VUL_IMAGE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "UPDATE_SUBSCRIPTION"
+ OPERATION_TYPE_UPDATE_SUBSCRIPTION = "UPDATE_SUBSCRIPTION"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "UPDATE_SUBSCRIBED_RESOURCE"
+ OPERATION_TYPE_UPDATE_SUBSCRIBED_RESOURCE = "UPDATE_SUBSCRIBED_RESOURCE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "CREATE_SHARED_DATASTORE"
+ OPERATION_TYPE_CREATE_SHARED_DATASTORE = "CREATE_SHARED_DATASTORE"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "DELETE_SHARED_DATASTORE"
+ OPERATION_TYPE_DELETE_SHARED_DATASTORE = "DELETE_SHARED_DATASTORE"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "ACCEPTED"
+ STATUS_ACCEPTED = "ACCEPTED"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "IN_PROGRESS"
+ STATUS_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "WAITING"
+ STATUS_WAITING = "WAITING"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "NEEDS_ATTENTION"
+ STATUS_NEEDS_ATTENTION = "NEEDS_ATTENTION"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "FAILED"
+ STATUS_FAILED = "FAILED"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "SUCCEEDED"
+ STATUS_SUCCEEDED = "SUCCEEDED"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "CANCELING"
+ STATUS_CANCELING = "CANCELING"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "CANCELED"
+ STATUS_CANCELED = "CANCELED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequestSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param operation_type:
+ The value to assign to the operation_type property of this WorkRequestSummary.
+ Allowed values for this property are: "DBLM_SUBSCRIBE", "DBLM_ENABLE", "SCAN_VUL_CVE", "SCAN_VUL_PATCH", "SCAN_VUL_IMAGE", "UPDATE_SUBSCRIPTION", "UPDATE_SUBSCRIBED_RESOURCE", "CREATE_SHARED_DATASTORE", "DELETE_SHARED_DATASTORE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type operation_type: str
+
+ :param status:
+ The value to assign to the status property of this WorkRequestSummary.
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type status: str
+
+ :param id:
+ The value to assign to the id property of this WorkRequestSummary.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this WorkRequestSummary.
+ :type compartment_id: str
+
+ :param resources:
+ The value to assign to the resources property of this WorkRequestSummary.
+ :type resources: list[oci.dblm.models.WorkRequestResource]
+
+ :param percent_complete:
+ The value to assign to the percent_complete property of this WorkRequestSummary.
+ :type percent_complete: float
+
+ :param time_accepted:
+ The value to assign to the time_accepted property of this WorkRequestSummary.
+ :type time_accepted: datetime
+
+ :param time_started:
+ The value to assign to the time_started property of this WorkRequestSummary.
+ :type time_started: datetime
+
+ :param time_finished:
+ The value to assign to the time_finished property of this WorkRequestSummary.
+ :type time_finished: datetime
+
+ """
+ self.swagger_types = {
+ 'operation_type': 'str',
+ 'status': 'str',
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'resources': 'list[WorkRequestResource]',
+ 'percent_complete': 'float',
+ 'time_accepted': 'datetime',
+ 'time_started': 'datetime',
+ 'time_finished': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'operation_type': 'operationType',
+ 'status': 'status',
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'resources': 'resources',
+ 'percent_complete': 'percentComplete',
+ 'time_accepted': 'timeAccepted',
+ 'time_started': 'timeStarted',
+ 'time_finished': 'timeFinished'
+ }
+
+ self._operation_type = None
+ self._status = None
+ self._id = None
+ self._compartment_id = None
+ self._resources = None
+ self._percent_complete = None
+ self._time_accepted = None
+ self._time_started = None
+ self._time_finished = None
+
+ @property
+ def operation_type(self):
+ """
+ **[Required]** Gets the operation_type of this WorkRequestSummary.
+ Type of the work request
+
+ Allowed values for this property are: "DBLM_SUBSCRIBE", "DBLM_ENABLE", "SCAN_VUL_CVE", "SCAN_VUL_PATCH", "SCAN_VUL_IMAGE", "UPDATE_SUBSCRIPTION", "UPDATE_SUBSCRIBED_RESOURCE", "CREATE_SHARED_DATASTORE", "DELETE_SHARED_DATASTORE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The operation_type of this WorkRequestSummary.
+ :rtype: str
+ """
+ return self._operation_type
+
+ @operation_type.setter
+ def operation_type(self, operation_type):
+ """
+ Sets the operation_type of this WorkRequestSummary.
+ Type of the work request
+
+
+ :param operation_type: The operation_type of this WorkRequestSummary.
+ :type: str
+ """
+ allowed_values = ["DBLM_SUBSCRIBE", "DBLM_ENABLE", "SCAN_VUL_CVE", "SCAN_VUL_PATCH", "SCAN_VUL_IMAGE", "UPDATE_SUBSCRIPTION", "UPDATE_SUBSCRIBED_RESOURCE", "CREATE_SHARED_DATASTORE", "DELETE_SHARED_DATASTORE"]
+ if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
+ operation_type = 'UNKNOWN_ENUM_VALUE'
+ self._operation_type = operation_type
+
+ @property
+ def status(self):
+ """
+ **[Required]** Gets the status of this WorkRequestSummary.
+ Status of current work request.
+
+ Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The status of this WorkRequestSummary.
+ :rtype: str
+ """
+ return self._status
+
+ @status.setter
+ def status(self, status):
+ """
+ Sets the status of this WorkRequestSummary.
+ Status of current work request.
+
+
+ :param status: The status of this WorkRequestSummary.
+ :type: str
+ """
+ allowed_values = ["ACCEPTED", "IN_PROGRESS", "WAITING", "NEEDS_ATTENTION", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
+ if not value_allowed_none_or_none_sentinel(status, allowed_values):
+ status = 'UNKNOWN_ENUM_VALUE'
+ self._status = status
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this WorkRequestSummary.
+ The id of the work request.
+
+
+ :return: The id of this WorkRequestSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this WorkRequestSummary.
+ The id of the work request.
+
+
+ :param id: The id of this WorkRequestSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this WorkRequestSummary.
+ The ocid of the compartment that contains the work request. Work requests should be scoped to
+ the same compartment as the resource the work request affects. If the work request affects multiple resources,
+ and those resources are not in the same compartment, it is up to the service team to pick the primary
+ resource whose compartment should be used
+
+
+ :return: The compartment_id of this WorkRequestSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this WorkRequestSummary.
+ The ocid of the compartment that contains the work request. Work requests should be scoped to
+ the same compartment as the resource the work request affects. If the work request affects multiple resources,
+ and those resources are not in the same compartment, it is up to the service team to pick the primary
+ resource whose compartment should be used
+
+
+ :param compartment_id: The compartment_id of this WorkRequestSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def resources(self):
+ """
+ **[Required]** Gets the resources of this WorkRequestSummary.
+ The resources affected by this work request.
+
+
+ :return: The resources of this WorkRequestSummary.
+ :rtype: list[oci.dblm.models.WorkRequestResource]
+ """
+ return self._resources
+
+ @resources.setter
+ def resources(self, resources):
+ """
+ Sets the resources of this WorkRequestSummary.
+ The resources affected by this work request.
+
+
+ :param resources: The resources of this WorkRequestSummary.
+ :type: list[oci.dblm.models.WorkRequestResource]
+ """
+ self._resources = resources
+
+ @property
+ def percent_complete(self):
+ """
+ **[Required]** Gets the percent_complete of this WorkRequestSummary.
+ Percentage of the request completed.
+
+
+ :return: The percent_complete of this WorkRequestSummary.
+ :rtype: float
+ """
+ return self._percent_complete
+
+ @percent_complete.setter
+ def percent_complete(self, percent_complete):
+ """
+ Sets the percent_complete of this WorkRequestSummary.
+ Percentage of the request completed.
+
+
+ :param percent_complete: The percent_complete of this WorkRequestSummary.
+ :type: float
+ """
+ self._percent_complete = percent_complete
+
+ @property
+ def time_accepted(self):
+ """
+ **[Required]** Gets the time_accepted of this WorkRequestSummary.
+ The date and time the request was created, as described in
+ `RFC 3339`__, section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_accepted of this WorkRequestSummary.
+ :rtype: datetime
+ """
+ return self._time_accepted
+
+ @time_accepted.setter
+ def time_accepted(self, time_accepted):
+ """
+ Sets the time_accepted of this WorkRequestSummary.
+ The date and time the request was created, as described in
+ `RFC 3339`__, section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_accepted: The time_accepted of this WorkRequestSummary.
+ :type: datetime
+ """
+ self._time_accepted = time_accepted
+
+ @property
+ def time_started(self):
+ """
+ Gets the time_started of this WorkRequestSummary.
+ The date and time the request was started, as described in `RFC 3339`__,
+ section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_started of this WorkRequestSummary.
+ :rtype: datetime
+ """
+ return self._time_started
+
+ @time_started.setter
+ def time_started(self, time_started):
+ """
+ Sets the time_started of this WorkRequestSummary.
+ The date and time the request was started, as described in `RFC 3339`__,
+ section 14.29.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_started: The time_started of this WorkRequestSummary.
+ :type: datetime
+ """
+ self._time_started = time_started
+
+ @property
+ def time_finished(self):
+ """
+ Gets the time_finished of this WorkRequestSummary.
+ The date and time the object was finished, as described in `RFC 3339`__.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_finished of this WorkRequestSummary.
+ :rtype: datetime
+ """
+ return self._time_finished
+
+ @time_finished.setter
+ def time_finished(self, time_finished):
+ """
+ Sets the time_finished of this WorkRequestSummary.
+ The date and time the object was finished, as described in `RFC 3339`__.
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_finished: The time_finished of this WorkRequestSummary.
+ :type: datetime
+ """
+ self._time_finished = time_finished
+
+ 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/dblm/models/work_request_summary_collection.py b/src/oci/dblm/models/work_request_summary_collection.py
new file mode 100644
index 0000000000..6467f5b486
--- /dev/null
+++ b/src/oci/dblm/models/work_request_summary_collection.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20240102
+
+
+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 WorkRequestSummaryCollection(object):
+ """
+ Results of a workRequest search. Contains both WorkRequest items and other information, such as metadata.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WorkRequestSummaryCollection 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 WorkRequestSummaryCollection.
+ :type items: list[oci.dblm.models.WorkRequestSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[WorkRequestSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this WorkRequestSummaryCollection.
+ List of workRequestSummary objects.
+
+
+ :return: The items of this WorkRequestSummaryCollection.
+ :rtype: list[oci.dblm.models.WorkRequestSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this WorkRequestSummaryCollection.
+ List of workRequestSummary objects.
+
+
+ :param items: The items of this WorkRequestSummaryCollection.
+ :type: list[oci.dblm.models.WorkRequestSummary]
+ """
+ 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/email/models/create_dkim_details.py b/src/oci/email/models/create_dkim_details.py
index 69b5e0d43a..d9b0f3d7fd 100644
--- a/src/oci/email/models/create_dkim_details.py
+++ b/src/oci/email/models/create_dkim_details.py
@@ -33,6 +33,10 @@ def __init__(self, **kwargs):
The value to assign to the description property of this CreateDkimDetails.
:type description: str
+ :param private_key:
+ The value to assign to the private_key property of this CreateDkimDetails.
+ :type private_key: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this CreateDkimDetails.
:type freeform_tags: dict(str, str)
@@ -46,6 +50,7 @@ def __init__(self, **kwargs):
'name': 'str',
'email_domain_id': 'str',
'description': 'str',
+ 'private_key': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))'
}
@@ -54,6 +59,7 @@ def __init__(self, **kwargs):
'name': 'name',
'email_domain_id': 'emailDomainId',
'description': 'description',
+ 'private_key': 'privateKey',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
@@ -61,6 +67,7 @@ def __init__(self, **kwargs):
self._name = None
self._email_domain_id = None
self._description = None
+ self._private_key = None
self._freeform_tags = None
self._defined_tags = None
@@ -160,6 +167,30 @@ def description(self, description):
"""
self._description = description
+ @property
+ def private_key(self):
+ """
+ Gets the private_key of this CreateDkimDetails.
+ The DKIM RSA Private Key in Privacy-Enhanced Mail (PEM) format. It is a text-based representation of the private key used for signing email messages.
+
+
+ :return: The private_key of this CreateDkimDetails.
+ :rtype: str
+ """
+ return self._private_key
+
+ @private_key.setter
+ def private_key(self, private_key):
+ """
+ Sets the private_key of this CreateDkimDetails.
+ The DKIM RSA Private Key in Privacy-Enhanced Mail (PEM) format. It is a text-based representation of the private key used for signing email messages.
+
+
+ :param private_key: The private_key of this CreateDkimDetails.
+ :type: str
+ """
+ self._private_key = private_key
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/email/models/dkim.py b/src/oci/email/models/dkim.py
index 1285cdef53..9dfcd677e3 100644
--- a/src/oci/email/models/dkim.py
+++ b/src/oci/email/models/dkim.py
@@ -102,6 +102,14 @@ def __init__(self, **kwargs):
The value to assign to the txt_record_value property of this Dkim.
:type txt_record_value: str
+ :param is_imported:
+ The value to assign to the is_imported property of this Dkim.
+ :type is_imported: bool
+
+ :param key_length:
+ The value to assign to the key_length property of this Dkim.
+ :type key_length: int
+
:param freeform_tags:
The value to assign to the freeform_tags property of this Dkim.
:type freeform_tags: dict(str, str)
@@ -128,6 +136,8 @@ def __init__(self, **kwargs):
'dns_subdomain_name': 'str',
'cname_record_value': 'str',
'txt_record_value': 'str',
+ 'is_imported': 'bool',
+ 'key_length': 'int',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
@@ -146,6 +156,8 @@ def __init__(self, **kwargs):
'dns_subdomain_name': 'dnsSubdomainName',
'cname_record_value': 'cnameRecordValue',
'txt_record_value': 'txtRecordValue',
+ 'is_imported': 'isImported',
+ 'key_length': 'keyLength',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
@@ -163,6 +175,8 @@ def __init__(self, **kwargs):
self._dns_subdomain_name = None
self._cname_record_value = None
self._txt_record_value = None
+ self._is_imported = None
+ self._key_length = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -509,6 +523,54 @@ def txt_record_value(self, txt_record_value):
"""
self._txt_record_value = txt_record_value
+ @property
+ def is_imported(self):
+ """
+ Gets the is_imported of this Dkim.
+ Indicates whether the DKIM was imported.
+
+
+ :return: The is_imported of this Dkim.
+ :rtype: bool
+ """
+ return self._is_imported
+
+ @is_imported.setter
+ def is_imported(self, is_imported):
+ """
+ Sets the is_imported of this Dkim.
+ Indicates whether the DKIM was imported.
+
+
+ :param is_imported: The is_imported of this Dkim.
+ :type: bool
+ """
+ self._is_imported = is_imported
+
+ @property
+ def key_length(self):
+ """
+ Gets the key_length of this Dkim.
+ Length of the RSA key used in the DKIM.
+
+
+ :return: The key_length of this Dkim.
+ :rtype: int
+ """
+ return self._key_length
+
+ @key_length.setter
+ def key_length(self, key_length):
+ """
+ Sets the key_length of this Dkim.
+ Length of the RSA key used in the DKIM.
+
+
+ :param key_length: The key_length of this Dkim.
+ :type: int
+ """
+ self._key_length = key_length
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/email/models/dkim_summary.py b/src/oci/email/models/dkim_summary.py
index 0a3909238d..9c3281aeb8 100644
--- a/src/oci/email/models/dkim_summary.py
+++ b/src/oci/email/models/dkim_summary.py
@@ -52,6 +52,14 @@ def __init__(self, **kwargs):
The value to assign to the time_updated property of this DkimSummary.
:type time_updated: datetime
+ :param is_imported:
+ The value to assign to the is_imported property of this DkimSummary.
+ :type is_imported: bool
+
+ :param key_length:
+ The value to assign to the key_length property of this DkimSummary.
+ :type key_length: int
+
:param freeform_tags:
The value to assign to the freeform_tags property of this DkimSummary.
:type freeform_tags: dict(str, str)
@@ -74,6 +82,8 @@ def __init__(self, **kwargs):
'description': 'str',
'time_created': 'datetime',
'time_updated': 'datetime',
+ 'is_imported': 'bool',
+ 'key_length': 'int',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
@@ -88,6 +98,8 @@ def __init__(self, **kwargs):
'description': 'description',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
+ 'is_imported': 'isImported',
+ 'key_length': 'keyLength',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
@@ -101,6 +113,8 @@ def __init__(self, **kwargs):
self._description = None
self._time_created = None
self._time_updated = None
+ self._is_imported = None
+ self._key_length = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -333,6 +347,54 @@ def time_updated(self, time_updated):
"""
self._time_updated = time_updated
+ @property
+ def is_imported(self):
+ """
+ Gets the is_imported of this DkimSummary.
+ Indicates whether the DKIM was imported.
+
+
+ :return: The is_imported of this DkimSummary.
+ :rtype: bool
+ """
+ return self._is_imported
+
+ @is_imported.setter
+ def is_imported(self, is_imported):
+ """
+ Sets the is_imported of this DkimSummary.
+ Indicates whether the DKIM was imported.
+
+
+ :param is_imported: The is_imported of this DkimSummary.
+ :type: bool
+ """
+ self._is_imported = is_imported
+
+ @property
+ def key_length(self):
+ """
+ Gets the key_length of this DkimSummary.
+ Length of the RSA key used in the DKIM.
+
+
+ :return: The key_length of this DkimSummary.
+ :rtype: int
+ """
+ return self._key_length
+
+ @key_length.setter
+ def key_length(self, key_length):
+ """
+ Sets the key_length of this DkimSummary.
+ Length of the RSA key used in the DKIM.
+
+
+ :param key_length: The key_length of this DkimSummary.
+ :type: int
+ """
+ self._key_length = key_length
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/load_balancer/models/create_load_balancer_details.py b/src/oci/load_balancer/models/create_load_balancer_details.py
index ded5e8909c..7656030ddf 100644
--- a/src/oci/load_balancer/models/create_load_balancer_details.py
+++ b/src/oci/load_balancer/models/create_load_balancer_details.py
@@ -111,9 +111,9 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this CreateLoadBalancerDetails.
:type defined_tags: dict(str, dict(str, object))
- :param zpr_tags:
- The value to assign to the zpr_tags property of this CreateLoadBalancerDetails.
- :type zpr_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this CreateLoadBalancerDetails.
+ :type security_attributes: dict(str, dict(str, object))
:param rule_sets:
The value to assign to the rule_sets property of this CreateLoadBalancerDetails.
@@ -141,7 +141,7 @@ def __init__(self, **kwargs):
'path_route_sets': 'dict(str, PathRouteSetDetails)',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'zpr_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))',
'rule_sets': 'dict(str, RuleSetDetails)'
}
@@ -166,7 +166,7 @@ def __init__(self, **kwargs):
'path_route_sets': 'pathRouteSets',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'zpr_tags': 'zprTags',
+ 'security_attributes': 'securityAttributes',
'rule_sets': 'ruleSets'
}
@@ -190,7 +190,7 @@ def __init__(self, **kwargs):
self._path_route_sets = None
self._freeform_tags = None
self._defined_tags = None
- self._zpr_tags = None
+ self._security_attributes = None
self._rule_sets = None
@property
@@ -835,32 +835,32 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
@property
- def zpr_tags(self):
+ def security_attributes(self):
"""
- Gets the zpr_tags of this CreateLoadBalancerDetails.
+ Gets the security_attributes of this CreateLoadBalancerDetails.
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
- :return: The zpr_tags of this CreateLoadBalancerDetails.
+ :return: The security_attributes of this CreateLoadBalancerDetails.
:rtype: dict(str, dict(str, object))
"""
- return self._zpr_tags
+ return self._security_attributes
- @zpr_tags.setter
- def zpr_tags(self, zpr_tags):
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
"""
- Sets the zpr_tags of this CreateLoadBalancerDetails.
+ Sets the security_attributes of this CreateLoadBalancerDetails.
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
- :param zpr_tags: The zpr_tags of this CreateLoadBalancerDetails.
+ :param security_attributes: The security_attributes of this CreateLoadBalancerDetails.
:type: dict(str, dict(str, object))
"""
- self._zpr_tags = zpr_tags
+ self._security_attributes = security_attributes
@property
def rule_sets(self):
diff --git a/src/oci/load_balancer/models/load_balancer.py b/src/oci/load_balancer/models/load_balancer.py
index b5e3a08b88..a78c0aeb47 100644
--- a/src/oci/load_balancer/models/load_balancer.py
+++ b/src/oci/load_balancer/models/load_balancer.py
@@ -144,9 +144,9 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this LoadBalancer.
:type defined_tags: dict(str, dict(str, object))
- :param zpr_tags:
- The value to assign to the zpr_tags property of this LoadBalancer.
- :type zpr_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this LoadBalancer.
+ :type security_attributes: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this LoadBalancer.
@@ -184,7 +184,7 @@ def __init__(self, **kwargs):
'path_route_sets': 'dict(str, PathRouteSet)',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'zpr_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
'rule_sets': 'dict(str, RuleSet)',
'routing_policies': 'dict(str, RoutingPolicy)'
@@ -213,7 +213,7 @@ def __init__(self, **kwargs):
'path_route_sets': 'pathRouteSets',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'zpr_tags': 'zprTags',
+ 'security_attributes': 'securityAttributes',
'system_tags': 'systemTags',
'rule_sets': 'ruleSets',
'routing_policies': 'routingPolicies'
@@ -241,7 +241,7 @@ def __init__(self, **kwargs):
self._path_route_sets = None
self._freeform_tags = None
self._defined_tags = None
- self._zpr_tags = None
+ self._security_attributes = None
self._system_tags = None
self._rule_sets = None
self._routing_policies = None
@@ -907,32 +907,32 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
@property
- def zpr_tags(self):
+ def security_attributes(self):
"""
- Gets the zpr_tags of this LoadBalancer.
+ Gets the security_attributes of this LoadBalancer.
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
- :return: The zpr_tags of this LoadBalancer.
+ :return: The security_attributes of this LoadBalancer.
:rtype: dict(str, dict(str, object))
"""
- return self._zpr_tags
+ return self._security_attributes
- @zpr_tags.setter
- def zpr_tags(self, zpr_tags):
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
"""
- Sets the zpr_tags of this LoadBalancer.
+ Sets the security_attributes of this LoadBalancer.
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
- :param zpr_tags: The zpr_tags of this LoadBalancer.
+ :param security_attributes: The security_attributes of this LoadBalancer.
:type: dict(str, dict(str, object))
"""
- self._zpr_tags = zpr_tags
+ self._security_attributes = security_attributes
@property
def system_tags(self):
diff --git a/src/oci/load_balancer/models/update_load_balancer_details.py b/src/oci/load_balancer/models/update_load_balancer_details.py
index bf407863db..c6ca382d86 100644
--- a/src/oci/load_balancer/models/update_load_balancer_details.py
+++ b/src/oci/load_balancer/models/update_load_balancer_details.py
@@ -46,9 +46,9 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this UpdateLoadBalancerDetails.
:type defined_tags: dict(str, dict(str, object))
- :param zpr_tags:
- The value to assign to the zpr_tags property of this UpdateLoadBalancerDetails.
- :type zpr_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this UpdateLoadBalancerDetails.
+ :type security_attributes: dict(str, dict(str, object))
"""
self.swagger_types = {
@@ -58,7 +58,7 @@ def __init__(self, **kwargs):
'request_id_header': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'zpr_tags': 'dict(str, dict(str, object))'
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -68,7 +68,7 @@ def __init__(self, **kwargs):
'request_id_header': 'requestIdHeader',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'zpr_tags': 'zprTags'
+ 'security_attributes': 'securityAttributes'
}
self._display_name = None
@@ -77,7 +77,7 @@ def __init__(self, **kwargs):
self._request_id_header = None
self._freeform_tags = None
self._defined_tags = None
- self._zpr_tags = None
+ self._security_attributes = None
@property
def display_name(self):
@@ -316,32 +316,32 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
@property
- def zpr_tags(self):
+ def security_attributes(self):
"""
- Gets the zpr_tags of this UpdateLoadBalancerDetails.
+ Gets the security_attributes of this UpdateLoadBalancerDetails.
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
- :return: The zpr_tags of this UpdateLoadBalancerDetails.
+ :return: The security_attributes of this UpdateLoadBalancerDetails.
:rtype: dict(str, dict(str, object))
"""
- return self._zpr_tags
+ return self._security_attributes
- @zpr_tags.setter
- def zpr_tags(self, zpr_tags):
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
"""
- Sets the zpr_tags of this UpdateLoadBalancerDetails.
+ Sets the security_attributes of this UpdateLoadBalancerDetails.
Extended Defined tags for ZPR for this resource. Each key is predefined and scoped to a namespace.
Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\":\"42\",\"mode\":\"audit\", \"usagetype\" : \"zpr\"}}}`
- :param zpr_tags: The zpr_tags of this UpdateLoadBalancerDetails.
+ :param security_attributes: The security_attributes of this UpdateLoadBalancerDetails.
:type: dict(str, dict(str, object))
"""
- self._zpr_tags = zpr_tags
+ self._security_attributes = security_attributes
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/mysql/models/backup.py b/src/oci/mysql/models/backup.py
index f4b663f680..5632fee88c 100644
--- a/src/oci/mysql/models/backup.py
+++ b/src/oci/mysql/models/backup.py
@@ -159,6 +159,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this Backup.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this Backup.
+ :type system_tags: dict(str, dict(str, object))
+
:param immediate_source_backup_id:
The value to assign to the immediate_source_backup_id property of this Backup.
:type immediate_source_backup_id: str
@@ -192,6 +196,7 @@ def __init__(self, **kwargs):
'shape_name': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
'immediate_source_backup_id': 'str',
'original_source_backup_id': 'str',
'time_copy_created': 'datetime'
@@ -217,6 +222,7 @@ def __init__(self, **kwargs):
'shape_name': 'shapeName',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
'immediate_source_backup_id': 'immediateSourceBackupId',
'original_source_backup_id': 'originalSourceBackupId',
'time_copy_created': 'timeCopyCreated'
@@ -241,6 +247,7 @@ def __init__(self, **kwargs):
self._shape_name = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
self._immediate_source_backup_id = None
self._original_source_backup_id = None
self._time_copy_created = None
@@ -719,6 +726,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Backup.
+ 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 Backup.
+ :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 Backup.
+ 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 Backup.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def immediate_source_backup_id(self):
"""
diff --git a/src/oci/mysql/models/backup_summary.py b/src/oci/mysql/models/backup_summary.py
index e7bcf11f4c..b685e63055 100644
--- a/src/oci/mysql/models/backup_summary.py
+++ b/src/oci/mysql/models/backup_summary.py
@@ -91,6 +91,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this BackupSummary.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this BackupSummary.
+ :type system_tags: dict(str, dict(str, object))
+
:param immediate_source_backup_id:
The value to assign to the immediate_source_backup_id property of this BackupSummary.
:type immediate_source_backup_id: str
@@ -125,6 +129,7 @@ def __init__(self, **kwargs):
'shape_name': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
'immediate_source_backup_id': 'str',
'original_source_backup_id': 'str',
'time_copy_created': 'datetime',
@@ -148,6 +153,7 @@ def __init__(self, **kwargs):
'shape_name': 'shapeName',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
'immediate_source_backup_id': 'immediateSourceBackupId',
'original_source_backup_id': 'originalSourceBackupId',
'time_copy_created': 'timeCopyCreated',
@@ -170,6 +176,7 @@ def __init__(self, **kwargs):
self._shape_name = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
self._immediate_source_backup_id = None
self._original_source_backup_id = None
self._time_copy_created = None
@@ -563,6 +570,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this BackupSummary.
+ 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 BackupSummary.
+ :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 BackupSummary.
+ 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 BackupSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def immediate_source_backup_id(self):
"""
diff --git a/src/oci/mysql/models/channel.py b/src/oci/mysql/models/channel.py
index 531e42ace3..1a1f7b67ed 100644
--- a/src/oci/mysql/models/channel.py
+++ b/src/oci/mysql/models/channel.py
@@ -106,6 +106,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this Channel.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this Channel.
+ :type system_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -120,7 +124,8 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_updated': 'datetime',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -136,7 +141,8 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags'
}
self._id = None
@@ -152,6 +158,7 @@ def __init__(self, **kwargs):
self._time_updated = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
@property
def id(self):
@@ -475,6 +482,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Channel.
+ 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 Channel.
+ :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 Channel.
+ 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 Channel.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/mysql/models/channel_summary.py b/src/oci/mysql/models/channel_summary.py
index 83786f2bf2..4fe0551c8f 100644
--- a/src/oci/mysql/models/channel_summary.py
+++ b/src/oci/mysql/models/channel_summary.py
@@ -68,6 +68,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this ChannelSummary.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this ChannelSummary.
+ :type system_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -81,7 +85,8 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_updated': 'datetime',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -96,7 +101,8 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags'
}
self._id = None
@@ -111,6 +117,7 @@ def __init__(self, **kwargs):
self._time_updated = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
@property
def id(self):
@@ -404,6 +411,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this ChannelSummary.
+ 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 ChannelSummary.
+ :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 ChannelSummary.
+ 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 ChannelSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/mysql/models/configuration.py b/src/oci/mysql/models/configuration.py
index 685395f5ab..7b5790fdb7 100644
--- a/src/oci/mysql/models/configuration.py
+++ b/src/oci/mysql/models/configuration.py
@@ -96,6 +96,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this Configuration.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this Configuration.
+ :type system_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -111,7 +115,8 @@ def __init__(self, **kwargs):
'variables': 'ConfigurationVariables',
'parent_configuration_id': 'str',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -128,7 +133,8 @@ def __init__(self, **kwargs):
'variables': 'variables',
'parent_configuration_id': 'parentConfigurationId',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags'
}
self._id = None
@@ -145,6 +151,7 @@ def __init__(self, **kwargs):
self._parent_configuration_id = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
@property
def id(self):
@@ -502,6 +509,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Configuration.
+ 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 Configuration.
+ :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 Configuration.
+ 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 Configuration.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/mysql/models/configuration_summary.py b/src/oci/mysql/models/configuration_summary.py
index 012af7d822..9f57bc08d9 100644
--- a/src/oci/mysql/models/configuration_summary.py
+++ b/src/oci/mysql/models/configuration_summary.py
@@ -64,6 +64,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this ConfigurationSummary.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this ConfigurationSummary.
+ :type system_tags: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -76,7 +80,8 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_updated': 'datetime',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
@@ -90,7 +95,8 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags'
}
self._id = None
@@ -104,6 +110,7 @@ def __init__(self, **kwargs):
self._time_updated = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
@property
def id(self):
@@ -381,6 +388,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this ConfigurationSummary.
+ 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 ConfigurationSummary.
+ :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 ConfigurationSummary.
+ 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 ConfigurationSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/mysql/models/configuration_variables.py b/src/oci/mysql/models/configuration_variables.py
index 3bafc19106..0aec0f6693 100644
--- a/src/oci/mysql/models/configuration_variables.py
+++ b/src/oci/mysql/models/configuration_variables.py
@@ -27,3007 +27,6098 @@ class ConfigurationVariables(object):
#: This constant has a value of "RELEASE"
COMPLETION_TYPE_RELEASE = "RELEASE"
- #: A constant which can be used with the default_authentication_plugin property of a ConfigurationVariables.
- #: This constant has a value of "mysql_native_password"
- DEFAULT_AUTHENTICATION_PLUGIN_MYSQL_NATIVE_PASSWORD = "mysql_native_password"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "ARMSCII8"
+ CHARACTER_SET_SERVER_ARMSCII8 = "ARMSCII8"
- #: A constant which can be used with the default_authentication_plugin property of a ConfigurationVariables.
- #: This constant has a value of "sha256_password"
- DEFAULT_AUTHENTICATION_PLUGIN_SHA256_PASSWORD = "sha256_password"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "ASCII"
+ CHARACTER_SET_SERVER_ASCII = "ASCII"
- #: A constant which can be used with the default_authentication_plugin property of a ConfigurationVariables.
- #: This constant has a value of "caching_sha2_password"
- DEFAULT_AUTHENTICATION_PLUGIN_CACHING_SHA2_PASSWORD = "caching_sha2_password"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "BIG5"
+ CHARACTER_SET_SERVER_BIG5 = "BIG5"
- #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
- #: This constant has a value of "READ-UNCOMMITTED"
- TRANSACTION_ISOLATION_READ_UNCOMMITTED = "READ-UNCOMMITTED"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "BINARY"
+ CHARACTER_SET_SERVER_BINARY = "BINARY"
- #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
- #: This constant has a value of "READ-COMMITED"
- TRANSACTION_ISOLATION_READ_COMMITED = "READ-COMMITED"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1250"
+ CHARACTER_SET_SERVER_CP1250 = "CP1250"
- #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
- #: This constant has a value of "READ-COMMITTED"
- TRANSACTION_ISOLATION_READ_COMMITTED = "READ-COMMITTED"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1251"
+ CHARACTER_SET_SERVER_CP1251 = "CP1251"
- #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
- #: This constant has a value of "REPEATABLE-READ"
- TRANSACTION_ISOLATION_REPEATABLE_READ = "REPEATABLE-READ"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1256"
+ CHARACTER_SET_SERVER_CP1256 = "CP1256"
- #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
- #: This constant has a value of "SERIALIZABLE"
- TRANSACTION_ISOLATION_SERIALIZABLE = "SERIALIZABLE"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1257"
+ CHARACTER_SET_SERVER_CP1257 = "CP1257"
- #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
- #: This constant has a value of "EVENTUAL"
- GROUP_REPLICATION_CONSISTENCY_EVENTUAL = "EVENTUAL"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP850"
+ CHARACTER_SET_SERVER_CP850 = "CP850"
- #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
- #: This constant has a value of "BEFORE_ON_PRIMARY_FAILOVER"
- GROUP_REPLICATION_CONSISTENCY_BEFORE_ON_PRIMARY_FAILOVER = "BEFORE_ON_PRIMARY_FAILOVER"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP852"
+ CHARACTER_SET_SERVER_CP852 = "CP852"
- #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
- #: This constant has a value of "BEFORE"
- GROUP_REPLICATION_CONSISTENCY_BEFORE = "BEFORE"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP866"
+ CHARACTER_SET_SERVER_CP866 = "CP866"
- #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
- #: This constant has a value of "AFTER"
- GROUP_REPLICATION_CONSISTENCY_AFTER = "AFTER"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP932"
+ CHARACTER_SET_SERVER_CP932 = "CP932"
- #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
- #: This constant has a value of "BEFORE_AND_AFTER"
- GROUP_REPLICATION_CONSISTENCY_BEFORE_AND_AFTER = "BEFORE_AND_AFTER"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "DEC8"
+ CHARACTER_SET_SERVER_DEC8 = "DEC8"
- #: A constant which can be used with the binlog_row_metadata property of a ConfigurationVariables.
- #: This constant has a value of "FULL"
- BINLOG_ROW_METADATA_FULL = "FULL"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "EUCJPMS"
+ CHARACTER_SET_SERVER_EUCJPMS = "EUCJPMS"
- #: A constant which can be used with the binlog_row_metadata property of a ConfigurationVariables.
- #: This constant has a value of "MINIMAL"
- BINLOG_ROW_METADATA_MINIMAL = "MINIMAL"
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "EUCKR"
+ CHARACTER_SET_SERVER_EUCKR = "EUCKR"
- def __init__(self, **kwargs):
- """
- Initializes a new ConfigurationVariables object with values from keyword arguments.
- The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "GB18030"
+ CHARACTER_SET_SERVER_GB18030 = "GB18030"
- :param completion_type:
- The value to assign to the completion_type property of this ConfigurationVariables.
- Allowed values for this property are: "NO_CHAIN", "CHAIN", "RELEASE", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
- :type completion_type: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "GB2312"
+ CHARACTER_SET_SERVER_GB2312 = "GB2312"
- :param big_tables:
- The value to assign to the big_tables property of this ConfigurationVariables.
- :type big_tables: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "GBK"
+ CHARACTER_SET_SERVER_GBK = "GBK"
- :param connection_memory_chunk_size:
- The value to assign to the connection_memory_chunk_size property of this ConfigurationVariables.
- :type connection_memory_chunk_size: int
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "GEOSTD8"
+ CHARACTER_SET_SERVER_GEOSTD8 = "GEOSTD8"
- :param connection_memory_limit:
- The value to assign to the connection_memory_limit property of this ConfigurationVariables.
- :type connection_memory_limit: int
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "GREEK"
+ CHARACTER_SET_SERVER_GREEK = "GREEK"
- :param default_authentication_plugin:
- The value to assign to the default_authentication_plugin property of this ConfigurationVariables.
- Allowed values for this property are: "mysql_native_password", "sha256_password", "caching_sha2_password", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
- :type default_authentication_plugin: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "HEBREW"
+ CHARACTER_SET_SERVER_HEBREW = "HEBREW"
- :param global_connection_memory_limit:
- The value to assign to the global_connection_memory_limit property of this ConfigurationVariables.
- :type global_connection_memory_limit: int
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "HP8"
+ CHARACTER_SET_SERVER_HP8 = "HP8"
- :param global_connection_memory_tracking:
- The value to assign to the global_connection_memory_tracking property of this ConfigurationVariables.
- :type global_connection_memory_tracking: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "KEYBCS2"
+ CHARACTER_SET_SERVER_KEYBCS2 = "KEYBCS2"
- :param transaction_isolation:
- The value to assign to the transaction_isolation property of this ConfigurationVariables.
- Allowed values for this property are: "READ-UNCOMMITTED", "READ-COMMITED", "READ-COMMITTED", "REPEATABLE-READ", "SERIALIZABLE", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
- :type transaction_isolation: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "KOI8R"
+ CHARACTER_SET_SERVER_KOI8_R = "KOI8R"
- :param innodb_ft_server_stopword_table:
- The value to assign to the innodb_ft_server_stopword_table property of this ConfigurationVariables.
- :type innodb_ft_server_stopword_table: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "KOI8U"
+ CHARACTER_SET_SERVER_KOI8_U = "KOI8U"
- :param mandatory_roles:
- The value to assign to the mandatory_roles property of this ConfigurationVariables.
- :type mandatory_roles: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1"
+ CHARACTER_SET_SERVER_LATIN1 = "LATIN1"
- :param autocommit:
- The value to assign to the autocommit property of this ConfigurationVariables.
- :type autocommit: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN2"
+ CHARACTER_SET_SERVER_LATIN2 = "LATIN2"
- :param foreign_key_checks:
- The value to assign to the foreign_key_checks property of this ConfigurationVariables.
- :type foreign_key_checks: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN5"
+ CHARACTER_SET_SERVER_LATIN5 = "LATIN5"
- :param group_replication_consistency:
- The value to assign to the group_replication_consistency property of this ConfigurationVariables.
- Allowed values for this property are: "EVENTUAL", "BEFORE_ON_PRIMARY_FAILOVER", "BEFORE", "AFTER", "BEFORE_AND_AFTER", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
- :type group_replication_consistency: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN7"
+ CHARACTER_SET_SERVER_LATIN7 = "LATIN7"
- :param innodb_ft_enable_stopword:
- The value to assign to the innodb_ft_enable_stopword property of this ConfigurationVariables.
- :type innodb_ft_enable_stopword: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "MACCE"
+ CHARACTER_SET_SERVER_MACCE = "MACCE"
- :param innodb_log_writer_threads:
- The value to assign to the innodb_log_writer_threads property of this ConfigurationVariables.
- :type innodb_log_writer_threads: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "MACROMAN"
+ CHARACTER_SET_SERVER_MACROMAN = "MACROMAN"
- :param local_infile:
- The value to assign to the local_infile property of this ConfigurationVariables.
- :type local_infile: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "SJIS"
+ CHARACTER_SET_SERVER_SJIS = "SJIS"
- :param mysql_firewall_mode:
- The value to assign to the mysql_firewall_mode property of this ConfigurationVariables.
- :type mysql_firewall_mode: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "SWE7"
+ CHARACTER_SET_SERVER_SWE7 = "SWE7"
- :param mysqlx_enable_hello_notice:
- The value to assign to the mysqlx_enable_hello_notice property of this ConfigurationVariables.
- :type mysqlx_enable_hello_notice: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "TIS620"
+ CHARACTER_SET_SERVER_TIS620 = "TIS620"
- :param sql_require_primary_key:
- The value to assign to the sql_require_primary_key property of this ConfigurationVariables.
- :type sql_require_primary_key: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2"
+ CHARACTER_SET_SERVER_UCS2 = "UCS2"
- :param sql_warnings:
- The value to assign to the sql_warnings property of this ConfigurationVariables.
- :type sql_warnings: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "UJIS"
+ CHARACTER_SET_SERVER_UJIS = "UJIS"
- :param binlog_expire_logs_seconds:
- The value to assign to the binlog_expire_logs_seconds property of this ConfigurationVariables.
- :type binlog_expire_logs_seconds: int
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16"
+ CHARACTER_SET_SERVER_UTF16 = "UTF16"
- :param binlog_row_metadata:
- The value to assign to the binlog_row_metadata property of this ConfigurationVariables.
- Allowed values for this property are: "FULL", "MINIMAL", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
- :type binlog_row_metadata: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16LE"
+ CHARACTER_SET_SERVER_UTF16_LE = "UTF16LE"
- :param binlog_row_value_options:
- The value to assign to the binlog_row_value_options property of this ConfigurationVariables.
- :type binlog_row_value_options: str
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32"
+ CHARACTER_SET_SERVER_UTF32 = "UTF32"
- :param binlog_transaction_compression:
- The value to assign to the binlog_transaction_compression property of this ConfigurationVariables.
- :type binlog_transaction_compression: bool
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB3"
+ CHARACTER_SET_SERVER_UTF8_MB3 = "UTF8MB3"
- :param innodb_buffer_pool_size:
- The value to assign to the innodb_buffer_pool_size property of this ConfigurationVariables.
- :type innodb_buffer_pool_size: int
+ #: A constant which can be used with the character_set_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4"
+ CHARACTER_SET_SERVER_UTF8_MB4 = "UTF8MB4"
- :param innodb_ft_result_cache_limit:
- The value to assign to the innodb_ft_result_cache_limit property of this ConfigurationVariables.
- :type innodb_ft_result_cache_limit: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "ARMSCII8_GENERAL_CI"
+ COLLATION_SERVER_ARMSCII8_GENERAL_CI = "ARMSCII8_GENERAL_CI"
- :param max_binlog_cache_size:
- The value to assign to the max_binlog_cache_size property of this ConfigurationVariables.
- :type max_binlog_cache_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "ARMSCII8_BIN"
+ COLLATION_SERVER_ARMSCII8_BIN = "ARMSCII8_BIN"
- :param max_connect_errors:
- The value to assign to the max_connect_errors property of this ConfigurationVariables.
- :type max_connect_errors: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "ASCII_GENERAL_CI"
+ COLLATION_SERVER_ASCII_GENERAL_CI = "ASCII_GENERAL_CI"
- :param max_heap_table_size:
- The value to assign to the max_heap_table_size property of this ConfigurationVariables.
- :type max_heap_table_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "ASCII_BIN"
+ COLLATION_SERVER_ASCII_BIN = "ASCII_BIN"
- :param max_connections:
- The value to assign to the max_connections property of this ConfigurationVariables.
- :type max_connections: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "BIG5_CHINESE_CI"
+ COLLATION_SERVER_BIG5_CHINESE_CI = "BIG5_CHINESE_CI"
- :param max_prepared_stmt_count:
- The value to assign to the max_prepared_stmt_count property of this ConfigurationVariables.
- :type max_prepared_stmt_count: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "BIG5_BIN"
+ COLLATION_SERVER_BIG5_BIN = "BIG5_BIN"
- :param connect_timeout:
- The value to assign to the connect_timeout property of this ConfigurationVariables.
- :type connect_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "BINARY"
+ COLLATION_SERVER_BINARY = "BINARY"
- :param cte_max_recursion_depth:
- The value to assign to the cte_max_recursion_depth property of this ConfigurationVariables.
- :type cte_max_recursion_depth: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1250_GENERAL_CI"
+ COLLATION_SERVER_CP1250_GENERAL_CI = "CP1250_GENERAL_CI"
- :param generated_random_password_length:
- The value to assign to the generated_random_password_length property of this ConfigurationVariables.
- :type generated_random_password_length: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1250_BIN"
+ COLLATION_SERVER_CP1250_BIN = "CP1250_BIN"
- :param information_schema_stats_expiry:
- The value to assign to the information_schema_stats_expiry property of this ConfigurationVariables.
- :type information_schema_stats_expiry: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1250_CROATIAN_CI"
+ COLLATION_SERVER_CP1250_CROATIAN_CI = "CP1250_CROATIAN_CI"
- :param innodb_buffer_pool_dump_pct:
- The value to assign to the innodb_buffer_pool_dump_pct property of this ConfigurationVariables.
- :type innodb_buffer_pool_dump_pct: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1250_CZECH_CS"
+ COLLATION_SERVER_CP1250_CZECH_CS = "CP1250_CZECH_CS"
- :param innodb_buffer_pool_instances:
- The value to assign to the innodb_buffer_pool_instances property of this ConfigurationVariables.
- :type innodb_buffer_pool_instances: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1250_POLISH_CI"
+ COLLATION_SERVER_CP1250_POLISH_CI = "CP1250_POLISH_CI"
- :param innodb_ddl_buffer_size:
- The value to assign to the innodb_ddl_buffer_size property of this ConfigurationVariables.
- :type innodb_ddl_buffer_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1251_GENERAL_CI"
+ COLLATION_SERVER_CP1251_GENERAL_CI = "CP1251_GENERAL_CI"
- :param innodb_ddl_threads:
- The value to assign to the innodb_ddl_threads property of this ConfigurationVariables.
- :type innodb_ddl_threads: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1251_BIN"
+ COLLATION_SERVER_CP1251_BIN = "CP1251_BIN"
- :param innodb_ft_max_token_size:
- The value to assign to the innodb_ft_max_token_size property of this ConfigurationVariables.
- :type innodb_ft_max_token_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1251_BULGARIAN_CI"
+ COLLATION_SERVER_CP1251_BULGARIAN_CI = "CP1251_BULGARIAN_CI"
- :param innodb_ft_min_token_size:
- The value to assign to the innodb_ft_min_token_size property of this ConfigurationVariables.
- :type innodb_ft_min_token_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1251_GENERAL_CS"
+ COLLATION_SERVER_CP1251_GENERAL_CS = "CP1251_GENERAL_CS"
- :param innodb_ft_num_word_optimize:
- The value to assign to the innodb_ft_num_word_optimize property of this ConfigurationVariables.
- :type innodb_ft_num_word_optimize: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1251_UKRAINIAN_CI"
+ COLLATION_SERVER_CP1251_UKRAINIAN_CI = "CP1251_UKRAINIAN_CI"
- :param innodb_lock_wait_timeout:
- The value to assign to the innodb_lock_wait_timeout property of this ConfigurationVariables.
- :type innodb_lock_wait_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1256_GENERAL_CI"
+ COLLATION_SERVER_CP1256_GENERAL_CI = "CP1256_GENERAL_CI"
- :param innodb_max_purge_lag:
- The value to assign to the innodb_max_purge_lag property of this ConfigurationVariables.
- :type innodb_max_purge_lag: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1256_BIN"
+ COLLATION_SERVER_CP1256_BIN = "CP1256_BIN"
- :param innodb_max_purge_lag_delay:
- The value to assign to the innodb_max_purge_lag_delay property of this ConfigurationVariables.
- :type innodb_max_purge_lag_delay: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1257_GENERAL_CI"
+ COLLATION_SERVER_CP1257_GENERAL_CI = "CP1257_GENERAL_CI"
- :param interactive_timeout:
- The value to assign to the interactive_timeout property of this ConfigurationVariables.
- :type interactive_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1257_BIN"
+ COLLATION_SERVER_CP1257_BIN = "CP1257_BIN"
- :param innodb_stats_persistent_sample_pages:
- The value to assign to the innodb_stats_persistent_sample_pages property of this ConfigurationVariables.
- :type innodb_stats_persistent_sample_pages: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP1257_LITHUANIAN_CI"
+ COLLATION_SERVER_CP1257_LITHUANIAN_CI = "CP1257_LITHUANIAN_CI"
- :param innodb_stats_transient_sample_pages:
- The value to assign to the innodb_stats_transient_sample_pages property of this ConfigurationVariables.
- :type innodb_stats_transient_sample_pages: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP850_GENERAL_CI"
+ COLLATION_SERVER_CP850_GENERAL_CI = "CP850_GENERAL_CI"
- :param max_allowed_packet:
- The value to assign to the max_allowed_packet property of this ConfigurationVariables.
- :type max_allowed_packet: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP850_BIN"
+ COLLATION_SERVER_CP850_BIN = "CP850_BIN"
- :param max_execution_time:
- The value to assign to the max_execution_time property of this ConfigurationVariables.
- :type max_execution_time: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP852_GENERAL_CI"
+ COLLATION_SERVER_CP852_GENERAL_CI = "CP852_GENERAL_CI"
- :param mysqlx_connect_timeout:
- The value to assign to the mysqlx_connect_timeout property of this ConfigurationVariables.
- :type mysqlx_connect_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP852_BIN"
+ COLLATION_SERVER_CP852_BIN = "CP852_BIN"
- :param mysqlx_document_id_unique_prefix:
- The value to assign to the mysqlx_document_id_unique_prefix property of this ConfigurationVariables.
- :type mysqlx_document_id_unique_prefix: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP866_GENERAL_CI"
+ COLLATION_SERVER_CP866_GENERAL_CI = "CP866_GENERAL_CI"
- :param mysqlx_idle_worker_thread_timeout:
- The value to assign to the mysqlx_idle_worker_thread_timeout property of this ConfigurationVariables.
- :type mysqlx_idle_worker_thread_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP866_BIN"
+ COLLATION_SERVER_CP866_BIN = "CP866_BIN"
- :param mysqlx_interactive_timeout:
- The value to assign to the mysqlx_interactive_timeout property of this ConfigurationVariables.
- :type mysqlx_interactive_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP932_JAPANESE_CI"
+ COLLATION_SERVER_CP932_JAPANESE_CI = "CP932_JAPANESE_CI"
- :param mysqlx_max_allowed_packet:
- The value to assign to the mysqlx_max_allowed_packet property of this ConfigurationVariables.
- :type mysqlx_max_allowed_packet: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "CP932_BIN"
+ COLLATION_SERVER_CP932_BIN = "CP932_BIN"
- :param mysqlx_min_worker_threads:
- The value to assign to the mysqlx_min_worker_threads property of this ConfigurationVariables.
- :type mysqlx_min_worker_threads: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "DEC8_SWEDISH_CI"
+ COLLATION_SERVER_DEC8_SWEDISH_CI = "DEC8_SWEDISH_CI"
- :param mysqlx_read_timeout:
- The value to assign to the mysqlx_read_timeout property of this ConfigurationVariables.
- :type mysqlx_read_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "DEC8_BIN"
+ COLLATION_SERVER_DEC8_BIN = "DEC8_BIN"
- :param mysqlx_wait_timeout:
- The value to assign to the mysqlx_wait_timeout property of this ConfigurationVariables.
- :type mysqlx_wait_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "EUCJPMS_JAPANESE_CI"
+ COLLATION_SERVER_EUCJPMS_JAPANESE_CI = "EUCJPMS_JAPANESE_CI"
- :param mysqlx_write_timeout:
- The value to assign to the mysqlx_write_timeout property of this ConfigurationVariables.
- :type mysqlx_write_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "EUCJPMS_BIN"
+ COLLATION_SERVER_EUCJPMS_BIN = "EUCJPMS_BIN"
- :param net_read_timeout:
- The value to assign to the net_read_timeout property of this ConfigurationVariables.
- :type net_read_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "EUCKR_KOREAN_CI"
+ COLLATION_SERVER_EUCKR_KOREAN_CI = "EUCKR_KOREAN_CI"
- :param net_write_timeout:
- The value to assign to the net_write_timeout property of this ConfigurationVariables.
- :type net_write_timeout: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "EUCKR_BIN"
+ COLLATION_SERVER_EUCKR_BIN = "EUCKR_BIN"
- :param parser_max_mem_size:
- The value to assign to the parser_max_mem_size property of this ConfigurationVariables.
- :type parser_max_mem_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GB18030_CHINESE_CI"
+ COLLATION_SERVER_GB18030_CHINESE_CI = "GB18030_CHINESE_CI"
- :param query_alloc_block_size:
- The value to assign to the query_alloc_block_size property of this ConfigurationVariables.
- :type query_alloc_block_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GB18030_BIN"
+ COLLATION_SERVER_GB18030_BIN = "GB18030_BIN"
- :param query_prealloc_size:
- The value to assign to the query_prealloc_size property of this ConfigurationVariables.
- :type query_prealloc_size: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GB18030_UNICODE_520_CI"
+ COLLATION_SERVER_GB18030_UNICODE_520_CI = "GB18030_UNICODE_520_CI"
- :param regexp_time_limit:
- The value to assign to the regexp_time_limit property of this ConfigurationVariables.
- :type regexp_time_limit: int
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GB2312_CHINESE_CI"
+ COLLATION_SERVER_GB2312_CHINESE_CI = "GB2312_CHINESE_CI"
- :param sql_mode:
- The value to assign to the sql_mode property of this ConfigurationVariables.
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GB2312_BIN"
+ COLLATION_SERVER_GB2312_BIN = "GB2312_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GBK_CHINESE_CI"
+ COLLATION_SERVER_GBK_CHINESE_CI = "GBK_CHINESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GBK_BIN"
+ COLLATION_SERVER_GBK_BIN = "GBK_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GEOSTD8_GENERAL_CI"
+ COLLATION_SERVER_GEOSTD8_GENERAL_CI = "GEOSTD8_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GEOSTD8_BIN"
+ COLLATION_SERVER_GEOSTD8_BIN = "GEOSTD8_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GREEK_GENERAL_CI"
+ COLLATION_SERVER_GREEK_GENERAL_CI = "GREEK_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "GREEK_BIN"
+ COLLATION_SERVER_GREEK_BIN = "GREEK_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "HEBREW_GENERAL_CI"
+ COLLATION_SERVER_HEBREW_GENERAL_CI = "HEBREW_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "HEBREW_BIN"
+ COLLATION_SERVER_HEBREW_BIN = "HEBREW_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "HP8_ENGLISH_CI"
+ COLLATION_SERVER_HP8_ENGLISH_CI = "HP8_ENGLISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "HP8_BIN"
+ COLLATION_SERVER_HP8_BIN = "HP8_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "KEYBCS2_GENERAL_CI"
+ COLLATION_SERVER_KEYBCS2_GENERAL_CI = "KEYBCS2_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "KEYBCS2_BIN"
+ COLLATION_SERVER_KEYBCS2_BIN = "KEYBCS2_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "KOI8R_GENERAL_CI"
+ COLLATION_SERVER_KOI8_R_GENERAL_CI = "KOI8R_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "KOI8R_BIN"
+ COLLATION_SERVER_KOI8_R_BIN = "KOI8R_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "KOI8U_GENERAL_CI"
+ COLLATION_SERVER_KOI8_U_GENERAL_CI = "KOI8U_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "KOI8U_BIN"
+ COLLATION_SERVER_KOI8_U_BIN = "KOI8U_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_SWEDISH_CI"
+ COLLATION_SERVER_LATIN1_SWEDISH_CI = "LATIN1_SWEDISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_BIN"
+ COLLATION_SERVER_LATIN1_BIN = "LATIN1_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_DANISH_CI"
+ COLLATION_SERVER_LATIN1_DANISH_CI = "LATIN1_DANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_GENERAL_CI"
+ COLLATION_SERVER_LATIN1_GENERAL_CI = "LATIN1_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_GENERAL_CS"
+ COLLATION_SERVER_LATIN1_GENERAL_CS = "LATIN1_GENERAL_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_GERMAN1_CI"
+ COLLATION_SERVER_LATIN1_GERMAN1_CI = "LATIN1_GERMAN1_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_GERMAN2_CI"
+ COLLATION_SERVER_LATIN1_GERMAN2_CI = "LATIN1_GERMAN2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN1_SPANISH_CI"
+ COLLATION_SERVER_LATIN1_SPANISH_CI = "LATIN1_SPANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN2_GENERAL_CI"
+ COLLATION_SERVER_LATIN2_GENERAL_CI = "LATIN2_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN2_BIN"
+ COLLATION_SERVER_LATIN2_BIN = "LATIN2_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN2_CROATIAN_CI"
+ COLLATION_SERVER_LATIN2_CROATIAN_CI = "LATIN2_CROATIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN2_CZECH_CS"
+ COLLATION_SERVER_LATIN2_CZECH_CS = "LATIN2_CZECH_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN2_HUNGARIAN_CI"
+ COLLATION_SERVER_LATIN2_HUNGARIAN_CI = "LATIN2_HUNGARIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN5_TURKISH_CI"
+ COLLATION_SERVER_LATIN5_TURKISH_CI = "LATIN5_TURKISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN5_BIN"
+ COLLATION_SERVER_LATIN5_BIN = "LATIN5_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN7_GENERAL_CI"
+ COLLATION_SERVER_LATIN7_GENERAL_CI = "LATIN7_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN7_BIN"
+ COLLATION_SERVER_LATIN7_BIN = "LATIN7_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN7_ESTONIAN_CS"
+ COLLATION_SERVER_LATIN7_ESTONIAN_CS = "LATIN7_ESTONIAN_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "LATIN7_GENERAL_CS"
+ COLLATION_SERVER_LATIN7_GENERAL_CS = "LATIN7_GENERAL_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "MACCE_GENERAL_CI"
+ COLLATION_SERVER_MACCE_GENERAL_CI = "MACCE_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "MACCE_BIN"
+ COLLATION_SERVER_MACCE_BIN = "MACCE_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "MACROMAN_GENERAL_CI"
+ COLLATION_SERVER_MACROMAN_GENERAL_CI = "MACROMAN_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "MACROMAN_BIN"
+ COLLATION_SERVER_MACROMAN_BIN = "MACROMAN_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "SJIS_JAPANESE_CI"
+ COLLATION_SERVER_SJIS_JAPANESE_CI = "SJIS_JAPANESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "SJIS_BIN"
+ COLLATION_SERVER_SJIS_BIN = "SJIS_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "SWE7_SWEDISH_CI"
+ COLLATION_SERVER_SWE7_SWEDISH_CI = "SWE7_SWEDISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "SWE7_BIN"
+ COLLATION_SERVER_SWE7_BIN = "SWE7_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "TIS620_THAI_CI"
+ COLLATION_SERVER_TIS620_THAI_CI = "TIS620_THAI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "TIS620_BIN"
+ COLLATION_SERVER_TIS620_BIN = "TIS620_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_GENERAL_CI"
+ COLLATION_SERVER_UCS2_GENERAL_CI = "UCS2_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_BIN"
+ COLLATION_SERVER_UCS2_BIN = "UCS2_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_CROATIAN_CI"
+ COLLATION_SERVER_UCS2_CROATIAN_CI = "UCS2_CROATIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_CZECH_CI"
+ COLLATION_SERVER_UCS2_CZECH_CI = "UCS2_CZECH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_DANISH_CI"
+ COLLATION_SERVER_UCS2_DANISH_CI = "UCS2_DANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_ESPERANTO_CI"
+ COLLATION_SERVER_UCS2_ESPERANTO_CI = "UCS2_ESPERANTO_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_ESTONIAN_CI"
+ COLLATION_SERVER_UCS2_ESTONIAN_CI = "UCS2_ESTONIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_GENERAL_MYSQL500_CI"
+ COLLATION_SERVER_UCS2_GENERAL_MYSQL500_CI = "UCS2_GENERAL_MYSQL500_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_GERMAN2_CI"
+ COLLATION_SERVER_UCS2_GERMAN2_CI = "UCS2_GERMAN2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_HUNGARIAN_CI"
+ COLLATION_SERVER_UCS2_HUNGARIAN_CI = "UCS2_HUNGARIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_ICELANDIC_CI"
+ COLLATION_SERVER_UCS2_ICELANDIC_CI = "UCS2_ICELANDIC_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_LATVIAN_CI"
+ COLLATION_SERVER_UCS2_LATVIAN_CI = "UCS2_LATVIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_LITHUANIAN_CI"
+ COLLATION_SERVER_UCS2_LITHUANIAN_CI = "UCS2_LITHUANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_PERSIAN_CI"
+ COLLATION_SERVER_UCS2_PERSIAN_CI = "UCS2_PERSIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_POLISH_CI"
+ COLLATION_SERVER_UCS2_POLISH_CI = "UCS2_POLISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_ROMANIAN_CI"
+ COLLATION_SERVER_UCS2_ROMANIAN_CI = "UCS2_ROMANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_ROMAN_CI"
+ COLLATION_SERVER_UCS2_ROMAN_CI = "UCS2_ROMAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_SINHALA_CI"
+ COLLATION_SERVER_UCS2_SINHALA_CI = "UCS2_SINHALA_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_SLOVAK_CI"
+ COLLATION_SERVER_UCS2_SLOVAK_CI = "UCS2_SLOVAK_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_SLOVENIAN_CI"
+ COLLATION_SERVER_UCS2_SLOVENIAN_CI = "UCS2_SLOVENIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_SPANISH2_CI"
+ COLLATION_SERVER_UCS2_SPANISH2_CI = "UCS2_SPANISH2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_SPANISH_CI"
+ COLLATION_SERVER_UCS2_SPANISH_CI = "UCS2_SPANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_SWEDISH_CI"
+ COLLATION_SERVER_UCS2_SWEDISH_CI = "UCS2_SWEDISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_TURKISH_CI"
+ COLLATION_SERVER_UCS2_TURKISH_CI = "UCS2_TURKISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_UNICODE_520_CI"
+ COLLATION_SERVER_UCS2_UNICODE_520_CI = "UCS2_UNICODE_520_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_UNICODE_CI"
+ COLLATION_SERVER_UCS2_UNICODE_CI = "UCS2_UNICODE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UCS2_VIETNAMESE_CI"
+ COLLATION_SERVER_UCS2_VIETNAMESE_CI = "UCS2_VIETNAMESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UJIS_JAPANESE_CI"
+ COLLATION_SERVER_UJIS_JAPANESE_CI = "UJIS_JAPANESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UJIS_BIN"
+ COLLATION_SERVER_UJIS_BIN = "UJIS_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_GENERAL_CI"
+ COLLATION_SERVER_UTF16_GENERAL_CI = "UTF16_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_BIN"
+ COLLATION_SERVER_UTF16_BIN = "UTF16_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_CROATIAN_CI"
+ COLLATION_SERVER_UTF16_CROATIAN_CI = "UTF16_CROATIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_CZECH_CI"
+ COLLATION_SERVER_UTF16_CZECH_CI = "UTF16_CZECH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_DANISH_CI"
+ COLLATION_SERVER_UTF16_DANISH_CI = "UTF16_DANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_ESPERANTO_CI"
+ COLLATION_SERVER_UTF16_ESPERANTO_CI = "UTF16_ESPERANTO_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_ESTONIAN_CI"
+ COLLATION_SERVER_UTF16_ESTONIAN_CI = "UTF16_ESTONIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_GERMAN2_CI"
+ COLLATION_SERVER_UTF16_GERMAN2_CI = "UTF16_GERMAN2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_HUNGARIAN_CI"
+ COLLATION_SERVER_UTF16_HUNGARIAN_CI = "UTF16_HUNGARIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_ICELANDIC_CI"
+ COLLATION_SERVER_UTF16_ICELANDIC_CI = "UTF16_ICELANDIC_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_LATVIAN_CI"
+ COLLATION_SERVER_UTF16_LATVIAN_CI = "UTF16_LATVIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_LITHUANIAN_CI"
+ COLLATION_SERVER_UTF16_LITHUANIAN_CI = "UTF16_LITHUANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_PERSIAN_CI"
+ COLLATION_SERVER_UTF16_PERSIAN_CI = "UTF16_PERSIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_POLISH_CI"
+ COLLATION_SERVER_UTF16_POLISH_CI = "UTF16_POLISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_ROMANIAN_CI"
+ COLLATION_SERVER_UTF16_ROMANIAN_CI = "UTF16_ROMANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_ROMAN_CI"
+ COLLATION_SERVER_UTF16_ROMAN_CI = "UTF16_ROMAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_SINHALA_CI"
+ COLLATION_SERVER_UTF16_SINHALA_CI = "UTF16_SINHALA_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_SLOVAK_CI"
+ COLLATION_SERVER_UTF16_SLOVAK_CI = "UTF16_SLOVAK_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_SLOVENIAN_CI"
+ COLLATION_SERVER_UTF16_SLOVENIAN_CI = "UTF16_SLOVENIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_SPANISH2_CI"
+ COLLATION_SERVER_UTF16_SPANISH2_CI = "UTF16_SPANISH2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_SPANISH_CI"
+ COLLATION_SERVER_UTF16_SPANISH_CI = "UTF16_SPANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_SWEDISH_CI"
+ COLLATION_SERVER_UTF16_SWEDISH_CI = "UTF16_SWEDISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_TURKISH_CI"
+ COLLATION_SERVER_UTF16_TURKISH_CI = "UTF16_TURKISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_UNICODE_520_CI"
+ COLLATION_SERVER_UTF16_UNICODE_520_CI = "UTF16_UNICODE_520_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_UNICODE_CI"
+ COLLATION_SERVER_UTF16_UNICODE_CI = "UTF16_UNICODE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16_VIETNAMESE_CI"
+ COLLATION_SERVER_UTF16_VIETNAMESE_CI = "UTF16_VIETNAMESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16LE_GENERAL_CI"
+ COLLATION_SERVER_UTF16_LE_GENERAL_CI = "UTF16LE_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF16LE_BIN"
+ COLLATION_SERVER_UTF16_LE_BIN = "UTF16LE_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_GENERAL_CI"
+ COLLATION_SERVER_UTF32_GENERAL_CI = "UTF32_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_BIN"
+ COLLATION_SERVER_UTF32_BIN = "UTF32_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_CROATIAN_CI"
+ COLLATION_SERVER_UTF32_CROATIAN_CI = "UTF32_CROATIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_CZECH_CI"
+ COLLATION_SERVER_UTF32_CZECH_CI = "UTF32_CZECH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_DANISH_CI"
+ COLLATION_SERVER_UTF32_DANISH_CI = "UTF32_DANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_ESPERANTO_CI"
+ COLLATION_SERVER_UTF32_ESPERANTO_CI = "UTF32_ESPERANTO_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_ESTONIAN_CI"
+ COLLATION_SERVER_UTF32_ESTONIAN_CI = "UTF32_ESTONIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_GERMAN2_CI"
+ COLLATION_SERVER_UTF32_GERMAN2_CI = "UTF32_GERMAN2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_HUNGARIAN_CI"
+ COLLATION_SERVER_UTF32_HUNGARIAN_CI = "UTF32_HUNGARIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_ICELANDIC_CI"
+ COLLATION_SERVER_UTF32_ICELANDIC_CI = "UTF32_ICELANDIC_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_LATVIAN_CI"
+ COLLATION_SERVER_UTF32_LATVIAN_CI = "UTF32_LATVIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_LITHUANIAN_CI"
+ COLLATION_SERVER_UTF32_LITHUANIAN_CI = "UTF32_LITHUANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_PERSIAN_CI"
+ COLLATION_SERVER_UTF32_PERSIAN_CI = "UTF32_PERSIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_POLISH_CI"
+ COLLATION_SERVER_UTF32_POLISH_CI = "UTF32_POLISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_ROMANIAN_CI"
+ COLLATION_SERVER_UTF32_ROMANIAN_CI = "UTF32_ROMANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_ROMAN_CI"
+ COLLATION_SERVER_UTF32_ROMAN_CI = "UTF32_ROMAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_SINHALA_CI"
+ COLLATION_SERVER_UTF32_SINHALA_CI = "UTF32_SINHALA_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_SLOVAK_CI"
+ COLLATION_SERVER_UTF32_SLOVAK_CI = "UTF32_SLOVAK_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_SLOVENIAN_CI"
+ COLLATION_SERVER_UTF32_SLOVENIAN_CI = "UTF32_SLOVENIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_SPANISH2_CI"
+ COLLATION_SERVER_UTF32_SPANISH2_CI = "UTF32_SPANISH2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_SPANISH_CI"
+ COLLATION_SERVER_UTF32_SPANISH_CI = "UTF32_SPANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_SWEDISH_CI"
+ COLLATION_SERVER_UTF32_SWEDISH_CI = "UTF32_SWEDISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_TURKISH_CI"
+ COLLATION_SERVER_UTF32_TURKISH_CI = "UTF32_TURKISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_UNICODE_520_CI"
+ COLLATION_SERVER_UTF32_UNICODE_520_CI = "UTF32_UNICODE_520_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_UNICODE_CI"
+ COLLATION_SERVER_UTF32_UNICODE_CI = "UTF32_UNICODE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF32_VIETNAMESE_CI"
+ COLLATION_SERVER_UTF32_VIETNAMESE_CI = "UTF32_VIETNAMESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_GENERAL_CI"
+ COLLATION_SERVER_UTF8_GENERAL_CI = "UTF8_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_BIN"
+ COLLATION_SERVER_UTF8_BIN = "UTF8_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_CROATIAN_CI"
+ COLLATION_SERVER_UTF8_CROATIAN_CI = "UTF8_CROATIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_CZECH_CI"
+ COLLATION_SERVER_UTF8_CZECH_CI = "UTF8_CZECH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_DANISH_CI"
+ COLLATION_SERVER_UTF8_DANISH_CI = "UTF8_DANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_ESPERANTO_CI"
+ COLLATION_SERVER_UTF8_ESPERANTO_CI = "UTF8_ESPERANTO_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_ESTONIAN_CI"
+ COLLATION_SERVER_UTF8_ESTONIAN_CI = "UTF8_ESTONIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_GENERAL_MYSQL500_CI"
+ COLLATION_SERVER_UTF8_GENERAL_MYSQL500_CI = "UTF8_GENERAL_MYSQL500_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_GERMAN2_CI"
+ COLLATION_SERVER_UTF8_GERMAN2_CI = "UTF8_GERMAN2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_HUNGARIAN_CI"
+ COLLATION_SERVER_UTF8_HUNGARIAN_CI = "UTF8_HUNGARIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_ICELANDIC_CI"
+ COLLATION_SERVER_UTF8_ICELANDIC_CI = "UTF8_ICELANDIC_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_LATVIAN_CI"
+ COLLATION_SERVER_UTF8_LATVIAN_CI = "UTF8_LATVIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_LITHUANIAN_CI"
+ COLLATION_SERVER_UTF8_LITHUANIAN_CI = "UTF8_LITHUANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_PERSIAN_CI"
+ COLLATION_SERVER_UTF8_PERSIAN_CI = "UTF8_PERSIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_POLISH_CI"
+ COLLATION_SERVER_UTF8_POLISH_CI = "UTF8_POLISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_ROMANIAN_CI"
+ COLLATION_SERVER_UTF8_ROMANIAN_CI = "UTF8_ROMANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_ROMAN_CI"
+ COLLATION_SERVER_UTF8_ROMAN_CI = "UTF8_ROMAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_SINHALA_CI"
+ COLLATION_SERVER_UTF8_SINHALA_CI = "UTF8_SINHALA_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_SLOVAK_CI"
+ COLLATION_SERVER_UTF8_SLOVAK_CI = "UTF8_SLOVAK_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_SLOVENIAN_CI"
+ COLLATION_SERVER_UTF8_SLOVENIAN_CI = "UTF8_SLOVENIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_SPANISH2_CI"
+ COLLATION_SERVER_UTF8_SPANISH2_CI = "UTF8_SPANISH2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_SPANISH_CI"
+ COLLATION_SERVER_UTF8_SPANISH_CI = "UTF8_SPANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_SWEDISH_CI"
+ COLLATION_SERVER_UTF8_SWEDISH_CI = "UTF8_SWEDISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_TOLOWER_CI"
+ COLLATION_SERVER_UTF8_TOLOWER_CI = "UTF8_TOLOWER_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_TURKISH_CI"
+ COLLATION_SERVER_UTF8_TURKISH_CI = "UTF8_TURKISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_UNICODE_520_CI"
+ COLLATION_SERVER_UTF8_UNICODE_520_CI = "UTF8_UNICODE_520_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_UNICODE_CI"
+ COLLATION_SERVER_UTF8_UNICODE_CI = "UTF8_UNICODE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8_VIETNAMESE_CI"
+ COLLATION_SERVER_UTF8_VIETNAMESE_CI = "UTF8_VIETNAMESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_0900_AI_CI = "UTF8MB4_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_0900_AS_CI"
+ COLLATION_SERVER_UTF8_MB4_0900_AS_CI = "UTF8MB4_0900_AS_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_0900_AS_CS = "UTF8MB4_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_0900_BIN"
+ COLLATION_SERVER_UTF8_MB4_0900_BIN = "UTF8MB4_0900_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_BIN"
+ COLLATION_SERVER_UTF8_MB4_BIN = "UTF8MB4_BIN"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_CROATIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_CROATIAN_CI = "UTF8MB4_CROATIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_CS_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_CS_0900_AI_CI = "UTF8MB4_CS_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_CS_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_CS_0900_AS_CS = "UTF8MB4_CS_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_CZECH_CI"
+ COLLATION_SERVER_UTF8_MB4_CZECH_CI = "UTF8MB4_CZECH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_DANISH_CI"
+ COLLATION_SERVER_UTF8_MB4_DANISH_CI = "UTF8MB4_DANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_DA_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_DA_0900_AI_CI = "UTF8MB4_DA_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_DA_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_DA_0900_AS_CS = "UTF8MB4_DA_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_DE_PB_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_DE_PB_0900_AI_CI = "UTF8MB4_DE_PB_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_DE_PB_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_DE_PB_0900_AS_CS = "UTF8MB4_DE_PB_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_EO_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_EO_0900_AI_CI = "UTF8MB4_EO_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_EO_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_EO_0900_AS_CS = "UTF8MB4_EO_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ESPERANTO_CI"
+ COLLATION_SERVER_UTF8_MB4_ESPERANTO_CI = "UTF8MB4_ESPERANTO_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ESTONIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_ESTONIAN_CI = "UTF8MB4_ESTONIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ES_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_ES_0900_AI_CI = "UTF8MB4_ES_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ES_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_ES_0900_AS_CS = "UTF8MB4_ES_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ES_TRAD_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_ES_TRAD_0900_AI_CI = "UTF8MB4_ES_TRAD_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ES_TRAD_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_ES_TRAD_0900_AS_CS = "UTF8MB4_ES_TRAD_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ET_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_ET_0900_AI_CI = "UTF8MB4_ET_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ET_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_ET_0900_AS_CS = "UTF8MB4_ET_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_GENERAL_CI"
+ COLLATION_SERVER_UTF8_MB4_GENERAL_CI = "UTF8MB4_GENERAL_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_GERMAN2_CI"
+ COLLATION_SERVER_UTF8_MB4_GERMAN2_CI = "UTF8MB4_GERMAN2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_HR_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_HR_0900_AI_CI = "UTF8MB4_HR_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_HR_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_HR_0900_AS_CS = "UTF8MB4_HR_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_HUNGARIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_HUNGARIAN_CI = "UTF8MB4_HUNGARIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_HU_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_HU_0900_AI_CI = "UTF8MB4_HU_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_HU_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_HU_0900_AS_CS = "UTF8MB4_HU_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ICELANDIC_CI"
+ COLLATION_SERVER_UTF8_MB4_ICELANDIC_CI = "UTF8MB4_ICELANDIC_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_IS_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_IS_0900_AI_CI = "UTF8MB4_IS_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_IS_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_IS_0900_AS_CS = "UTF8MB4_IS_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_JA_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_JA_0900_AS_CS = "UTF8MB4_JA_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_JA_0900_AS_CS_KS"
+ COLLATION_SERVER_UTF8_MB4_JA_0900_AS_CS_KS = "UTF8MB4_JA_0900_AS_CS_KS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LATVIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_LATVIAN_CI = "UTF8MB4_LATVIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LA_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_LA_0900_AI_CI = "UTF8MB4_LA_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LA_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_LA_0900_AS_CS = "UTF8MB4_LA_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LITHUANIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_LITHUANIAN_CI = "UTF8MB4_LITHUANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LT_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_LT_0900_AI_CI = "UTF8MB4_LT_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LT_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_LT_0900_AS_CS = "UTF8MB4_LT_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LV_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_LV_0900_AI_CI = "UTF8MB4_LV_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_LV_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_LV_0900_AS_CS = "UTF8MB4_LV_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_PERSIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_PERSIAN_CI = "UTF8MB4_PERSIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_PL_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_PL_0900_AI_CI = "UTF8MB4_PL_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_PL_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_PL_0900_AS_CS = "UTF8MB4_PL_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_POLISH_CI"
+ COLLATION_SERVER_UTF8_MB4_POLISH_CI = "UTF8MB4_POLISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ROMANIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_ROMANIAN_CI = "UTF8MB4_ROMANIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ROMAN_CI"
+ COLLATION_SERVER_UTF8_MB4_ROMAN_CI = "UTF8MB4_ROMAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_RO_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_RO_0900_AI_CI = "UTF8MB4_RO_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_RO_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_RO_0900_AS_CS = "UTF8MB4_RO_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_RU_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_RU_0900_AI_CI = "UTF8MB4_RU_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_RU_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_RU_0900_AS_CS = "UTF8MB4_RU_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SINHALA_CI"
+ COLLATION_SERVER_UTF8_MB4_SINHALA_CI = "UTF8MB4_SINHALA_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SK_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_SK_0900_AI_CI = "UTF8MB4_SK_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SK_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_SK_0900_AS_CS = "UTF8MB4_SK_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SLOVAK_CI"
+ COLLATION_SERVER_UTF8_MB4_SLOVAK_CI = "UTF8MB4_SLOVAK_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SLOVENIAN_CI"
+ COLLATION_SERVER_UTF8_MB4_SLOVENIAN_CI = "UTF8MB4_SLOVENIAN_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SL_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_SL_0900_AI_CI = "UTF8MB4_SL_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SL_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_SL_0900_AS_CS = "UTF8MB4_SL_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SPANISH2_CI"
+ COLLATION_SERVER_UTF8_MB4_SPANISH2_CI = "UTF8MB4_SPANISH2_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SPANISH_CI"
+ COLLATION_SERVER_UTF8_MB4_SPANISH_CI = "UTF8MB4_SPANISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SV_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_SV_0900_AI_CI = "UTF8MB4_SV_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SV_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_SV_0900_AS_CS = "UTF8MB4_SV_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_SWEDISH_CI"
+ COLLATION_SERVER_UTF8_MB4_SWEDISH_CI = "UTF8MB4_SWEDISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_TR_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_TR_0900_AI_CI = "UTF8MB4_TR_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_TR_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_TR_0900_AS_CS = "UTF8MB4_TR_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_TURKISH_CI"
+ COLLATION_SERVER_UTF8_MB4_TURKISH_CI = "UTF8MB4_TURKISH_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_UNICODE_520_CI"
+ COLLATION_SERVER_UTF8_MB4_UNICODE_520_CI = "UTF8MB4_UNICODE_520_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_UNICODE_CI"
+ COLLATION_SERVER_UTF8_MB4_UNICODE_CI = "UTF8MB4_UNICODE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_VIETNAMESE_CI"
+ COLLATION_SERVER_UTF8_MB4_VIETNAMESE_CI = "UTF8MB4_VIETNAMESE_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_VI_0900_AI_CI"
+ COLLATION_SERVER_UTF8_MB4_VI_0900_AI_CI = "UTF8MB4_VI_0900_AI_CI"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_VI_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_VI_0900_AS_CS = "UTF8MB4_VI_0900_AS_CS"
+
+ #: A constant which can be used with the collation_server property of a ConfigurationVariables.
+ #: This constant has a value of "UTF8MB4_ZH_0900_AS_CS"
+ COLLATION_SERVER_UTF8_MB4_ZH_0900_AS_CS = "UTF8MB4_ZH_0900_AS_CS"
+
+ #: A constant which can be used with the default_authentication_plugin property of a ConfigurationVariables.
+ #: This constant has a value of "mysql_native_password"
+ DEFAULT_AUTHENTICATION_PLUGIN_MYSQL_NATIVE_PASSWORD = "mysql_native_password"
+
+ #: A constant which can be used with the default_authentication_plugin property of a ConfigurationVariables.
+ #: This constant has a value of "sha256_password"
+ DEFAULT_AUTHENTICATION_PLUGIN_SHA256_PASSWORD = "sha256_password"
+
+ #: A constant which can be used with the default_authentication_plugin property of a ConfigurationVariables.
+ #: This constant has a value of "caching_sha2_password"
+ DEFAULT_AUTHENTICATION_PLUGIN_CACHING_SHA2_PASSWORD = "caching_sha2_password"
+
+ #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
+ #: This constant has a value of "READ-UNCOMMITTED"
+ TRANSACTION_ISOLATION_READ_UNCOMMITTED = "READ-UNCOMMITTED"
+
+ #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
+ #: This constant has a value of "READ-COMMITED"
+ TRANSACTION_ISOLATION_READ_COMMITED = "READ-COMMITED"
+
+ #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
+ #: This constant has a value of "READ-COMMITTED"
+ TRANSACTION_ISOLATION_READ_COMMITTED = "READ-COMMITTED"
+
+ #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
+ #: This constant has a value of "REPEATABLE-READ"
+ TRANSACTION_ISOLATION_REPEATABLE_READ = "REPEATABLE-READ"
+
+ #: A constant which can be used with the transaction_isolation property of a ConfigurationVariables.
+ #: This constant has a value of "SERIALIZABLE"
+ TRANSACTION_ISOLATION_SERIALIZABLE = "SERIALIZABLE"
+
+ #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
+ #: This constant has a value of "EVENTUAL"
+ GROUP_REPLICATION_CONSISTENCY_EVENTUAL = "EVENTUAL"
+
+ #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
+ #: This constant has a value of "BEFORE_ON_PRIMARY_FAILOVER"
+ GROUP_REPLICATION_CONSISTENCY_BEFORE_ON_PRIMARY_FAILOVER = "BEFORE_ON_PRIMARY_FAILOVER"
+
+ #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
+ #: This constant has a value of "BEFORE"
+ GROUP_REPLICATION_CONSISTENCY_BEFORE = "BEFORE"
+
+ #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
+ #: This constant has a value of "AFTER"
+ GROUP_REPLICATION_CONSISTENCY_AFTER = "AFTER"
+
+ #: A constant which can be used with the group_replication_consistency property of a ConfigurationVariables.
+ #: This constant has a value of "BEFORE_AND_AFTER"
+ GROUP_REPLICATION_CONSISTENCY_BEFORE_AND_AFTER = "BEFORE_AND_AFTER"
+
+ #: A constant which can be used with the binlog_row_metadata property of a ConfigurationVariables.
+ #: This constant has a value of "FULL"
+ BINLOG_ROW_METADATA_FULL = "FULL"
+
+ #: A constant which can be used with the binlog_row_metadata property of a ConfigurationVariables.
+ #: This constant has a value of "MINIMAL"
+ BINLOG_ROW_METADATA_MINIMAL = "MINIMAL"
+
+ #: A constant which can be used with the explain_format property of a ConfigurationVariables.
+ #: This constant has a value of "TRADITIONAL"
+ EXPLAIN_FORMAT_TRADITIONAL = "TRADITIONAL"
+
+ #: A constant which can be used with the explain_format property of a ConfigurationVariables.
+ #: This constant has a value of "JSON"
+ EXPLAIN_FORMAT_JSON = "JSON"
+
+ #: A constant which can be used with the explain_format property of a ConfigurationVariables.
+ #: This constant has a value of "TREE"
+ EXPLAIN_FORMAT_TREE = "TREE"
+
+ #: A constant which can be used with the innodb_change_buffering property of a ConfigurationVariables.
+ #: This constant has a value of "NONE"
+ INNODB_CHANGE_BUFFERING_NONE = "NONE"
+
+ #: A constant which can be used with the innodb_change_buffering property of a ConfigurationVariables.
+ #: This constant has a value of "INSERTS"
+ INNODB_CHANGE_BUFFERING_INSERTS = "INSERTS"
+
+ #: A constant which can be used with the innodb_change_buffering property of a ConfigurationVariables.
+ #: This constant has a value of "DELETES"
+ INNODB_CHANGE_BUFFERING_DELETES = "DELETES"
+
+ #: A constant which can be used with the innodb_change_buffering property of a ConfigurationVariables.
+ #: This constant has a value of "CHANGES"
+ INNODB_CHANGE_BUFFERING_CHANGES = "CHANGES"
+
+ #: A constant which can be used with the innodb_change_buffering property of a ConfigurationVariables.
+ #: This constant has a value of "PURGES"
+ INNODB_CHANGE_BUFFERING_PURGES = "PURGES"
+
+ #: A constant which can be used with the innodb_change_buffering property of a ConfigurationVariables.
+ #: This constant has a value of "ALL"
+ INNODB_CHANGE_BUFFERING_ALL = "ALL"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ConfigurationVariables object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param completion_type:
+ The value to assign to the completion_type property of this ConfigurationVariables.
+ Allowed values for this property are: "NO_CHAIN", "CHAIN", "RELEASE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type completion_type: str
+
+ :param big_tables:
+ The value to assign to the big_tables property of this ConfigurationVariables.
+ :type big_tables: bool
+
+ :param character_set_server:
+ The value to assign to the character_set_server property of this ConfigurationVariables.
+ Allowed values for this property are: "ARMSCII8", "ASCII", "BIG5", "BINARY", "CP1250", "CP1251", "CP1256", "CP1257", "CP850", "CP852", "CP866", "CP932", "DEC8", "EUCJPMS", "EUCKR", "GB18030", "GB2312", "GBK", "GEOSTD8", "GREEK", "HEBREW", "HP8", "KEYBCS2", "KOI8R", "KOI8U", "LATIN1", "LATIN2", "LATIN5", "LATIN7", "MACCE", "MACROMAN", "SJIS", "SWE7", "TIS620", "UCS2", "UJIS", "UTF16", "UTF16LE", "UTF32", "UTF8MB3", "UTF8MB4", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type character_set_server: str
+
+ :param collation_server:
+ The value to assign to the collation_server property of this ConfigurationVariables.
+ Allowed values for this property are: "ARMSCII8_GENERAL_CI", "ARMSCII8_BIN", "ASCII_GENERAL_CI", "ASCII_BIN", "BIG5_CHINESE_CI", "BIG5_BIN", "BINARY", "CP1250_GENERAL_CI", "CP1250_BIN", "CP1250_CROATIAN_CI", "CP1250_CZECH_CS", "CP1250_POLISH_CI", "CP1251_GENERAL_CI", "CP1251_BIN", "CP1251_BULGARIAN_CI", "CP1251_GENERAL_CS", "CP1251_UKRAINIAN_CI", "CP1256_GENERAL_CI", "CP1256_BIN", "CP1257_GENERAL_CI", "CP1257_BIN", "CP1257_LITHUANIAN_CI", "CP850_GENERAL_CI", "CP850_BIN", "CP852_GENERAL_CI", "CP852_BIN", "CP866_GENERAL_CI", "CP866_BIN", "CP932_JAPANESE_CI", "CP932_BIN", "DEC8_SWEDISH_CI", "DEC8_BIN", "EUCJPMS_JAPANESE_CI", "EUCJPMS_BIN", "EUCKR_KOREAN_CI", "EUCKR_BIN", "GB18030_CHINESE_CI", "GB18030_BIN", "GB18030_UNICODE_520_CI", "GB2312_CHINESE_CI", "GB2312_BIN", "GBK_CHINESE_CI", "GBK_BIN", "GEOSTD8_GENERAL_CI", "GEOSTD8_BIN", "GREEK_GENERAL_CI", "GREEK_BIN", "HEBREW_GENERAL_CI", "HEBREW_BIN", "HP8_ENGLISH_CI", "HP8_BIN", "KEYBCS2_GENERAL_CI", "KEYBCS2_BIN", "KOI8R_GENERAL_CI", "KOI8R_BIN", "KOI8U_GENERAL_CI", "KOI8U_BIN", "LATIN1_SWEDISH_CI", "LATIN1_BIN", "LATIN1_DANISH_CI", "LATIN1_GENERAL_CI", "LATIN1_GENERAL_CS", "LATIN1_GERMAN1_CI", "LATIN1_GERMAN2_CI", "LATIN1_SPANISH_CI", "LATIN2_GENERAL_CI", "LATIN2_BIN", "LATIN2_CROATIAN_CI", "LATIN2_CZECH_CS", "LATIN2_HUNGARIAN_CI", "LATIN5_TURKISH_CI", "LATIN5_BIN", "LATIN7_GENERAL_CI", "LATIN7_BIN", "LATIN7_ESTONIAN_CS", "LATIN7_GENERAL_CS", "MACCE_GENERAL_CI", "MACCE_BIN", "MACROMAN_GENERAL_CI", "MACROMAN_BIN", "SJIS_JAPANESE_CI", "SJIS_BIN", "SWE7_SWEDISH_CI", "SWE7_BIN", "TIS620_THAI_CI", "TIS620_BIN", "UCS2_GENERAL_CI", "UCS2_BIN", "UCS2_CROATIAN_CI", "UCS2_CZECH_CI", "UCS2_DANISH_CI", "UCS2_ESPERANTO_CI", "UCS2_ESTONIAN_CI", "UCS2_GENERAL_MYSQL500_CI", "UCS2_GERMAN2_CI", "UCS2_HUNGARIAN_CI", "UCS2_ICELANDIC_CI", "UCS2_LATVIAN_CI", "UCS2_LITHUANIAN_CI", "UCS2_PERSIAN_CI", "UCS2_POLISH_CI", "UCS2_ROMANIAN_CI", "UCS2_ROMAN_CI", "UCS2_SINHALA_CI", "UCS2_SLOVAK_CI", "UCS2_SLOVENIAN_CI", "UCS2_SPANISH2_CI", "UCS2_SPANISH_CI", "UCS2_SWEDISH_CI", "UCS2_TURKISH_CI", "UCS2_UNICODE_520_CI", "UCS2_UNICODE_CI", "UCS2_VIETNAMESE_CI", "UJIS_JAPANESE_CI", "UJIS_BIN", "UTF16_GENERAL_CI", "UTF16_BIN", "UTF16_CROATIAN_CI", "UTF16_CZECH_CI", "UTF16_DANISH_CI", "UTF16_ESPERANTO_CI", "UTF16_ESTONIAN_CI", "UTF16_GERMAN2_CI", "UTF16_HUNGARIAN_CI", "UTF16_ICELANDIC_CI", "UTF16_LATVIAN_CI", "UTF16_LITHUANIAN_CI", "UTF16_PERSIAN_CI", "UTF16_POLISH_CI", "UTF16_ROMANIAN_CI", "UTF16_ROMAN_CI", "UTF16_SINHALA_CI", "UTF16_SLOVAK_CI", "UTF16_SLOVENIAN_CI", "UTF16_SPANISH2_CI", "UTF16_SPANISH_CI", "UTF16_SWEDISH_CI", "UTF16_TURKISH_CI", "UTF16_UNICODE_520_CI", "UTF16_UNICODE_CI", "UTF16_VIETNAMESE_CI", "UTF16LE_GENERAL_CI", "UTF16LE_BIN", "UTF32_GENERAL_CI", "UTF32_BIN", "UTF32_CROATIAN_CI", "UTF32_CZECH_CI", "UTF32_DANISH_CI", "UTF32_ESPERANTO_CI", "UTF32_ESTONIAN_CI", "UTF32_GERMAN2_CI", "UTF32_HUNGARIAN_CI", "UTF32_ICELANDIC_CI", "UTF32_LATVIAN_CI", "UTF32_LITHUANIAN_CI", "UTF32_PERSIAN_CI", "UTF32_POLISH_CI", "UTF32_ROMANIAN_CI", "UTF32_ROMAN_CI", "UTF32_SINHALA_CI", "UTF32_SLOVAK_CI", "UTF32_SLOVENIAN_CI", "UTF32_SPANISH2_CI", "UTF32_SPANISH_CI", "UTF32_SWEDISH_CI", "UTF32_TURKISH_CI", "UTF32_UNICODE_520_CI", "UTF32_UNICODE_CI", "UTF32_VIETNAMESE_CI", "UTF8_GENERAL_CI", "UTF8_BIN", "UTF8_CROATIAN_CI", "UTF8_CZECH_CI", "UTF8_DANISH_CI", "UTF8_ESPERANTO_CI", "UTF8_ESTONIAN_CI", "UTF8_GENERAL_MYSQL500_CI", "UTF8_GERMAN2_CI", "UTF8_HUNGARIAN_CI", "UTF8_ICELANDIC_CI", "UTF8_LATVIAN_CI", "UTF8_LITHUANIAN_CI", "UTF8_PERSIAN_CI", "UTF8_POLISH_CI", "UTF8_ROMANIAN_CI", "UTF8_ROMAN_CI", "UTF8_SINHALA_CI", "UTF8_SLOVAK_CI", "UTF8_SLOVENIAN_CI", "UTF8_SPANISH2_CI", "UTF8_SPANISH_CI", "UTF8_SWEDISH_CI", "UTF8_TOLOWER_CI", "UTF8_TURKISH_CI", "UTF8_UNICODE_520_CI", "UTF8_UNICODE_CI", "UTF8_VIETNAMESE_CI", "UTF8MB4_0900_AI_CI", "UTF8MB4_0900_AS_CI", "UTF8MB4_0900_AS_CS", "UTF8MB4_0900_BIN", "UTF8MB4_BIN", "UTF8MB4_CROATIAN_CI", "UTF8MB4_CS_0900_AI_CI", "UTF8MB4_CS_0900_AS_CS", "UTF8MB4_CZECH_CI", "UTF8MB4_DANISH_CI", "UTF8MB4_DA_0900_AI_CI", "UTF8MB4_DA_0900_AS_CS", "UTF8MB4_DE_PB_0900_AI_CI", "UTF8MB4_DE_PB_0900_AS_CS", "UTF8MB4_EO_0900_AI_CI", "UTF8MB4_EO_0900_AS_CS", "UTF8MB4_ESPERANTO_CI", "UTF8MB4_ESTONIAN_CI", "UTF8MB4_ES_0900_AI_CI", "UTF8MB4_ES_0900_AS_CS", "UTF8MB4_ES_TRAD_0900_AI_CI", "UTF8MB4_ES_TRAD_0900_AS_CS", "UTF8MB4_ET_0900_AI_CI", "UTF8MB4_ET_0900_AS_CS", "UTF8MB4_GENERAL_CI", "UTF8MB4_GERMAN2_CI", "UTF8MB4_HR_0900_AI_CI", "UTF8MB4_HR_0900_AS_CS", "UTF8MB4_HUNGARIAN_CI", "UTF8MB4_HU_0900_AI_CI", "UTF8MB4_HU_0900_AS_CS", "UTF8MB4_ICELANDIC_CI", "UTF8MB4_IS_0900_AI_CI", "UTF8MB4_IS_0900_AS_CS", "UTF8MB4_JA_0900_AS_CS", "UTF8MB4_JA_0900_AS_CS_KS", "UTF8MB4_LATVIAN_CI", "UTF8MB4_LA_0900_AI_CI", "UTF8MB4_LA_0900_AS_CS", "UTF8MB4_LITHUANIAN_CI", "UTF8MB4_LT_0900_AI_CI", "UTF8MB4_LT_0900_AS_CS", "UTF8MB4_LV_0900_AI_CI", "UTF8MB4_LV_0900_AS_CS", "UTF8MB4_PERSIAN_CI", "UTF8MB4_PL_0900_AI_CI", "UTF8MB4_PL_0900_AS_CS", "UTF8MB4_POLISH_CI", "UTF8MB4_ROMANIAN_CI", "UTF8MB4_ROMAN_CI", "UTF8MB4_RO_0900_AI_CI", "UTF8MB4_RO_0900_AS_CS", "UTF8MB4_RU_0900_AI_CI", "UTF8MB4_RU_0900_AS_CS", "UTF8MB4_SINHALA_CI", "UTF8MB4_SK_0900_AI_CI", "UTF8MB4_SK_0900_AS_CS", "UTF8MB4_SLOVAK_CI", "UTF8MB4_SLOVENIAN_CI", "UTF8MB4_SL_0900_AI_CI", "UTF8MB4_SL_0900_AS_CS", "UTF8MB4_SPANISH2_CI", "UTF8MB4_SPANISH_CI", "UTF8MB4_SV_0900_AI_CI", "UTF8MB4_SV_0900_AS_CS", "UTF8MB4_SWEDISH_CI", "UTF8MB4_TR_0900_AI_CI", "UTF8MB4_TR_0900_AS_CS", "UTF8MB4_TURKISH_CI", "UTF8MB4_UNICODE_520_CI", "UTF8MB4_UNICODE_CI", "UTF8MB4_VIETNAMESE_CI", "UTF8MB4_VI_0900_AI_CI", "UTF8MB4_VI_0900_AS_CS", "UTF8MB4_ZH_0900_AS_CS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type collation_server: str
+
+ :param connection_memory_chunk_size:
+ The value to assign to the connection_memory_chunk_size property of this ConfigurationVariables.
+ :type connection_memory_chunk_size: int
+
+ :param connection_memory_limit:
+ The value to assign to the connection_memory_limit property of this ConfigurationVariables.
+ :type connection_memory_limit: int
+
+ :param default_authentication_plugin:
+ The value to assign to the default_authentication_plugin property of this ConfigurationVariables.
+ Allowed values for this property are: "mysql_native_password", "sha256_password", "caching_sha2_password", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type default_authentication_plugin: str
+
+ :param global_connection_memory_limit:
+ The value to assign to the global_connection_memory_limit property of this ConfigurationVariables.
+ :type global_connection_memory_limit: int
+
+ :param global_connection_memory_tracking:
+ The value to assign to the global_connection_memory_tracking property of this ConfigurationVariables.
+ :type global_connection_memory_tracking: bool
+
+ :param transaction_isolation:
+ The value to assign to the transaction_isolation property of this ConfigurationVariables.
+ Allowed values for this property are: "READ-UNCOMMITTED", "READ-COMMITED", "READ-COMMITTED", "REPEATABLE-READ", "SERIALIZABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type transaction_isolation: str
+
+ :param innodb_ft_server_stopword_table:
+ The value to assign to the innodb_ft_server_stopword_table property of this ConfigurationVariables.
+ :type innodb_ft_server_stopword_table: str
+
+ :param mandatory_roles:
+ The value to assign to the mandatory_roles property of this ConfigurationVariables.
+ :type mandatory_roles: str
+
+ :param autocommit:
+ The value to assign to the autocommit property of this ConfigurationVariables.
+ :type autocommit: bool
+
+ :param foreign_key_checks:
+ The value to assign to the foreign_key_checks property of this ConfigurationVariables.
+ :type foreign_key_checks: bool
+
+ :param group_replication_consistency:
+ The value to assign to the group_replication_consistency property of this ConfigurationVariables.
+ Allowed values for this property are: "EVENTUAL", "BEFORE_ON_PRIMARY_FAILOVER", "BEFORE", "AFTER", "BEFORE_AND_AFTER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type group_replication_consistency: str
+
+ :param group_concat_max_len:
+ The value to assign to the group_concat_max_len property of this ConfigurationVariables.
+ :type group_concat_max_len: int
+
+ :param innodb_ft_enable_stopword:
+ The value to assign to the innodb_ft_enable_stopword property of this ConfigurationVariables.
+ :type innodb_ft_enable_stopword: bool
+
+ :param innodb_log_writer_threads:
+ The value to assign to the innodb_log_writer_threads property of this ConfigurationVariables.
+ :type innodb_log_writer_threads: bool
+
+ :param local_infile:
+ The value to assign to the local_infile property of this ConfigurationVariables.
+ :type local_infile: bool
+
+ :param mysql_firewall_mode:
+ The value to assign to the mysql_firewall_mode property of this ConfigurationVariables.
+ :type mysql_firewall_mode: bool
+
+ :param mysqlx_enable_hello_notice:
+ The value to assign to the mysqlx_enable_hello_notice property of this ConfigurationVariables.
+ :type mysqlx_enable_hello_notice: bool
+
+ :param sql_require_primary_key:
+ The value to assign to the sql_require_primary_key property of this ConfigurationVariables.
+ :type sql_require_primary_key: bool
+
+ :param sql_warnings:
+ The value to assign to the sql_warnings property of this ConfigurationVariables.
+ :type sql_warnings: bool
+
+ :param binlog_expire_logs_seconds:
+ The value to assign to the binlog_expire_logs_seconds property of this ConfigurationVariables.
+ :type binlog_expire_logs_seconds: int
+
+ :param binlog_row_metadata:
+ The value to assign to the binlog_row_metadata property of this ConfigurationVariables.
+ Allowed values for this property are: "FULL", "MINIMAL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type binlog_row_metadata: str
+
+ :param binlog_row_value_options:
+ The value to assign to the binlog_row_value_options property of this ConfigurationVariables.
+ :type binlog_row_value_options: str
+
+ :param binlog_transaction_compression:
+ The value to assign to the binlog_transaction_compression property of this ConfigurationVariables.
+ :type binlog_transaction_compression: bool
+
+ :param innodb_buffer_pool_size:
+ The value to assign to the innodb_buffer_pool_size property of this ConfigurationVariables.
+ :type innodb_buffer_pool_size: int
+
+ :param innodb_ft_result_cache_limit:
+ The value to assign to the innodb_ft_result_cache_limit property of this ConfigurationVariables.
+ :type innodb_ft_result_cache_limit: int
+
+ :param max_binlog_cache_size:
+ The value to assign to the max_binlog_cache_size property of this ConfigurationVariables.
+ :type max_binlog_cache_size: int
+
+ :param max_connect_errors:
+ The value to assign to the max_connect_errors property of this ConfigurationVariables.
+ :type max_connect_errors: int
+
+ :param max_heap_table_size:
+ The value to assign to the max_heap_table_size property of this ConfigurationVariables.
+ :type max_heap_table_size: int
+
+ :param max_connections:
+ The value to assign to the max_connections property of this ConfigurationVariables.
+ :type max_connections: int
+
+ :param max_prepared_stmt_count:
+ The value to assign to the max_prepared_stmt_count property of this ConfigurationVariables.
+ :type max_prepared_stmt_count: int
+
+ :param connect_timeout:
+ The value to assign to the connect_timeout property of this ConfigurationVariables.
+ :type connect_timeout: int
+
+ :param cte_max_recursion_depth:
+ The value to assign to the cte_max_recursion_depth property of this ConfigurationVariables.
+ :type cte_max_recursion_depth: int
+
+ :param generated_random_password_length:
+ The value to assign to the generated_random_password_length property of this ConfigurationVariables.
+ :type generated_random_password_length: int
+
+ :param information_schema_stats_expiry:
+ The value to assign to the information_schema_stats_expiry property of this ConfigurationVariables.
+ :type information_schema_stats_expiry: int
+
+ :param innodb_buffer_pool_dump_pct:
+ The value to assign to the innodb_buffer_pool_dump_pct property of this ConfigurationVariables.
+ :type innodb_buffer_pool_dump_pct: int
+
+ :param innodb_buffer_pool_instances:
+ The value to assign to the innodb_buffer_pool_instances property of this ConfigurationVariables.
+ :type innodb_buffer_pool_instances: int
+
+ :param innodb_ddl_buffer_size:
+ The value to assign to the innodb_ddl_buffer_size property of this ConfigurationVariables.
+ :type innodb_ddl_buffer_size: int
+
+ :param innodb_ddl_threads:
+ The value to assign to the innodb_ddl_threads property of this ConfigurationVariables.
+ :type innodb_ddl_threads: int
+
+ :param innodb_ft_max_token_size:
+ The value to assign to the innodb_ft_max_token_size property of this ConfigurationVariables.
+ :type innodb_ft_max_token_size: int
+
+ :param innodb_ft_min_token_size:
+ The value to assign to the innodb_ft_min_token_size property of this ConfigurationVariables.
+ :type innodb_ft_min_token_size: int
+
+ :param innodb_ft_num_word_optimize:
+ The value to assign to the innodb_ft_num_word_optimize property of this ConfigurationVariables.
+ :type innodb_ft_num_word_optimize: int
+
+ :param innodb_lock_wait_timeout:
+ The value to assign to the innodb_lock_wait_timeout property of this ConfigurationVariables.
+ :type innodb_lock_wait_timeout: int
+
+ :param innodb_max_purge_lag:
+ The value to assign to the innodb_max_purge_lag property of this ConfigurationVariables.
+ :type innodb_max_purge_lag: int
+
+ :param innodb_max_purge_lag_delay:
+ The value to assign to the innodb_max_purge_lag_delay property of this ConfigurationVariables.
+ :type innodb_max_purge_lag_delay: int
+
+ :param interactive_timeout:
+ The value to assign to the interactive_timeout property of this ConfigurationVariables.
+ :type interactive_timeout: int
+
+ :param innodb_stats_persistent_sample_pages:
+ The value to assign to the innodb_stats_persistent_sample_pages property of this ConfigurationVariables.
+ :type innodb_stats_persistent_sample_pages: int
+
+ :param innodb_stats_transient_sample_pages:
+ The value to assign to the innodb_stats_transient_sample_pages property of this ConfigurationVariables.
+ :type innodb_stats_transient_sample_pages: int
+
+ :param innodb_strict_mode:
+ The value to assign to the innodb_strict_mode property of this ConfigurationVariables.
+ :type innodb_strict_mode: bool
+
+ :param max_allowed_packet:
+ The value to assign to the max_allowed_packet property of this ConfigurationVariables.
+ :type max_allowed_packet: int
+
+ :param max_execution_time:
+ The value to assign to the max_execution_time property of this ConfigurationVariables.
+ :type max_execution_time: int
+
+ :param mysqlx_connect_timeout:
+ The value to assign to the mysqlx_connect_timeout property of this ConfigurationVariables.
+ :type mysqlx_connect_timeout: int
+
+ :param mysqlx_document_id_unique_prefix:
+ The value to assign to the mysqlx_document_id_unique_prefix property of this ConfigurationVariables.
+ :type mysqlx_document_id_unique_prefix: int
+
+ :param mysqlx_idle_worker_thread_timeout:
+ The value to assign to the mysqlx_idle_worker_thread_timeout property of this ConfigurationVariables.
+ :type mysqlx_idle_worker_thread_timeout: int
+
+ :param mysqlx_interactive_timeout:
+ The value to assign to the mysqlx_interactive_timeout property of this ConfigurationVariables.
+ :type mysqlx_interactive_timeout: int
+
+ :param mysqlx_max_allowed_packet:
+ The value to assign to the mysqlx_max_allowed_packet property of this ConfigurationVariables.
+ :type mysqlx_max_allowed_packet: int
+
+ :param mysqlx_min_worker_threads:
+ The value to assign to the mysqlx_min_worker_threads property of this ConfigurationVariables.
+ :type mysqlx_min_worker_threads: int
+
+ :param mysqlx_read_timeout:
+ The value to assign to the mysqlx_read_timeout property of this ConfigurationVariables.
+ :type mysqlx_read_timeout: int
+
+ :param mysqlx_wait_timeout:
+ The value to assign to the mysqlx_wait_timeout property of this ConfigurationVariables.
+ :type mysqlx_wait_timeout: int
+
+ :param mysqlx_write_timeout:
+ The value to assign to the mysqlx_write_timeout property of this ConfigurationVariables.
+ :type mysqlx_write_timeout: int
+
+ :param net_read_timeout:
+ The value to assign to the net_read_timeout property of this ConfigurationVariables.
+ :type net_read_timeout: int
+
+ :param net_write_timeout:
+ The value to assign to the net_write_timeout property of this ConfigurationVariables.
+ :type net_write_timeout: int
+
+ :param parser_max_mem_size:
+ The value to assign to the parser_max_mem_size property of this ConfigurationVariables.
+ :type parser_max_mem_size: int
+
+ :param query_alloc_block_size:
+ The value to assign to the query_alloc_block_size property of this ConfigurationVariables.
+ :type query_alloc_block_size: int
+
+ :param query_prealloc_size:
+ The value to assign to the query_prealloc_size property of this ConfigurationVariables.
+ :type query_prealloc_size: int
+
+ :param regexp_time_limit:
+ The value to assign to the regexp_time_limit property of this ConfigurationVariables.
+ :type regexp_time_limit: int
+
+ :param sql_mode:
+ The value to assign to the sql_mode property of this ConfigurationVariables.
:type sql_mode: str
- :param tmp_table_size:
- The value to assign to the tmp_table_size property of this ConfigurationVariables.
- :type tmp_table_size: int
+ :param tmp_table_size:
+ The value to assign to the tmp_table_size property of this ConfigurationVariables.
+ :type tmp_table_size: int
+
+ :param mysqlx_deflate_default_compression_level:
+ The value to assign to the mysqlx_deflate_default_compression_level property of this ConfigurationVariables.
+ :type mysqlx_deflate_default_compression_level: int
+
+ :param mysqlx_deflate_max_client_compression_level:
+ The value to assign to the mysqlx_deflate_max_client_compression_level property of this ConfigurationVariables.
+ :type mysqlx_deflate_max_client_compression_level: int
+
+ :param mysqlx_lz4_max_client_compression_level:
+ The value to assign to the mysqlx_lz4_max_client_compression_level property of this ConfigurationVariables.
+ :type mysqlx_lz4_max_client_compression_level: int
+
+ :param mysqlx_lz4_default_compression_level:
+ The value to assign to the mysqlx_lz4_default_compression_level property of this ConfigurationVariables.
+ :type mysqlx_lz4_default_compression_level: int
+
+ :param mysqlx_zstd_max_client_compression_level:
+ The value to assign to the mysqlx_zstd_max_client_compression_level property of this ConfigurationVariables.
+ :type mysqlx_zstd_max_client_compression_level: int
+
+ :param mysqlx_zstd_default_compression_level:
+ The value to assign to the mysqlx_zstd_default_compression_level property of this ConfigurationVariables.
+ :type mysqlx_zstd_default_compression_level: int
+
+ :param mysql_zstd_default_compression_level:
+ The value to assign to the mysql_zstd_default_compression_level property of this ConfigurationVariables.
+ :type mysql_zstd_default_compression_level: int
+
+ :param sort_buffer_size:
+ The value to assign to the sort_buffer_size property of this ConfigurationVariables.
+ :type sort_buffer_size: int
+
+ :param wait_timeout:
+ The value to assign to the wait_timeout property of this ConfigurationVariables.
+ :type wait_timeout: int
+
+ :param thread_pool_dedicated_listeners:
+ The value to assign to the thread_pool_dedicated_listeners property of this ConfigurationVariables.
+ :type thread_pool_dedicated_listeners: bool
+
+ :param thread_pool_max_transactions_limit:
+ The value to assign to the thread_pool_max_transactions_limit property of this ConfigurationVariables.
+ :type thread_pool_max_transactions_limit: int
+
+ :param time_zone:
+ The value to assign to the time_zone property of this ConfigurationVariables.
+ :type time_zone: str
+
+ :param block_encryption_mode:
+ The value to assign to the block_encryption_mode property of this ConfigurationVariables.
+ :type block_encryption_mode: str
+
+ :param binlog_group_commit_sync_delay:
+ The value to assign to the binlog_group_commit_sync_delay property of this ConfigurationVariables.
+ :type binlog_group_commit_sync_delay: int
+
+ :param binlog_group_commit_sync_no_delay_count:
+ The value to assign to the binlog_group_commit_sync_no_delay_count property of this ConfigurationVariables.
+ :type binlog_group_commit_sync_no_delay_count: int
+
+ :param replica_net_timeout:
+ The value to assign to the replica_net_timeout property of this ConfigurationVariables.
+ :type replica_net_timeout: int
+
+ :param require_secure_transport:
+ The value to assign to the require_secure_transport property of this ConfigurationVariables.
+ :type require_secure_transport: bool
+
+ :param innodb_redo_log_capacity:
+ The value to assign to the innodb_redo_log_capacity property of this ConfigurationVariables.
+ :type innodb_redo_log_capacity: int
+
+ :param thread_pool_transaction_delay:
+ The value to assign to the thread_pool_transaction_delay property of this ConfigurationVariables.
+ :type thread_pool_transaction_delay: int
+
+ :param thread_pool_query_threads_per_group:
+ The value to assign to the thread_pool_query_threads_per_group property of this ConfigurationVariables.
+ :type thread_pool_query_threads_per_group: int
+
+ :param explain_format:
+ The value to assign to the explain_format property of this ConfigurationVariables.
+ Allowed values for this property are: "TRADITIONAL", "JSON", "TREE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type explain_format: str
+
+ :param explicit_defaults_for_timestamp:
+ The value to assign to the explicit_defaults_for_timestamp property of this ConfigurationVariables.
+ :type explicit_defaults_for_timestamp: bool
+
+ :param sql_generate_invisible_primary_key:
+ The value to assign to the sql_generate_invisible_primary_key property of this ConfigurationVariables.
+ :type sql_generate_invisible_primary_key: bool
+
+ :param temptable_max_ram:
+ The value to assign to the temptable_max_ram property of this ConfigurationVariables.
+ :type temptable_max_ram: int
+
+ :param innodb_change_buffering:
+ The value to assign to the innodb_change_buffering property of this ConfigurationVariables.
+ Allowed values for this property are: "NONE", "INSERTS", "DELETES", "CHANGES", "PURGES", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type innodb_change_buffering: str
+
+ :param innodb_adaptive_hash_index:
+ The value to assign to the innodb_adaptive_hash_index property of this ConfigurationVariables.
+ :type innodb_adaptive_hash_index: bool
+
+ :param innodb_undo_log_truncate:
+ The value to assign to the innodb_undo_log_truncate property of this ConfigurationVariables.
+ :type innodb_undo_log_truncate: bool
+
+ :param table_definition_cache:
+ The value to assign to the table_definition_cache property of this ConfigurationVariables.
+ :type table_definition_cache: int
+
+ :param table_open_cache:
+ The value to assign to the table_open_cache property of this ConfigurationVariables.
+ :type table_open_cache: int
+
+ :param relay_log_space_limit:
+ The value to assign to the relay_log_space_limit property of this ConfigurationVariables.
+ :type relay_log_space_limit: int
+
+ :param optimizer_switch:
+ The value to assign to the optimizer_switch property of this ConfigurationVariables.
+ :type optimizer_switch: str
+
+ :param replica_type_conversions:
+ The value to assign to the replica_type_conversions property of this ConfigurationVariables.
+ :type replica_type_conversions: str
+
+ :param replica_parallel_workers:
+ The value to assign to the replica_parallel_workers property of this ConfigurationVariables.
+ :type replica_parallel_workers: int
+
+ :param skip_name_resolve:
+ The value to assign to the skip_name_resolve property of this ConfigurationVariables.
+ :type skip_name_resolve: bool
+
+ :param max_user_connections:
+ The value to assign to the max_user_connections property of this ConfigurationVariables.
+ :type max_user_connections: int
+
+ :param join_buffer_size:
+ The value to assign to the join_buffer_size property of this ConfigurationVariables.
+ :type join_buffer_size: int
+
+ :param max_seeks_for_key:
+ The value to assign to the max_seeks_for_key property of this ConfigurationVariables.
+ :type max_seeks_for_key: int
+
+ :param range_optimizer_max_mem_size:
+ The value to assign to the range_optimizer_max_mem_size property of this ConfigurationVariables.
+ :type range_optimizer_max_mem_size: int
+
+ :param auto_increment_increment:
+ The value to assign to the auto_increment_increment property of this ConfigurationVariables.
+ :type auto_increment_increment: int
+
+ :param auto_increment_offset:
+ The value to assign to the auto_increment_offset property of this ConfigurationVariables.
+ :type auto_increment_offset: int
+
+ :param innodb_autoinc_lock_mode:
+ The value to assign to the innodb_autoinc_lock_mode property of this ConfigurationVariables.
+ :type innodb_autoinc_lock_mode: int
+
+ :param innodb_rollback_on_timeout:
+ The value to assign to the innodb_rollback_on_timeout property of this ConfigurationVariables.
+ :type innodb_rollback_on_timeout: bool
+
+ :param innodb_online_alter_log_max_size:
+ The value to assign to the innodb_online_alter_log_max_size property of this ConfigurationVariables.
+ :type innodb_online_alter_log_max_size: int
+
+ :param innodb_sort_buffer_size:
+ The value to assign to the innodb_sort_buffer_size property of this ConfigurationVariables.
+ :type innodb_sort_buffer_size: int
+
+ :param innodb_numa_interleave:
+ The value to assign to the innodb_numa_interleave property of this ConfigurationVariables.
+ :type innodb_numa_interleave: bool
+
+ :param thread_pool_size:
+ The value to assign to the thread_pool_size property of this ConfigurationVariables.
+ :type thread_pool_size: int
+
+ :param long_query_time:
+ The value to assign to the long_query_time property of this ConfigurationVariables.
+ :type long_query_time: int
+
+ """
+ self.swagger_types = {
+ 'completion_type': 'str',
+ 'big_tables': 'bool',
+ 'character_set_server': 'str',
+ 'collation_server': 'str',
+ 'connection_memory_chunk_size': 'int',
+ 'connection_memory_limit': 'int',
+ 'default_authentication_plugin': 'str',
+ 'global_connection_memory_limit': 'int',
+ 'global_connection_memory_tracking': 'bool',
+ 'transaction_isolation': 'str',
+ 'innodb_ft_server_stopword_table': 'str',
+ 'mandatory_roles': 'str',
+ 'autocommit': 'bool',
+ 'foreign_key_checks': 'bool',
+ 'group_replication_consistency': 'str',
+ 'group_concat_max_len': 'int',
+ 'innodb_ft_enable_stopword': 'bool',
+ 'innodb_log_writer_threads': 'bool',
+ 'local_infile': 'bool',
+ 'mysql_firewall_mode': 'bool',
+ 'mysqlx_enable_hello_notice': 'bool',
+ 'sql_require_primary_key': 'bool',
+ 'sql_warnings': 'bool',
+ 'binlog_expire_logs_seconds': 'int',
+ 'binlog_row_metadata': 'str',
+ 'binlog_row_value_options': 'str',
+ 'binlog_transaction_compression': 'bool',
+ 'innodb_buffer_pool_size': 'int',
+ 'innodb_ft_result_cache_limit': 'int',
+ 'max_binlog_cache_size': 'int',
+ 'max_connect_errors': 'int',
+ 'max_heap_table_size': 'int',
+ 'max_connections': 'int',
+ 'max_prepared_stmt_count': 'int',
+ 'connect_timeout': 'int',
+ 'cte_max_recursion_depth': 'int',
+ 'generated_random_password_length': 'int',
+ 'information_schema_stats_expiry': 'int',
+ 'innodb_buffer_pool_dump_pct': 'int',
+ 'innodb_buffer_pool_instances': 'int',
+ 'innodb_ddl_buffer_size': 'int',
+ 'innodb_ddl_threads': 'int',
+ 'innodb_ft_max_token_size': 'int',
+ 'innodb_ft_min_token_size': 'int',
+ 'innodb_ft_num_word_optimize': 'int',
+ 'innodb_lock_wait_timeout': 'int',
+ 'innodb_max_purge_lag': 'int',
+ 'innodb_max_purge_lag_delay': 'int',
+ 'interactive_timeout': 'int',
+ 'innodb_stats_persistent_sample_pages': 'int',
+ 'innodb_stats_transient_sample_pages': 'int',
+ 'innodb_strict_mode': 'bool',
+ 'max_allowed_packet': 'int',
+ 'max_execution_time': 'int',
+ 'mysqlx_connect_timeout': 'int',
+ 'mysqlx_document_id_unique_prefix': 'int',
+ 'mysqlx_idle_worker_thread_timeout': 'int',
+ 'mysqlx_interactive_timeout': 'int',
+ 'mysqlx_max_allowed_packet': 'int',
+ 'mysqlx_min_worker_threads': 'int',
+ 'mysqlx_read_timeout': 'int',
+ 'mysqlx_wait_timeout': 'int',
+ 'mysqlx_write_timeout': 'int',
+ 'net_read_timeout': 'int',
+ 'net_write_timeout': 'int',
+ 'parser_max_mem_size': 'int',
+ 'query_alloc_block_size': 'int',
+ 'query_prealloc_size': 'int',
+ 'regexp_time_limit': 'int',
+ 'sql_mode': 'str',
+ 'tmp_table_size': 'int',
+ 'mysqlx_deflate_default_compression_level': 'int',
+ 'mysqlx_deflate_max_client_compression_level': 'int',
+ 'mysqlx_lz4_max_client_compression_level': 'int',
+ 'mysqlx_lz4_default_compression_level': 'int',
+ 'mysqlx_zstd_max_client_compression_level': 'int',
+ 'mysqlx_zstd_default_compression_level': 'int',
+ 'mysql_zstd_default_compression_level': 'int',
+ 'sort_buffer_size': 'int',
+ 'wait_timeout': 'int',
+ 'thread_pool_dedicated_listeners': 'bool',
+ 'thread_pool_max_transactions_limit': 'int',
+ 'time_zone': 'str',
+ 'block_encryption_mode': 'str',
+ 'binlog_group_commit_sync_delay': 'int',
+ 'binlog_group_commit_sync_no_delay_count': 'int',
+ 'replica_net_timeout': 'int',
+ 'require_secure_transport': 'bool',
+ 'innodb_redo_log_capacity': 'int',
+ 'thread_pool_transaction_delay': 'int',
+ 'thread_pool_query_threads_per_group': 'int',
+ 'explain_format': 'str',
+ 'explicit_defaults_for_timestamp': 'bool',
+ 'sql_generate_invisible_primary_key': 'bool',
+ 'temptable_max_ram': 'int',
+ 'innodb_change_buffering': 'str',
+ 'innodb_adaptive_hash_index': 'bool',
+ 'innodb_undo_log_truncate': 'bool',
+ 'table_definition_cache': 'int',
+ 'table_open_cache': 'int',
+ 'relay_log_space_limit': 'int',
+ 'optimizer_switch': 'str',
+ 'replica_type_conversions': 'str',
+ 'replica_parallel_workers': 'int',
+ 'skip_name_resolve': 'bool',
+ 'max_user_connections': 'int',
+ 'join_buffer_size': 'int',
+ 'max_seeks_for_key': 'int',
+ 'range_optimizer_max_mem_size': 'int',
+ 'auto_increment_increment': 'int',
+ 'auto_increment_offset': 'int',
+ 'innodb_autoinc_lock_mode': 'int',
+ 'innodb_rollback_on_timeout': 'bool',
+ 'innodb_online_alter_log_max_size': 'int',
+ 'innodb_sort_buffer_size': 'int',
+ 'innodb_numa_interleave': 'bool',
+ 'thread_pool_size': 'int',
+ 'long_query_time': 'int'
+ }
+
+ self.attribute_map = {
+ 'completion_type': 'completionType',
+ 'big_tables': 'bigTables',
+ 'character_set_server': 'characterSetServer',
+ 'collation_server': 'collationServer',
+ 'connection_memory_chunk_size': 'connectionMemoryChunkSize',
+ 'connection_memory_limit': 'connectionMemoryLimit',
+ 'default_authentication_plugin': 'defaultAuthenticationPlugin',
+ 'global_connection_memory_limit': 'globalConnectionMemoryLimit',
+ 'global_connection_memory_tracking': 'globalConnectionMemoryTracking',
+ 'transaction_isolation': 'transactionIsolation',
+ 'innodb_ft_server_stopword_table': 'innodbFtServerStopwordTable',
+ 'mandatory_roles': 'mandatoryRoles',
+ 'autocommit': 'autocommit',
+ 'foreign_key_checks': 'foreignKeyChecks',
+ 'group_replication_consistency': 'groupReplicationConsistency',
+ 'group_concat_max_len': 'groupConcatMaxLen',
+ 'innodb_ft_enable_stopword': 'innodbFtEnableStopword',
+ 'innodb_log_writer_threads': 'innodbLogWriterThreads',
+ 'local_infile': 'localInfile',
+ 'mysql_firewall_mode': 'mysqlFirewallMode',
+ 'mysqlx_enable_hello_notice': 'mysqlxEnableHelloNotice',
+ 'sql_require_primary_key': 'sqlRequirePrimaryKey',
+ 'sql_warnings': 'sqlWarnings',
+ 'binlog_expire_logs_seconds': 'binlogExpireLogsSeconds',
+ 'binlog_row_metadata': 'binlogRowMetadata',
+ 'binlog_row_value_options': 'binlogRowValueOptions',
+ 'binlog_transaction_compression': 'binlogTransactionCompression',
+ 'innodb_buffer_pool_size': 'innodbBufferPoolSize',
+ 'innodb_ft_result_cache_limit': 'innodbFtResultCacheLimit',
+ 'max_binlog_cache_size': 'maxBinlogCacheSize',
+ 'max_connect_errors': 'maxConnectErrors',
+ 'max_heap_table_size': 'maxHeapTableSize',
+ 'max_connections': 'maxConnections',
+ 'max_prepared_stmt_count': 'maxPreparedStmtCount',
+ 'connect_timeout': 'connectTimeout',
+ 'cte_max_recursion_depth': 'cteMaxRecursionDepth',
+ 'generated_random_password_length': 'generatedRandomPasswordLength',
+ 'information_schema_stats_expiry': 'informationSchemaStatsExpiry',
+ 'innodb_buffer_pool_dump_pct': 'innodbBufferPoolDumpPct',
+ 'innodb_buffer_pool_instances': 'innodbBufferPoolInstances',
+ 'innodb_ddl_buffer_size': 'innodbDdlBufferSize',
+ 'innodb_ddl_threads': 'innodbDdlThreads',
+ 'innodb_ft_max_token_size': 'innodbFtMaxTokenSize',
+ 'innodb_ft_min_token_size': 'innodbFtMinTokenSize',
+ 'innodb_ft_num_word_optimize': 'innodbFtNumWordOptimize',
+ 'innodb_lock_wait_timeout': 'innodbLockWaitTimeout',
+ 'innodb_max_purge_lag': 'innodbMaxPurgeLag',
+ 'innodb_max_purge_lag_delay': 'innodbMaxPurgeLagDelay',
+ 'interactive_timeout': 'interactiveTimeout',
+ 'innodb_stats_persistent_sample_pages': 'innodbStatsPersistentSamplePages',
+ 'innodb_stats_transient_sample_pages': 'innodbStatsTransientSamplePages',
+ 'innodb_strict_mode': 'innodbStrictMode',
+ 'max_allowed_packet': 'maxAllowedPacket',
+ 'max_execution_time': 'maxExecutionTime',
+ 'mysqlx_connect_timeout': 'mysqlxConnectTimeout',
+ 'mysqlx_document_id_unique_prefix': 'mysqlxDocumentIdUniquePrefix',
+ 'mysqlx_idle_worker_thread_timeout': 'mysqlxIdleWorkerThreadTimeout',
+ 'mysqlx_interactive_timeout': 'mysqlxInteractiveTimeout',
+ 'mysqlx_max_allowed_packet': 'mysqlxMaxAllowedPacket',
+ 'mysqlx_min_worker_threads': 'mysqlxMinWorkerThreads',
+ 'mysqlx_read_timeout': 'mysqlxReadTimeout',
+ 'mysqlx_wait_timeout': 'mysqlxWaitTimeout',
+ 'mysqlx_write_timeout': 'mysqlxWriteTimeout',
+ 'net_read_timeout': 'netReadTimeout',
+ 'net_write_timeout': 'netWriteTimeout',
+ 'parser_max_mem_size': 'parserMaxMemSize',
+ 'query_alloc_block_size': 'queryAllocBlockSize',
+ 'query_prealloc_size': 'queryPreallocSize',
+ 'regexp_time_limit': 'regexpTimeLimit',
+ 'sql_mode': 'sqlMode',
+ 'tmp_table_size': 'tmpTableSize',
+ 'mysqlx_deflate_default_compression_level': 'mysqlxDeflateDefaultCompressionLevel',
+ 'mysqlx_deflate_max_client_compression_level': 'mysqlxDeflateMaxClientCompressionLevel',
+ 'mysqlx_lz4_max_client_compression_level': 'mysqlxLz4MaxClientCompressionLevel',
+ 'mysqlx_lz4_default_compression_level': 'mysqlxLz4DefaultCompressionLevel',
+ 'mysqlx_zstd_max_client_compression_level': 'mysqlxZstdMaxClientCompressionLevel',
+ 'mysqlx_zstd_default_compression_level': 'mysqlxZstdDefaultCompressionLevel',
+ 'mysql_zstd_default_compression_level': 'mysqlZstdDefaultCompressionLevel',
+ 'sort_buffer_size': 'sortBufferSize',
+ 'wait_timeout': 'waitTimeout',
+ 'thread_pool_dedicated_listeners': 'threadPoolDedicatedListeners',
+ 'thread_pool_max_transactions_limit': 'threadPoolMaxTransactionsLimit',
+ 'time_zone': 'timeZone',
+ 'block_encryption_mode': 'blockEncryptionMode',
+ 'binlog_group_commit_sync_delay': 'binlogGroupCommitSyncDelay',
+ 'binlog_group_commit_sync_no_delay_count': 'binlogGroupCommitSyncNoDelayCount',
+ 'replica_net_timeout': 'replicaNetTimeout',
+ 'require_secure_transport': 'requireSecureTransport',
+ 'innodb_redo_log_capacity': 'innodbRedoLogCapacity',
+ 'thread_pool_transaction_delay': 'threadPoolTransactionDelay',
+ 'thread_pool_query_threads_per_group': 'threadPoolQueryThreadsPerGroup',
+ 'explain_format': 'explainFormat',
+ 'explicit_defaults_for_timestamp': 'explicitDefaultsForTimestamp',
+ 'sql_generate_invisible_primary_key': 'sqlGenerateInvisiblePrimaryKey',
+ 'temptable_max_ram': 'temptableMaxRam',
+ 'innodb_change_buffering': 'innodbChangeBuffering',
+ 'innodb_adaptive_hash_index': 'innodbAdaptiveHashIndex',
+ 'innodb_undo_log_truncate': 'innodbUndoLogTruncate',
+ 'table_definition_cache': 'tableDefinitionCache',
+ 'table_open_cache': 'tableOpenCache',
+ 'relay_log_space_limit': 'relayLogSpaceLimit',
+ 'optimizer_switch': 'optimizerSwitch',
+ 'replica_type_conversions': 'replicaTypeConversions',
+ 'replica_parallel_workers': 'replicaParallelWorkers',
+ 'skip_name_resolve': 'skipNameResolve',
+ 'max_user_connections': 'maxUserConnections',
+ 'join_buffer_size': 'joinBufferSize',
+ 'max_seeks_for_key': 'maxSeeksForKey',
+ 'range_optimizer_max_mem_size': 'rangeOptimizerMaxMemSize',
+ 'auto_increment_increment': 'autoIncrementIncrement',
+ 'auto_increment_offset': 'autoIncrementOffset',
+ 'innodb_autoinc_lock_mode': 'innodbAutoincLockMode',
+ 'innodb_rollback_on_timeout': 'innodbRollbackOnTimeout',
+ 'innodb_online_alter_log_max_size': 'innodbOnlineAlterLogMaxSize',
+ 'innodb_sort_buffer_size': 'innodbSortBufferSize',
+ 'innodb_numa_interleave': 'innodbNumaInterleave',
+ 'thread_pool_size': 'threadPoolSize',
+ 'long_query_time': 'longQueryTime'
+ }
+
+ self._completion_type = None
+ self._big_tables = None
+ self._character_set_server = None
+ self._collation_server = None
+ self._connection_memory_chunk_size = None
+ self._connection_memory_limit = None
+ self._default_authentication_plugin = None
+ self._global_connection_memory_limit = None
+ self._global_connection_memory_tracking = None
+ self._transaction_isolation = None
+ self._innodb_ft_server_stopword_table = None
+ self._mandatory_roles = None
+ self._autocommit = None
+ self._foreign_key_checks = None
+ self._group_replication_consistency = None
+ self._group_concat_max_len = None
+ self._innodb_ft_enable_stopword = None
+ self._innodb_log_writer_threads = None
+ self._local_infile = None
+ self._mysql_firewall_mode = None
+ self._mysqlx_enable_hello_notice = None
+ self._sql_require_primary_key = None
+ self._sql_warnings = None
+ self._binlog_expire_logs_seconds = None
+ self._binlog_row_metadata = None
+ self._binlog_row_value_options = None
+ self._binlog_transaction_compression = None
+ self._innodb_buffer_pool_size = None
+ self._innodb_ft_result_cache_limit = None
+ self._max_binlog_cache_size = None
+ self._max_connect_errors = None
+ self._max_heap_table_size = None
+ self._max_connections = None
+ self._max_prepared_stmt_count = None
+ self._connect_timeout = None
+ self._cte_max_recursion_depth = None
+ self._generated_random_password_length = None
+ self._information_schema_stats_expiry = None
+ self._innodb_buffer_pool_dump_pct = None
+ self._innodb_buffer_pool_instances = None
+ self._innodb_ddl_buffer_size = None
+ self._innodb_ddl_threads = None
+ self._innodb_ft_max_token_size = None
+ self._innodb_ft_min_token_size = None
+ self._innodb_ft_num_word_optimize = None
+ self._innodb_lock_wait_timeout = None
+ self._innodb_max_purge_lag = None
+ self._innodb_max_purge_lag_delay = None
+ self._interactive_timeout = None
+ self._innodb_stats_persistent_sample_pages = None
+ self._innodb_stats_transient_sample_pages = None
+ self._innodb_strict_mode = None
+ self._max_allowed_packet = None
+ self._max_execution_time = None
+ self._mysqlx_connect_timeout = None
+ self._mysqlx_document_id_unique_prefix = None
+ self._mysqlx_idle_worker_thread_timeout = None
+ self._mysqlx_interactive_timeout = None
+ self._mysqlx_max_allowed_packet = None
+ self._mysqlx_min_worker_threads = None
+ self._mysqlx_read_timeout = None
+ self._mysqlx_wait_timeout = None
+ self._mysqlx_write_timeout = None
+ self._net_read_timeout = None
+ self._net_write_timeout = None
+ self._parser_max_mem_size = None
+ self._query_alloc_block_size = None
+ self._query_prealloc_size = None
+ self._regexp_time_limit = None
+ self._sql_mode = None
+ self._tmp_table_size = None
+ self._mysqlx_deflate_default_compression_level = None
+ self._mysqlx_deflate_max_client_compression_level = None
+ self._mysqlx_lz4_max_client_compression_level = None
+ self._mysqlx_lz4_default_compression_level = None
+ self._mysqlx_zstd_max_client_compression_level = None
+ self._mysqlx_zstd_default_compression_level = None
+ self._mysql_zstd_default_compression_level = None
+ self._sort_buffer_size = None
+ self._wait_timeout = None
+ self._thread_pool_dedicated_listeners = None
+ self._thread_pool_max_transactions_limit = None
+ self._time_zone = None
+ self._block_encryption_mode = None
+ self._binlog_group_commit_sync_delay = None
+ self._binlog_group_commit_sync_no_delay_count = None
+ self._replica_net_timeout = None
+ self._require_secure_transport = None
+ self._innodb_redo_log_capacity = None
+ self._thread_pool_transaction_delay = None
+ self._thread_pool_query_threads_per_group = None
+ self._explain_format = None
+ self._explicit_defaults_for_timestamp = None
+ self._sql_generate_invisible_primary_key = None
+ self._temptable_max_ram = None
+ self._innodb_change_buffering = None
+ self._innodb_adaptive_hash_index = None
+ self._innodb_undo_log_truncate = None
+ self._table_definition_cache = None
+ self._table_open_cache = None
+ self._relay_log_space_limit = None
+ self._optimizer_switch = None
+ self._replica_type_conversions = None
+ self._replica_parallel_workers = None
+ self._skip_name_resolve = None
+ self._max_user_connections = None
+ self._join_buffer_size = None
+ self._max_seeks_for_key = None
+ self._range_optimizer_max_mem_size = None
+ self._auto_increment_increment = None
+ self._auto_increment_offset = None
+ self._innodb_autoinc_lock_mode = None
+ self._innodb_rollback_on_timeout = None
+ self._innodb_online_alter_log_max_size = None
+ self._innodb_sort_buffer_size = None
+ self._innodb_numa_interleave = None
+ self._thread_pool_size = None
+ self._long_query_time = None
+
+ @property
+ def completion_type(self):
+ """
+ Gets the completion_type of this ConfigurationVariables.
+ (\"completion_type\")
+
+ Allowed values for this property are: "NO_CHAIN", "CHAIN", "RELEASE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The completion_type of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._completion_type
+
+ @completion_type.setter
+ def completion_type(self, completion_type):
+ """
+ Sets the completion_type of this ConfigurationVariables.
+ (\"completion_type\")
+
+
+ :param completion_type: The completion_type of this ConfigurationVariables.
+ :type: str
+ """
+ allowed_values = ["NO_CHAIN", "CHAIN", "RELEASE"]
+ if not value_allowed_none_or_none_sentinel(completion_type, allowed_values):
+ completion_type = 'UNKNOWN_ENUM_VALUE'
+ self._completion_type = completion_type
+
+ @property
+ def big_tables(self):
+ """
+ Gets the big_tables of this ConfigurationVariables.
+ If enabled, the server stores all temporary tables on disk rather than in memory.
+
+ bigTables corresponds to the MySQL server variable `big_tables`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_big_tables
+
+
+ :return: The big_tables of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._big_tables
+
+ @big_tables.setter
+ def big_tables(self, big_tables):
+ """
+ Sets the big_tables of this ConfigurationVariables.
+ If enabled, the server stores all temporary tables on disk rather than in memory.
+
+ bigTables corresponds to the MySQL server variable `big_tables`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_big_tables
+
+
+ :param big_tables: The big_tables of this ConfigurationVariables.
+ :type: bool
+ """
+ self._big_tables = big_tables
+
+ @property
+ def character_set_server(self):
+ """
+ Gets the character_set_server of this ConfigurationVariables.
+ The server's default character set. If you set this variable, you should also set collation_server to specify the collation for the character set.
+
+ characterSetServer corresponds to the MySQL server variable `character_set_server`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_character_set_server
+
+ Allowed values for this property are: "ARMSCII8", "ASCII", "BIG5", "BINARY", "CP1250", "CP1251", "CP1256", "CP1257", "CP850", "CP852", "CP866", "CP932", "DEC8", "EUCJPMS", "EUCKR", "GB18030", "GB2312", "GBK", "GEOSTD8", "GREEK", "HEBREW", "HP8", "KEYBCS2", "KOI8R", "KOI8U", "LATIN1", "LATIN2", "LATIN5", "LATIN7", "MACCE", "MACROMAN", "SJIS", "SWE7", "TIS620", "UCS2", "UJIS", "UTF16", "UTF16LE", "UTF32", "UTF8MB3", "UTF8MB4", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The character_set_server of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._character_set_server
+
+ @character_set_server.setter
+ def character_set_server(self, character_set_server):
+ """
+ Sets the character_set_server of this ConfigurationVariables.
+ The server's default character set. If you set this variable, you should also set collation_server to specify the collation for the character set.
+
+ characterSetServer corresponds to the MySQL server variable `character_set_server`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_character_set_server
+
+
+ :param character_set_server: The character_set_server of this ConfigurationVariables.
+ :type: str
+ """
+ allowed_values = ["ARMSCII8", "ASCII", "BIG5", "BINARY", "CP1250", "CP1251", "CP1256", "CP1257", "CP850", "CP852", "CP866", "CP932", "DEC8", "EUCJPMS", "EUCKR", "GB18030", "GB2312", "GBK", "GEOSTD8", "GREEK", "HEBREW", "HP8", "KEYBCS2", "KOI8R", "KOI8U", "LATIN1", "LATIN2", "LATIN5", "LATIN7", "MACCE", "MACROMAN", "SJIS", "SWE7", "TIS620", "UCS2", "UJIS", "UTF16", "UTF16LE", "UTF32", "UTF8MB3", "UTF8MB4"]
+ if not value_allowed_none_or_none_sentinel(character_set_server, allowed_values):
+ character_set_server = 'UNKNOWN_ENUM_VALUE'
+ self._character_set_server = character_set_server
+
+ @property
+ def collation_server(self):
+ """
+ Gets the collation_server of this ConfigurationVariables.
+ The server's default collation.
+
+ collationServer corresponds to the MySQL server variable `collation_server`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_collation_server
+
+ Allowed values for this property are: "ARMSCII8_GENERAL_CI", "ARMSCII8_BIN", "ASCII_GENERAL_CI", "ASCII_BIN", "BIG5_CHINESE_CI", "BIG5_BIN", "BINARY", "CP1250_GENERAL_CI", "CP1250_BIN", "CP1250_CROATIAN_CI", "CP1250_CZECH_CS", "CP1250_POLISH_CI", "CP1251_GENERAL_CI", "CP1251_BIN", "CP1251_BULGARIAN_CI", "CP1251_GENERAL_CS", "CP1251_UKRAINIAN_CI", "CP1256_GENERAL_CI", "CP1256_BIN", "CP1257_GENERAL_CI", "CP1257_BIN", "CP1257_LITHUANIAN_CI", "CP850_GENERAL_CI", "CP850_BIN", "CP852_GENERAL_CI", "CP852_BIN", "CP866_GENERAL_CI", "CP866_BIN", "CP932_JAPANESE_CI", "CP932_BIN", "DEC8_SWEDISH_CI", "DEC8_BIN", "EUCJPMS_JAPANESE_CI", "EUCJPMS_BIN", "EUCKR_KOREAN_CI", "EUCKR_BIN", "GB18030_CHINESE_CI", "GB18030_BIN", "GB18030_UNICODE_520_CI", "GB2312_CHINESE_CI", "GB2312_BIN", "GBK_CHINESE_CI", "GBK_BIN", "GEOSTD8_GENERAL_CI", "GEOSTD8_BIN", "GREEK_GENERAL_CI", "GREEK_BIN", "HEBREW_GENERAL_CI", "HEBREW_BIN", "HP8_ENGLISH_CI", "HP8_BIN", "KEYBCS2_GENERAL_CI", "KEYBCS2_BIN", "KOI8R_GENERAL_CI", "KOI8R_BIN", "KOI8U_GENERAL_CI", "KOI8U_BIN", "LATIN1_SWEDISH_CI", "LATIN1_BIN", "LATIN1_DANISH_CI", "LATIN1_GENERAL_CI", "LATIN1_GENERAL_CS", "LATIN1_GERMAN1_CI", "LATIN1_GERMAN2_CI", "LATIN1_SPANISH_CI", "LATIN2_GENERAL_CI", "LATIN2_BIN", "LATIN2_CROATIAN_CI", "LATIN2_CZECH_CS", "LATIN2_HUNGARIAN_CI", "LATIN5_TURKISH_CI", "LATIN5_BIN", "LATIN7_GENERAL_CI", "LATIN7_BIN", "LATIN7_ESTONIAN_CS", "LATIN7_GENERAL_CS", "MACCE_GENERAL_CI", "MACCE_BIN", "MACROMAN_GENERAL_CI", "MACROMAN_BIN", "SJIS_JAPANESE_CI", "SJIS_BIN", "SWE7_SWEDISH_CI", "SWE7_BIN", "TIS620_THAI_CI", "TIS620_BIN", "UCS2_GENERAL_CI", "UCS2_BIN", "UCS2_CROATIAN_CI", "UCS2_CZECH_CI", "UCS2_DANISH_CI", "UCS2_ESPERANTO_CI", "UCS2_ESTONIAN_CI", "UCS2_GENERAL_MYSQL500_CI", "UCS2_GERMAN2_CI", "UCS2_HUNGARIAN_CI", "UCS2_ICELANDIC_CI", "UCS2_LATVIAN_CI", "UCS2_LITHUANIAN_CI", "UCS2_PERSIAN_CI", "UCS2_POLISH_CI", "UCS2_ROMANIAN_CI", "UCS2_ROMAN_CI", "UCS2_SINHALA_CI", "UCS2_SLOVAK_CI", "UCS2_SLOVENIAN_CI", "UCS2_SPANISH2_CI", "UCS2_SPANISH_CI", "UCS2_SWEDISH_CI", "UCS2_TURKISH_CI", "UCS2_UNICODE_520_CI", "UCS2_UNICODE_CI", "UCS2_VIETNAMESE_CI", "UJIS_JAPANESE_CI", "UJIS_BIN", "UTF16_GENERAL_CI", "UTF16_BIN", "UTF16_CROATIAN_CI", "UTF16_CZECH_CI", "UTF16_DANISH_CI", "UTF16_ESPERANTO_CI", "UTF16_ESTONIAN_CI", "UTF16_GERMAN2_CI", "UTF16_HUNGARIAN_CI", "UTF16_ICELANDIC_CI", "UTF16_LATVIAN_CI", "UTF16_LITHUANIAN_CI", "UTF16_PERSIAN_CI", "UTF16_POLISH_CI", "UTF16_ROMANIAN_CI", "UTF16_ROMAN_CI", "UTF16_SINHALA_CI", "UTF16_SLOVAK_CI", "UTF16_SLOVENIAN_CI", "UTF16_SPANISH2_CI", "UTF16_SPANISH_CI", "UTF16_SWEDISH_CI", "UTF16_TURKISH_CI", "UTF16_UNICODE_520_CI", "UTF16_UNICODE_CI", "UTF16_VIETNAMESE_CI", "UTF16LE_GENERAL_CI", "UTF16LE_BIN", "UTF32_GENERAL_CI", "UTF32_BIN", "UTF32_CROATIAN_CI", "UTF32_CZECH_CI", "UTF32_DANISH_CI", "UTF32_ESPERANTO_CI", "UTF32_ESTONIAN_CI", "UTF32_GERMAN2_CI", "UTF32_HUNGARIAN_CI", "UTF32_ICELANDIC_CI", "UTF32_LATVIAN_CI", "UTF32_LITHUANIAN_CI", "UTF32_PERSIAN_CI", "UTF32_POLISH_CI", "UTF32_ROMANIAN_CI", "UTF32_ROMAN_CI", "UTF32_SINHALA_CI", "UTF32_SLOVAK_CI", "UTF32_SLOVENIAN_CI", "UTF32_SPANISH2_CI", "UTF32_SPANISH_CI", "UTF32_SWEDISH_CI", "UTF32_TURKISH_CI", "UTF32_UNICODE_520_CI", "UTF32_UNICODE_CI", "UTF32_VIETNAMESE_CI", "UTF8_GENERAL_CI", "UTF8_BIN", "UTF8_CROATIAN_CI", "UTF8_CZECH_CI", "UTF8_DANISH_CI", "UTF8_ESPERANTO_CI", "UTF8_ESTONIAN_CI", "UTF8_GENERAL_MYSQL500_CI", "UTF8_GERMAN2_CI", "UTF8_HUNGARIAN_CI", "UTF8_ICELANDIC_CI", "UTF8_LATVIAN_CI", "UTF8_LITHUANIAN_CI", "UTF8_PERSIAN_CI", "UTF8_POLISH_CI", "UTF8_ROMANIAN_CI", "UTF8_ROMAN_CI", "UTF8_SINHALA_CI", "UTF8_SLOVAK_CI", "UTF8_SLOVENIAN_CI", "UTF8_SPANISH2_CI", "UTF8_SPANISH_CI", "UTF8_SWEDISH_CI", "UTF8_TOLOWER_CI", "UTF8_TURKISH_CI", "UTF8_UNICODE_520_CI", "UTF8_UNICODE_CI", "UTF8_VIETNAMESE_CI", "UTF8MB4_0900_AI_CI", "UTF8MB4_0900_AS_CI", "UTF8MB4_0900_AS_CS", "UTF8MB4_0900_BIN", "UTF8MB4_BIN", "UTF8MB4_CROATIAN_CI", "UTF8MB4_CS_0900_AI_CI", "UTF8MB4_CS_0900_AS_CS", "UTF8MB4_CZECH_CI", "UTF8MB4_DANISH_CI", "UTF8MB4_DA_0900_AI_CI", "UTF8MB4_DA_0900_AS_CS", "UTF8MB4_DE_PB_0900_AI_CI", "UTF8MB4_DE_PB_0900_AS_CS", "UTF8MB4_EO_0900_AI_CI", "UTF8MB4_EO_0900_AS_CS", "UTF8MB4_ESPERANTO_CI", "UTF8MB4_ESTONIAN_CI", "UTF8MB4_ES_0900_AI_CI", "UTF8MB4_ES_0900_AS_CS", "UTF8MB4_ES_TRAD_0900_AI_CI", "UTF8MB4_ES_TRAD_0900_AS_CS", "UTF8MB4_ET_0900_AI_CI", "UTF8MB4_ET_0900_AS_CS", "UTF8MB4_GENERAL_CI", "UTF8MB4_GERMAN2_CI", "UTF8MB4_HR_0900_AI_CI", "UTF8MB4_HR_0900_AS_CS", "UTF8MB4_HUNGARIAN_CI", "UTF8MB4_HU_0900_AI_CI", "UTF8MB4_HU_0900_AS_CS", "UTF8MB4_ICELANDIC_CI", "UTF8MB4_IS_0900_AI_CI", "UTF8MB4_IS_0900_AS_CS", "UTF8MB4_JA_0900_AS_CS", "UTF8MB4_JA_0900_AS_CS_KS", "UTF8MB4_LATVIAN_CI", "UTF8MB4_LA_0900_AI_CI", "UTF8MB4_LA_0900_AS_CS", "UTF8MB4_LITHUANIAN_CI", "UTF8MB4_LT_0900_AI_CI", "UTF8MB4_LT_0900_AS_CS", "UTF8MB4_LV_0900_AI_CI", "UTF8MB4_LV_0900_AS_CS", "UTF8MB4_PERSIAN_CI", "UTF8MB4_PL_0900_AI_CI", "UTF8MB4_PL_0900_AS_CS", "UTF8MB4_POLISH_CI", "UTF8MB4_ROMANIAN_CI", "UTF8MB4_ROMAN_CI", "UTF8MB4_RO_0900_AI_CI", "UTF8MB4_RO_0900_AS_CS", "UTF8MB4_RU_0900_AI_CI", "UTF8MB4_RU_0900_AS_CS", "UTF8MB4_SINHALA_CI", "UTF8MB4_SK_0900_AI_CI", "UTF8MB4_SK_0900_AS_CS", "UTF8MB4_SLOVAK_CI", "UTF8MB4_SLOVENIAN_CI", "UTF8MB4_SL_0900_AI_CI", "UTF8MB4_SL_0900_AS_CS", "UTF8MB4_SPANISH2_CI", "UTF8MB4_SPANISH_CI", "UTF8MB4_SV_0900_AI_CI", "UTF8MB4_SV_0900_AS_CS", "UTF8MB4_SWEDISH_CI", "UTF8MB4_TR_0900_AI_CI", "UTF8MB4_TR_0900_AS_CS", "UTF8MB4_TURKISH_CI", "UTF8MB4_UNICODE_520_CI", "UTF8MB4_UNICODE_CI", "UTF8MB4_VIETNAMESE_CI", "UTF8MB4_VI_0900_AI_CI", "UTF8MB4_VI_0900_AS_CS", "UTF8MB4_ZH_0900_AS_CS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The collation_server of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._collation_server
+
+ @collation_server.setter
+ def collation_server(self, collation_server):
+ """
+ Sets the collation_server of this ConfigurationVariables.
+ The server's default collation.
+
+ collationServer corresponds to the MySQL server variable `collation_server`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_collation_server
+
+
+ :param collation_server: The collation_server of this ConfigurationVariables.
+ :type: str
+ """
+ allowed_values = ["ARMSCII8_GENERAL_CI", "ARMSCII8_BIN", "ASCII_GENERAL_CI", "ASCII_BIN", "BIG5_CHINESE_CI", "BIG5_BIN", "BINARY", "CP1250_GENERAL_CI", "CP1250_BIN", "CP1250_CROATIAN_CI", "CP1250_CZECH_CS", "CP1250_POLISH_CI", "CP1251_GENERAL_CI", "CP1251_BIN", "CP1251_BULGARIAN_CI", "CP1251_GENERAL_CS", "CP1251_UKRAINIAN_CI", "CP1256_GENERAL_CI", "CP1256_BIN", "CP1257_GENERAL_CI", "CP1257_BIN", "CP1257_LITHUANIAN_CI", "CP850_GENERAL_CI", "CP850_BIN", "CP852_GENERAL_CI", "CP852_BIN", "CP866_GENERAL_CI", "CP866_BIN", "CP932_JAPANESE_CI", "CP932_BIN", "DEC8_SWEDISH_CI", "DEC8_BIN", "EUCJPMS_JAPANESE_CI", "EUCJPMS_BIN", "EUCKR_KOREAN_CI", "EUCKR_BIN", "GB18030_CHINESE_CI", "GB18030_BIN", "GB18030_UNICODE_520_CI", "GB2312_CHINESE_CI", "GB2312_BIN", "GBK_CHINESE_CI", "GBK_BIN", "GEOSTD8_GENERAL_CI", "GEOSTD8_BIN", "GREEK_GENERAL_CI", "GREEK_BIN", "HEBREW_GENERAL_CI", "HEBREW_BIN", "HP8_ENGLISH_CI", "HP8_BIN", "KEYBCS2_GENERAL_CI", "KEYBCS2_BIN", "KOI8R_GENERAL_CI", "KOI8R_BIN", "KOI8U_GENERAL_CI", "KOI8U_BIN", "LATIN1_SWEDISH_CI", "LATIN1_BIN", "LATIN1_DANISH_CI", "LATIN1_GENERAL_CI", "LATIN1_GENERAL_CS", "LATIN1_GERMAN1_CI", "LATIN1_GERMAN2_CI", "LATIN1_SPANISH_CI", "LATIN2_GENERAL_CI", "LATIN2_BIN", "LATIN2_CROATIAN_CI", "LATIN2_CZECH_CS", "LATIN2_HUNGARIAN_CI", "LATIN5_TURKISH_CI", "LATIN5_BIN", "LATIN7_GENERAL_CI", "LATIN7_BIN", "LATIN7_ESTONIAN_CS", "LATIN7_GENERAL_CS", "MACCE_GENERAL_CI", "MACCE_BIN", "MACROMAN_GENERAL_CI", "MACROMAN_BIN", "SJIS_JAPANESE_CI", "SJIS_BIN", "SWE7_SWEDISH_CI", "SWE7_BIN", "TIS620_THAI_CI", "TIS620_BIN", "UCS2_GENERAL_CI", "UCS2_BIN", "UCS2_CROATIAN_CI", "UCS2_CZECH_CI", "UCS2_DANISH_CI", "UCS2_ESPERANTO_CI", "UCS2_ESTONIAN_CI", "UCS2_GENERAL_MYSQL500_CI", "UCS2_GERMAN2_CI", "UCS2_HUNGARIAN_CI", "UCS2_ICELANDIC_CI", "UCS2_LATVIAN_CI", "UCS2_LITHUANIAN_CI", "UCS2_PERSIAN_CI", "UCS2_POLISH_CI", "UCS2_ROMANIAN_CI", "UCS2_ROMAN_CI", "UCS2_SINHALA_CI", "UCS2_SLOVAK_CI", "UCS2_SLOVENIAN_CI", "UCS2_SPANISH2_CI", "UCS2_SPANISH_CI", "UCS2_SWEDISH_CI", "UCS2_TURKISH_CI", "UCS2_UNICODE_520_CI", "UCS2_UNICODE_CI", "UCS2_VIETNAMESE_CI", "UJIS_JAPANESE_CI", "UJIS_BIN", "UTF16_GENERAL_CI", "UTF16_BIN", "UTF16_CROATIAN_CI", "UTF16_CZECH_CI", "UTF16_DANISH_CI", "UTF16_ESPERANTO_CI", "UTF16_ESTONIAN_CI", "UTF16_GERMAN2_CI", "UTF16_HUNGARIAN_CI", "UTF16_ICELANDIC_CI", "UTF16_LATVIAN_CI", "UTF16_LITHUANIAN_CI", "UTF16_PERSIAN_CI", "UTF16_POLISH_CI", "UTF16_ROMANIAN_CI", "UTF16_ROMAN_CI", "UTF16_SINHALA_CI", "UTF16_SLOVAK_CI", "UTF16_SLOVENIAN_CI", "UTF16_SPANISH2_CI", "UTF16_SPANISH_CI", "UTF16_SWEDISH_CI", "UTF16_TURKISH_CI", "UTF16_UNICODE_520_CI", "UTF16_UNICODE_CI", "UTF16_VIETNAMESE_CI", "UTF16LE_GENERAL_CI", "UTF16LE_BIN", "UTF32_GENERAL_CI", "UTF32_BIN", "UTF32_CROATIAN_CI", "UTF32_CZECH_CI", "UTF32_DANISH_CI", "UTF32_ESPERANTO_CI", "UTF32_ESTONIAN_CI", "UTF32_GERMAN2_CI", "UTF32_HUNGARIAN_CI", "UTF32_ICELANDIC_CI", "UTF32_LATVIAN_CI", "UTF32_LITHUANIAN_CI", "UTF32_PERSIAN_CI", "UTF32_POLISH_CI", "UTF32_ROMANIAN_CI", "UTF32_ROMAN_CI", "UTF32_SINHALA_CI", "UTF32_SLOVAK_CI", "UTF32_SLOVENIAN_CI", "UTF32_SPANISH2_CI", "UTF32_SPANISH_CI", "UTF32_SWEDISH_CI", "UTF32_TURKISH_CI", "UTF32_UNICODE_520_CI", "UTF32_UNICODE_CI", "UTF32_VIETNAMESE_CI", "UTF8_GENERAL_CI", "UTF8_BIN", "UTF8_CROATIAN_CI", "UTF8_CZECH_CI", "UTF8_DANISH_CI", "UTF8_ESPERANTO_CI", "UTF8_ESTONIAN_CI", "UTF8_GENERAL_MYSQL500_CI", "UTF8_GERMAN2_CI", "UTF8_HUNGARIAN_CI", "UTF8_ICELANDIC_CI", "UTF8_LATVIAN_CI", "UTF8_LITHUANIAN_CI", "UTF8_PERSIAN_CI", "UTF8_POLISH_CI", "UTF8_ROMANIAN_CI", "UTF8_ROMAN_CI", "UTF8_SINHALA_CI", "UTF8_SLOVAK_CI", "UTF8_SLOVENIAN_CI", "UTF8_SPANISH2_CI", "UTF8_SPANISH_CI", "UTF8_SWEDISH_CI", "UTF8_TOLOWER_CI", "UTF8_TURKISH_CI", "UTF8_UNICODE_520_CI", "UTF8_UNICODE_CI", "UTF8_VIETNAMESE_CI", "UTF8MB4_0900_AI_CI", "UTF8MB4_0900_AS_CI", "UTF8MB4_0900_AS_CS", "UTF8MB4_0900_BIN", "UTF8MB4_BIN", "UTF8MB4_CROATIAN_CI", "UTF8MB4_CS_0900_AI_CI", "UTF8MB4_CS_0900_AS_CS", "UTF8MB4_CZECH_CI", "UTF8MB4_DANISH_CI", "UTF8MB4_DA_0900_AI_CI", "UTF8MB4_DA_0900_AS_CS", "UTF8MB4_DE_PB_0900_AI_CI", "UTF8MB4_DE_PB_0900_AS_CS", "UTF8MB4_EO_0900_AI_CI", "UTF8MB4_EO_0900_AS_CS", "UTF8MB4_ESPERANTO_CI", "UTF8MB4_ESTONIAN_CI", "UTF8MB4_ES_0900_AI_CI", "UTF8MB4_ES_0900_AS_CS", "UTF8MB4_ES_TRAD_0900_AI_CI", "UTF8MB4_ES_TRAD_0900_AS_CS", "UTF8MB4_ET_0900_AI_CI", "UTF8MB4_ET_0900_AS_CS", "UTF8MB4_GENERAL_CI", "UTF8MB4_GERMAN2_CI", "UTF8MB4_HR_0900_AI_CI", "UTF8MB4_HR_0900_AS_CS", "UTF8MB4_HUNGARIAN_CI", "UTF8MB4_HU_0900_AI_CI", "UTF8MB4_HU_0900_AS_CS", "UTF8MB4_ICELANDIC_CI", "UTF8MB4_IS_0900_AI_CI", "UTF8MB4_IS_0900_AS_CS", "UTF8MB4_JA_0900_AS_CS", "UTF8MB4_JA_0900_AS_CS_KS", "UTF8MB4_LATVIAN_CI", "UTF8MB4_LA_0900_AI_CI", "UTF8MB4_LA_0900_AS_CS", "UTF8MB4_LITHUANIAN_CI", "UTF8MB4_LT_0900_AI_CI", "UTF8MB4_LT_0900_AS_CS", "UTF8MB4_LV_0900_AI_CI", "UTF8MB4_LV_0900_AS_CS", "UTF8MB4_PERSIAN_CI", "UTF8MB4_PL_0900_AI_CI", "UTF8MB4_PL_0900_AS_CS", "UTF8MB4_POLISH_CI", "UTF8MB4_ROMANIAN_CI", "UTF8MB4_ROMAN_CI", "UTF8MB4_RO_0900_AI_CI", "UTF8MB4_RO_0900_AS_CS", "UTF8MB4_RU_0900_AI_CI", "UTF8MB4_RU_0900_AS_CS", "UTF8MB4_SINHALA_CI", "UTF8MB4_SK_0900_AI_CI", "UTF8MB4_SK_0900_AS_CS", "UTF8MB4_SLOVAK_CI", "UTF8MB4_SLOVENIAN_CI", "UTF8MB4_SL_0900_AI_CI", "UTF8MB4_SL_0900_AS_CS", "UTF8MB4_SPANISH2_CI", "UTF8MB4_SPANISH_CI", "UTF8MB4_SV_0900_AI_CI", "UTF8MB4_SV_0900_AS_CS", "UTF8MB4_SWEDISH_CI", "UTF8MB4_TR_0900_AI_CI", "UTF8MB4_TR_0900_AS_CS", "UTF8MB4_TURKISH_CI", "UTF8MB4_UNICODE_520_CI", "UTF8MB4_UNICODE_CI", "UTF8MB4_VIETNAMESE_CI", "UTF8MB4_VI_0900_AI_CI", "UTF8MB4_VI_0900_AS_CS", "UTF8MB4_ZH_0900_AS_CS"]
+ if not value_allowed_none_or_none_sentinel(collation_server, allowed_values):
+ collation_server = 'UNKNOWN_ENUM_VALUE'
+ self._collation_server = collation_server
+
+ @property
+ def connection_memory_chunk_size(self):
+ """
+ Gets the connection_memory_chunk_size of this ConfigurationVariables.
+ Set the chunking size for updates to the global memory usage counter Global_connection_memory.
+
+ connectionMemoryChunkSize corresponds to the MySQL system variable `connection_memory_chunk_size`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_chunk_size
+
+
+ :return: The connection_memory_chunk_size of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._connection_memory_chunk_size
+
+ @connection_memory_chunk_size.setter
+ def connection_memory_chunk_size(self, connection_memory_chunk_size):
+ """
+ Sets the connection_memory_chunk_size of this ConfigurationVariables.
+ Set the chunking size for updates to the global memory usage counter Global_connection_memory.
+
+ connectionMemoryChunkSize corresponds to the MySQL system variable `connection_memory_chunk_size`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_chunk_size
+
+
+ :param connection_memory_chunk_size: The connection_memory_chunk_size of this ConfigurationVariables.
+ :type: int
+ """
+ self._connection_memory_chunk_size = connection_memory_chunk_size
+
+ @property
+ def connection_memory_limit(self):
+ """
+ Gets the connection_memory_limit of this ConfigurationVariables.
+ Set the maximum amount of memory that can be used by a single user connection.
+
+ connectionMemoryLimit corresponds to the MySQL system variable `connection_memory_limit`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_limit
+
+
+ :return: The connection_memory_limit of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._connection_memory_limit
+
+ @connection_memory_limit.setter
+ def connection_memory_limit(self, connection_memory_limit):
+ """
+ Sets the connection_memory_limit of this ConfigurationVariables.
+ Set the maximum amount of memory that can be used by a single user connection.
+
+ connectionMemoryLimit corresponds to the MySQL system variable `connection_memory_limit`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_limit
+
+
+ :param connection_memory_limit: The connection_memory_limit of this ConfigurationVariables.
+ :type: int
+ """
+ self._connection_memory_limit = connection_memory_limit
+
+ @property
+ def default_authentication_plugin(self):
+ """
+ Gets the default_authentication_plugin of this ConfigurationVariables.
+ The default authentication plugin. This must be a plugin that uses internal credentials storage, so these values are permitted:
+ mysql_native_password, sha256_password, caching_sha2_password.
+
+ As of MySQL 8.0.27, which introduces multifactor authentication, default_authentication_plugin is still used,
+ but in conjunction with and at a lower precedence than the authentication_policy system variable.
+ For details, see The Default Authentication Plugin. Because of this diminished role, default_authentication_plugin is deprecated as of MySQL 8.0.27
+ and subject to removal in a future MySQL version.
+
+ defaultAuthenticationPlugin corresponds to the MySQL system variable
+ `default_authentication_plugin`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
+
+ Allowed values for this property are: "mysql_native_password", "sha256_password", "caching_sha2_password", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The default_authentication_plugin of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._default_authentication_plugin
+
+ @default_authentication_plugin.setter
+ def default_authentication_plugin(self, default_authentication_plugin):
+ """
+ Sets the default_authentication_plugin of this ConfigurationVariables.
+ The default authentication plugin. This must be a plugin that uses internal credentials storage, so these values are permitted:
+ mysql_native_password, sha256_password, caching_sha2_password.
+
+ As of MySQL 8.0.27, which introduces multifactor authentication, default_authentication_plugin is still used,
+ but in conjunction with and at a lower precedence than the authentication_policy system variable.
+ For details, see The Default Authentication Plugin. Because of this diminished role, default_authentication_plugin is deprecated as of MySQL 8.0.27
+ and subject to removal in a future MySQL version.
+
+ defaultAuthenticationPlugin corresponds to the MySQL system variable
+ `default_authentication_plugin`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_default_authentication_plugin
+
+
+ :param default_authentication_plugin: The default_authentication_plugin of this ConfigurationVariables.
+ :type: str
+ """
+ allowed_values = ["mysql_native_password", "sha256_password", "caching_sha2_password"]
+ if not value_allowed_none_or_none_sentinel(default_authentication_plugin, allowed_values):
+ default_authentication_plugin = 'UNKNOWN_ENUM_VALUE'
+ self._default_authentication_plugin = default_authentication_plugin
+
+ @property
+ def global_connection_memory_limit(self):
+ """
+ Gets the global_connection_memory_limit of this ConfigurationVariables.
+ Set the total amount of memory that can be used by all user connections.
+
+ globalConnectionMemoryLimit corresponds to the MySQL system variable `global_connection_memory_limit`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_limit
+
+
+ :return: The global_connection_memory_limit of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._global_connection_memory_limit
+
+ @global_connection_memory_limit.setter
+ def global_connection_memory_limit(self, global_connection_memory_limit):
+ """
+ Sets the global_connection_memory_limit of this ConfigurationVariables.
+ Set the total amount of memory that can be used by all user connections.
+
+ globalConnectionMemoryLimit corresponds to the MySQL system variable `global_connection_memory_limit`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_limit
+
+
+ :param global_connection_memory_limit: The global_connection_memory_limit of this ConfigurationVariables.
+ :type: int
+ """
+ self._global_connection_memory_limit = global_connection_memory_limit
+
+ @property
+ def global_connection_memory_tracking(self):
+ """
+ Gets the global_connection_memory_tracking of this ConfigurationVariables.
+ Determines whether the MySQL server calculates Global_connection_memory.
+
+ globalConnectionMemoryTracking corresponds to the MySQL system variable `global_connection_memory_tracking`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_tracking
+
+
+ :return: The global_connection_memory_tracking of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._global_connection_memory_tracking
+
+ @global_connection_memory_tracking.setter
+ def global_connection_memory_tracking(self, global_connection_memory_tracking):
+ """
+ Sets the global_connection_memory_tracking of this ConfigurationVariables.
+ Determines whether the MySQL server calculates Global_connection_memory.
+
+ globalConnectionMemoryTracking corresponds to the MySQL system variable `global_connection_memory_tracking`__.
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_tracking
+
+
+ :param global_connection_memory_tracking: The global_connection_memory_tracking of this ConfigurationVariables.
+ :type: bool
+ """
+ self._global_connection_memory_tracking = global_connection_memory_tracking
+
+ @property
+ def transaction_isolation(self):
+ """
+ Gets the transaction_isolation of this ConfigurationVariables.
+ (\"transaction_isolation\")
+
+ Allowed values for this property are: "READ-UNCOMMITTED", "READ-COMMITED", "READ-COMMITTED", "REPEATABLE-READ", "SERIALIZABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The transaction_isolation of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._transaction_isolation
+
+ @transaction_isolation.setter
+ def transaction_isolation(self, transaction_isolation):
+ """
+ Sets the transaction_isolation of this ConfigurationVariables.
+ (\"transaction_isolation\")
+
+
+ :param transaction_isolation: The transaction_isolation of this ConfigurationVariables.
+ :type: str
+ """
+ allowed_values = ["READ-UNCOMMITTED", "READ-COMMITED", "READ-COMMITTED", "REPEATABLE-READ", "SERIALIZABLE"]
+ if not value_allowed_none_or_none_sentinel(transaction_isolation, allowed_values):
+ transaction_isolation = 'UNKNOWN_ENUM_VALUE'
+ self._transaction_isolation = transaction_isolation
+
+ @property
+ def innodb_ft_server_stopword_table(self):
+ """
+ Gets the innodb_ft_server_stopword_table of this ConfigurationVariables.
+ (\"innodb_ft_server_stopword_table\")
+
+
+ :return: The innodb_ft_server_stopword_table of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._innodb_ft_server_stopword_table
+
+ @innodb_ft_server_stopword_table.setter
+ def innodb_ft_server_stopword_table(self, innodb_ft_server_stopword_table):
+ """
+ Sets the innodb_ft_server_stopword_table of this ConfigurationVariables.
+ (\"innodb_ft_server_stopword_table\")
+
+
+ :param innodb_ft_server_stopword_table: The innodb_ft_server_stopword_table of this ConfigurationVariables.
+ :type: str
+ """
+ self._innodb_ft_server_stopword_table = innodb_ft_server_stopword_table
+
+ @property
+ def mandatory_roles(self):
+ """
+ Gets the mandatory_roles of this ConfigurationVariables.
+ (\"mandatory_roles\")
+
+
+ :return: The mandatory_roles of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._mandatory_roles
+
+ @mandatory_roles.setter
+ def mandatory_roles(self, mandatory_roles):
+ """
+ Sets the mandatory_roles of this ConfigurationVariables.
+ (\"mandatory_roles\")
+
+
+ :param mandatory_roles: The mandatory_roles of this ConfigurationVariables.
+ :type: str
+ """
+ self._mandatory_roles = mandatory_roles
+
+ @property
+ def autocommit(self):
+ """
+ Gets the autocommit of this ConfigurationVariables.
+ (\"autocommit\")
+
+
+ :return: The autocommit of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._autocommit
+
+ @autocommit.setter
+ def autocommit(self, autocommit):
+ """
+ Sets the autocommit of this ConfigurationVariables.
+ (\"autocommit\")
+
+
+ :param autocommit: The autocommit of this ConfigurationVariables.
+ :type: bool
+ """
+ self._autocommit = autocommit
+
+ @property
+ def foreign_key_checks(self):
+ """
+ Gets the foreign_key_checks of this ConfigurationVariables.
+ (\"foreign_key_checks\")
+
+
+ :return: The foreign_key_checks of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._foreign_key_checks
+
+ @foreign_key_checks.setter
+ def foreign_key_checks(self, foreign_key_checks):
+ """
+ Sets the foreign_key_checks of this ConfigurationVariables.
+ (\"foreign_key_checks\")
+
+
+ :param foreign_key_checks: The foreign_key_checks of this ConfigurationVariables.
+ :type: bool
+ """
+ self._foreign_key_checks = foreign_key_checks
+
+ @property
+ def group_replication_consistency(self):
+ """
+ Gets the group_replication_consistency of this ConfigurationVariables.
+ - EVENTUAL:
+ Both RO and RW transactions do not wait for preceding transactions to be applied before executing.
+ A RW transaction does not wait for other members to apply a transaction. This means that a transaction
+ could be externalized on one member before the others. This also means that in the event of a primary failover,
+ the new primary can accept new RO and RW transactions before the previous primary transactions are all applied.
+ RO transactions could result in outdated values, RW transactions could result in a rollback due to conflicts.
+ - BEFORE_ON_PRIMARY_FAILOVER:
+ New RO or RW transactions with a newly elected primary that is applying backlog from the old
+ primary are held (not applied) until any backlog has been applied. This ensures that when a primary failover happens,
+ intentionally or not, clients always see the latest value on the primary. This guarantees consistency, but means that
+ clients must be able to handle the delay in the event that a backlog is being applied. Usually this delay should be minimal,
+ but does depend on the size of the backlog.
+ - BEFORE:
+ A RW transaction waits for all preceding transactions to complete before being applied. A RO transaction waits for all preceding
+ transactions to complete before being executed. This ensures that this transaction reads the latest value by only affecting the
+ latency of the transaction. This reduces the overhead of synchronization on every RW transaction, by ensuring synchronization is
+ used only on RO transactions. This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
+ - AFTER:
+ A RW transaction waits until its changes have been applied to all of the other members. This value has no effect on RO transactions.
+ This mode ensures that when a transaction is committed on the local member, any subsequent transaction reads the written value or
+ a more recent value on any group member. Use this mode with a group that is used for predominantly RO operations to ensure that
+ applied RW transactions are applied everywhere once they commit. This could be used by your application to ensure that subsequent
+ reads fetch the latest data which includes the latest writes. This reduces the overhead of synchronization on every RO transaction,
+ by ensuring synchronization is used only on RW transactions. This consistency level also includes the consistency guarantees
+ provided by BEFORE_ON_PRIMARY_FAILOVER.
+ - BEFORE_AND_AFTER:
+ A RW transaction waits for 1) all preceding transactions to complete before being applied and 2) until its changes have been
+ applied on other members. A RO transaction waits for all preceding transactions to complete before execution takes place.
+ This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
+
+ Allowed values for this property are: "EVENTUAL", "BEFORE_ON_PRIMARY_FAILOVER", "BEFORE", "AFTER", "BEFORE_AND_AFTER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The group_replication_consistency of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._group_replication_consistency
+
+ @group_replication_consistency.setter
+ def group_replication_consistency(self, group_replication_consistency):
+ """
+ Sets the group_replication_consistency of this ConfigurationVariables.
+ - EVENTUAL:
+ Both RO and RW transactions do not wait for preceding transactions to be applied before executing.
+ A RW transaction does not wait for other members to apply a transaction. This means that a transaction
+ could be externalized on one member before the others. This also means that in the event of a primary failover,
+ the new primary can accept new RO and RW transactions before the previous primary transactions are all applied.
+ RO transactions could result in outdated values, RW transactions could result in a rollback due to conflicts.
+ - BEFORE_ON_PRIMARY_FAILOVER:
+ New RO or RW transactions with a newly elected primary that is applying backlog from the old
+ primary are held (not applied) until any backlog has been applied. This ensures that when a primary failover happens,
+ intentionally or not, clients always see the latest value on the primary. This guarantees consistency, but means that
+ clients must be able to handle the delay in the event that a backlog is being applied. Usually this delay should be minimal,
+ but does depend on the size of the backlog.
+ - BEFORE:
+ A RW transaction waits for all preceding transactions to complete before being applied. A RO transaction waits for all preceding
+ transactions to complete before being executed. This ensures that this transaction reads the latest value by only affecting the
+ latency of the transaction. This reduces the overhead of synchronization on every RW transaction, by ensuring synchronization is
+ used only on RO transactions. This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
+ - AFTER:
+ A RW transaction waits until its changes have been applied to all of the other members. This value has no effect on RO transactions.
+ This mode ensures that when a transaction is committed on the local member, any subsequent transaction reads the written value or
+ a more recent value on any group member. Use this mode with a group that is used for predominantly RO operations to ensure that
+ applied RW transactions are applied everywhere once they commit. This could be used by your application to ensure that subsequent
+ reads fetch the latest data which includes the latest writes. This reduces the overhead of synchronization on every RO transaction,
+ by ensuring synchronization is used only on RW transactions. This consistency level also includes the consistency guarantees
+ provided by BEFORE_ON_PRIMARY_FAILOVER.
+ - BEFORE_AND_AFTER:
+ A RW transaction waits for 1) all preceding transactions to complete before being applied and 2) until its changes have been
+ applied on other members. A RO transaction waits for all preceding transactions to complete before execution takes place.
+ This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
+
+
+ :param group_replication_consistency: The group_replication_consistency of this ConfigurationVariables.
+ :type: str
+ """
+ allowed_values = ["EVENTUAL", "BEFORE_ON_PRIMARY_FAILOVER", "BEFORE", "AFTER", "BEFORE_AND_AFTER"]
+ if not value_allowed_none_or_none_sentinel(group_replication_consistency, allowed_values):
+ group_replication_consistency = 'UNKNOWN_ENUM_VALUE'
+ self._group_replication_consistency = group_replication_consistency
+
+ @property
+ def group_concat_max_len(self):
+ """
+ Gets the group_concat_max_len of this ConfigurationVariables.
+ Specifies the maximum permitted result length in bytes for the GROUP_CONCAT() function.
+
+ This is the MySQL variable \"group_concat_max_len\". For more information, please see the `MySQL documentation`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_group_concat_max_len
+
+
+ :return: The group_concat_max_len of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._group_concat_max_len
+
+ @group_concat_max_len.setter
+ def group_concat_max_len(self, group_concat_max_len):
+ """
+ Sets the group_concat_max_len of this ConfigurationVariables.
+ Specifies the maximum permitted result length in bytes for the GROUP_CONCAT() function.
+
+ This is the MySQL variable \"group_concat_max_len\". For more information, please see the `MySQL documentation`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_group_concat_max_len
+
+
+ :param group_concat_max_len: The group_concat_max_len of this ConfigurationVariables.
+ :type: int
+ """
+ self._group_concat_max_len = group_concat_max_len
+
+ @property
+ def innodb_ft_enable_stopword(self):
+ """
+ Gets the innodb_ft_enable_stopword of this ConfigurationVariables.
+ (\"innodb_ft_enable_stopword\")
+
+
+ :return: The innodb_ft_enable_stopword of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._innodb_ft_enable_stopword
+
+ @innodb_ft_enable_stopword.setter
+ def innodb_ft_enable_stopword(self, innodb_ft_enable_stopword):
+ """
+ Sets the innodb_ft_enable_stopword of this ConfigurationVariables.
+ (\"innodb_ft_enable_stopword\")
+
+
+ :param innodb_ft_enable_stopword: The innodb_ft_enable_stopword of this ConfigurationVariables.
+ :type: bool
+ """
+ self._innodb_ft_enable_stopword = innodb_ft_enable_stopword
+
+ @property
+ def innodb_log_writer_threads(self):
+ """
+ Gets the innodb_log_writer_threads of this ConfigurationVariables.
+ Enables dedicated log writer threads for writing redo log records from the log buffer to the system buffers and flushing the system buffers to the redo log files.
+
+ This is the MySQL variable \"innodb_log_writer_threads\". For more information, please see the `MySQL documentation`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_writer_threads
+
+
+ :return: The innodb_log_writer_threads of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._innodb_log_writer_threads
+
+ @innodb_log_writer_threads.setter
+ def innodb_log_writer_threads(self, innodb_log_writer_threads):
+ """
+ Sets the innodb_log_writer_threads of this ConfigurationVariables.
+ Enables dedicated log writer threads for writing redo log records from the log buffer to the system buffers and flushing the system buffers to the redo log files.
+
+ This is the MySQL variable \"innodb_log_writer_threads\". For more information, please see the `MySQL documentation`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_writer_threads
+
+
+ :param innodb_log_writer_threads: The innodb_log_writer_threads of this ConfigurationVariables.
+ :type: bool
+ """
+ self._innodb_log_writer_threads = innodb_log_writer_threads
+
+ @property
+ def local_infile(self):
+ """
+ Gets the local_infile of this ConfigurationVariables.
+ This variable controls server-side LOCAL capability for LOAD DATA statements. Depending on the local_infile setting,
+ the server refuses or permits local data loading by clients that have LOCAL enabled on the client side.
+
+ local_infile corresponds to the MySQL Server system variable
+ `local_infile`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_local_infile
+
+
+ :return: The local_infile of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._local_infile
+
+ @local_infile.setter
+ def local_infile(self, local_infile):
+ """
+ Sets the local_infile of this ConfigurationVariables.
+ This variable controls server-side LOCAL capability for LOAD DATA statements. Depending on the local_infile setting,
+ the server refuses or permits local data loading by clients that have LOCAL enabled on the client side.
+
+ local_infile corresponds to the MySQL Server system variable
+ `local_infile`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_local_infile
+
+
+ :param local_infile: The local_infile of this ConfigurationVariables.
+ :type: bool
+ """
+ self._local_infile = local_infile
+
+ @property
+ def mysql_firewall_mode(self):
+ """
+ Gets the mysql_firewall_mode of this ConfigurationVariables.
+ (\"mysql_firewall_mode\")
+
+
+ :return: The mysql_firewall_mode of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._mysql_firewall_mode
+
+ @mysql_firewall_mode.setter
+ def mysql_firewall_mode(self, mysql_firewall_mode):
+ """
+ Sets the mysql_firewall_mode of this ConfigurationVariables.
+ (\"mysql_firewall_mode\")
+
+
+ :param mysql_firewall_mode: The mysql_firewall_mode of this ConfigurationVariables.
+ :type: bool
+ """
+ self._mysql_firewall_mode = mysql_firewall_mode
+
+ @property
+ def mysqlx_enable_hello_notice(self):
+ """
+ Gets the mysqlx_enable_hello_notice of this ConfigurationVariables.
+ (\"mysqlx_enable_hello_notice\") DEPRECATED -- variable should not be settable and will be ignored
+
+
+ :return: The mysqlx_enable_hello_notice of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._mysqlx_enable_hello_notice
+
+ @mysqlx_enable_hello_notice.setter
+ def mysqlx_enable_hello_notice(self, mysqlx_enable_hello_notice):
+ """
+ Sets the mysqlx_enable_hello_notice of this ConfigurationVariables.
+ (\"mysqlx_enable_hello_notice\") DEPRECATED -- variable should not be settable and will be ignored
+
+
+ :param mysqlx_enable_hello_notice: The mysqlx_enable_hello_notice of this ConfigurationVariables.
+ :type: bool
+ """
+ self._mysqlx_enable_hello_notice = mysqlx_enable_hello_notice
+
+ @property
+ def sql_require_primary_key(self):
+ """
+ Gets the sql_require_primary_key of this ConfigurationVariables.
+ (\"sql_require_primary_key\")
+
+
+ :return: The sql_require_primary_key of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._sql_require_primary_key
+
+ @sql_require_primary_key.setter
+ def sql_require_primary_key(self, sql_require_primary_key):
+ """
+ Sets the sql_require_primary_key of this ConfigurationVariables.
+ (\"sql_require_primary_key\")
+
+
+ :param sql_require_primary_key: The sql_require_primary_key of this ConfigurationVariables.
+ :type: bool
+ """
+ self._sql_require_primary_key = sql_require_primary_key
+
+ @property
+ def sql_warnings(self):
+ """
+ Gets the sql_warnings of this ConfigurationVariables.
+ (\"sql_warnings\")
+
+
+ :return: The sql_warnings of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._sql_warnings
+
+ @sql_warnings.setter
+ def sql_warnings(self, sql_warnings):
+ """
+ Sets the sql_warnings of this ConfigurationVariables.
+ (\"sql_warnings\")
+
+
+ :param sql_warnings: The sql_warnings of this ConfigurationVariables.
+ :type: bool
+ """
+ self._sql_warnings = sql_warnings
+
+ @property
+ def binlog_expire_logs_seconds(self):
+ """
+ Gets the binlog_expire_logs_seconds of this ConfigurationVariables.
+ Sets the binary log expiration period in seconds.
+ binlogExpireLogsSeconds corresponds to the MySQL binary logging system variable `binlog_expire_logs_seconds`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds
+
+
+ :return: The binlog_expire_logs_seconds of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._binlog_expire_logs_seconds
+
+ @binlog_expire_logs_seconds.setter
+ def binlog_expire_logs_seconds(self, binlog_expire_logs_seconds):
+ """
+ Sets the binlog_expire_logs_seconds of this ConfigurationVariables.
+ Sets the binary log expiration period in seconds.
+ binlogExpireLogsSeconds corresponds to the MySQL binary logging system variable `binlog_expire_logs_seconds`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds
+
+
+ :param binlog_expire_logs_seconds: The binlog_expire_logs_seconds of this ConfigurationVariables.
+ :type: int
+ """
+ self._binlog_expire_logs_seconds = binlog_expire_logs_seconds
+
+ @property
+ def binlog_row_metadata(self):
+ """
+ Gets the binlog_row_metadata of this ConfigurationVariables.
+ Configures the amount of table metadata added to the binary log when using row-based logging.
+ binlogRowMetadata corresponds to the MySQL binary logging system variable `binlog_row_metadata`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_metadata
+
+ Allowed values for this property are: "FULL", "MINIMAL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The binlog_row_metadata of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._binlog_row_metadata
+
+ @binlog_row_metadata.setter
+ def binlog_row_metadata(self, binlog_row_metadata):
+ """
+ Sets the binlog_row_metadata of this ConfigurationVariables.
+ Configures the amount of table metadata added to the binary log when using row-based logging.
+ binlogRowMetadata corresponds to the MySQL binary logging system variable `binlog_row_metadata`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_metadata
+
+
+ :param binlog_row_metadata: The binlog_row_metadata of this ConfigurationVariables.
+ :type: str
+ """
+ allowed_values = ["FULL", "MINIMAL"]
+ if not value_allowed_none_or_none_sentinel(binlog_row_metadata, allowed_values):
+ binlog_row_metadata = 'UNKNOWN_ENUM_VALUE'
+ self._binlog_row_metadata = binlog_row_metadata
+
+ @property
+ def binlog_row_value_options(self):
+ """
+ Gets the binlog_row_value_options of this ConfigurationVariables.
+ When set to PARTIAL_JSON, this enables use of a space-efficient binary log format for updates that modify only a small portion of a JSON document.
+ binlogRowValueOptions corresponds to the MySQL binary logging system variable `binlog_row_value_options`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_value_options
+
+
+ :return: The binlog_row_value_options of this ConfigurationVariables.
+ :rtype: str
+ """
+ return self._binlog_row_value_options
+
+ @binlog_row_value_options.setter
+ def binlog_row_value_options(self, binlog_row_value_options):
+ """
+ Sets the binlog_row_value_options of this ConfigurationVariables.
+ When set to PARTIAL_JSON, this enables use of a space-efficient binary log format for updates that modify only a small portion of a JSON document.
+ binlogRowValueOptions corresponds to the MySQL binary logging system variable `binlog_row_value_options`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_value_options
+
+
+ :param binlog_row_value_options: The binlog_row_value_options of this ConfigurationVariables.
+ :type: str
+ """
+ self._binlog_row_value_options = binlog_row_value_options
+
+ @property
+ def binlog_transaction_compression(self):
+ """
+ Gets the binlog_transaction_compression of this ConfigurationVariables.
+ Enables compression for transactions that are written to binary log files on this server.
+ binlogTransactionCompression corresponds to the MySQL binary logging system variable `binlog_transaction_compression`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_transaction_compression
+
+
+ :return: The binlog_transaction_compression of this ConfigurationVariables.
+ :rtype: bool
+ """
+ return self._binlog_transaction_compression
+
+ @binlog_transaction_compression.setter
+ def binlog_transaction_compression(self, binlog_transaction_compression):
+ """
+ Sets the binlog_transaction_compression of this ConfigurationVariables.
+ Enables compression for transactions that are written to binary log files on this server.
+ binlogTransactionCompression corresponds to the MySQL binary logging system variable `binlog_transaction_compression`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_transaction_compression
+
+
+ :param binlog_transaction_compression: The binlog_transaction_compression of this ConfigurationVariables.
+ :type: bool
+ """
+ self._binlog_transaction_compression = binlog_transaction_compression
+
+ @property
+ def innodb_buffer_pool_size(self):
+ """
+ Gets the innodb_buffer_pool_size of this ConfigurationVariables.
+ The size (in bytes) of the buffer pool, that is, the memory area where InnoDB caches table and index data.
+
+ innodbBufferPoolSize corresponds to the MySQL server system variable
+ `innodb_buffer_pool_size`__.
+
+ The default and maximum values depend on the amount of RAM provisioned by the shape.
+ See `Default User Variables`__.
+
+ __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size
+ __ https://docs.cloud.oracle.com/mysql-database/doc/configuring-db-system.html#GUID-B5504C19-F6F4-4DAB-8506-189A4E8F4A6A
+
+
+ :return: The innodb_buffer_pool_size of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._innodb_buffer_pool_size
+
+ @innodb_buffer_pool_size.setter
+ def innodb_buffer_pool_size(self, innodb_buffer_pool_size):
+ """
+ Sets the innodb_buffer_pool_size of this ConfigurationVariables.
+ The size (in bytes) of the buffer pool, that is, the memory area where InnoDB caches table and index data.
+
+ innodbBufferPoolSize corresponds to the MySQL server system variable
+ `innodb_buffer_pool_size`__.
+
+ The default and maximum values depend on the amount of RAM provisioned by the shape.
+ See `Default User Variables`__.
+
+ __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size
+ __ https://docs.cloud.oracle.com/mysql-database/doc/configuring-db-system.html#GUID-B5504C19-F6F4-4DAB-8506-189A4E8F4A6A
+
+
+ :param innodb_buffer_pool_size: The innodb_buffer_pool_size of this ConfigurationVariables.
+ :type: int
+ """
+ self._innodb_buffer_pool_size = innodb_buffer_pool_size
+
+ @property
+ def innodb_ft_result_cache_limit(self):
+ """
+ Gets the innodb_ft_result_cache_limit of this ConfigurationVariables.
+ (\"innodb_ft_result_cache_limit\")
+
+
+ :return: The innodb_ft_result_cache_limit of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._innodb_ft_result_cache_limit
+
+ @innodb_ft_result_cache_limit.setter
+ def innodb_ft_result_cache_limit(self, innodb_ft_result_cache_limit):
+ """
+ Sets the innodb_ft_result_cache_limit of this ConfigurationVariables.
+ (\"innodb_ft_result_cache_limit\")
+
+
+ :param innodb_ft_result_cache_limit: The innodb_ft_result_cache_limit of this ConfigurationVariables.
+ :type: int
+ """
+ self._innodb_ft_result_cache_limit = innodb_ft_result_cache_limit
+
+ @property
+ def max_binlog_cache_size(self):
+ """
+ Gets the max_binlog_cache_size of this ConfigurationVariables.
+ Sets the size of the transaction cache.
+
+ maxBinlogCacheSize corresponds to the MySQL server system variable `max_binlog_cache_size`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_max_binlog_cache_size
+
+
+ :return: The max_binlog_cache_size of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._max_binlog_cache_size
+
+ @max_binlog_cache_size.setter
+ def max_binlog_cache_size(self, max_binlog_cache_size):
+ """
+ Sets the max_binlog_cache_size of this ConfigurationVariables.
+ Sets the size of the transaction cache.
+
+ maxBinlogCacheSize corresponds to the MySQL server system variable `max_binlog_cache_size`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_max_binlog_cache_size
+
+
+ :param max_binlog_cache_size: The max_binlog_cache_size of this ConfigurationVariables.
+ :type: int
+ """
+ self._max_binlog_cache_size = max_binlog_cache_size
+
+ @property
+ def max_connect_errors(self):
+ """
+ Gets the max_connect_errors of this ConfigurationVariables.
+ (\"max_connect_errors\")
+
+
+ :return: The max_connect_errors of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._max_connect_errors
+
+ @max_connect_errors.setter
+ def max_connect_errors(self, max_connect_errors):
+ """
+ Sets the max_connect_errors of this ConfigurationVariables.
+ (\"max_connect_errors\")
+
+
+ :param max_connect_errors: The max_connect_errors of this ConfigurationVariables.
+ :type: int
+ """
+ self._max_connect_errors = max_connect_errors
+
+ @property
+ def max_heap_table_size(self):
+ """
+ Gets the max_heap_table_size of this ConfigurationVariables.
+ This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.
+
+ maxHeapTableSize corresponds to the MySQL system variable
+ `max_heap_table_size`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_heap_table_size
+
+
+ :return: The max_heap_table_size of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._max_heap_table_size
+
+ @max_heap_table_size.setter
+ def max_heap_table_size(self, max_heap_table_size):
+ """
+ Sets the max_heap_table_size of this ConfigurationVariables.
+ This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.
+
+ maxHeapTableSize corresponds to the MySQL system variable
+ `max_heap_table_size`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_heap_table_size
+
+
+ :param max_heap_table_size: The max_heap_table_size of this ConfigurationVariables.
+ :type: int
+ """
+ self._max_heap_table_size = max_heap_table_size
+
+ @property
+ def max_connections(self):
+ """
+ Gets the max_connections of this ConfigurationVariables.
+ (\"max_connections\")
+
+
+ :return: The max_connections of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._max_connections
+
+ @max_connections.setter
+ def max_connections(self, max_connections):
+ """
+ Sets the max_connections of this ConfigurationVariables.
+ (\"max_connections\")
+
+
+ :param max_connections: The max_connections of this ConfigurationVariables.
+ :type: int
+ """
+ self._max_connections = max_connections
+
+ @property
+ def max_prepared_stmt_count(self):
+ """
+ Gets the max_prepared_stmt_count of this ConfigurationVariables.
+ (\"max_prepared_stmt_count\")
+
+
+ :return: The max_prepared_stmt_count of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._max_prepared_stmt_count
+
+ @max_prepared_stmt_count.setter
+ def max_prepared_stmt_count(self, max_prepared_stmt_count):
+ """
+ Sets the max_prepared_stmt_count of this ConfigurationVariables.
+ (\"max_prepared_stmt_count\")
+
+
+ :param max_prepared_stmt_count: The max_prepared_stmt_count of this ConfigurationVariables.
+ :type: int
+ """
+ self._max_prepared_stmt_count = max_prepared_stmt_count
+
+ @property
+ def connect_timeout(self):
+ """
+ Gets the connect_timeout of this ConfigurationVariables.
+ The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
+
+ connectTimeout corresponds to the MySQL system variable
+ `connect_timeout`__
+
+ Increasing the connect_timeout value might help if clients frequently encounter errors of the form
+ \"Lost connection to MySQL server at 'XXX', system error: errno\".
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_connect_timeout
+
+
+ :return: The connect_timeout of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._connect_timeout
+
+ @connect_timeout.setter
+ def connect_timeout(self, connect_timeout):
+ """
+ Sets the connect_timeout of this ConfigurationVariables.
+ The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
+
+ connectTimeout corresponds to the MySQL system variable
+ `connect_timeout`__
+
+ Increasing the connect_timeout value might help if clients frequently encounter errors of the form
+ \"Lost connection to MySQL server at 'XXX', system error: errno\".
- :param mysqlx_deflate_default_compression_level:
- The value to assign to the mysqlx_deflate_default_compression_level property of this ConfigurationVariables.
- :type mysqlx_deflate_default_compression_level: int
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_connect_timeout
- :param mysqlx_deflate_max_client_compression_level:
- The value to assign to the mysqlx_deflate_max_client_compression_level property of this ConfigurationVariables.
- :type mysqlx_deflate_max_client_compression_level: int
- :param mysqlx_lz4_max_client_compression_level:
- The value to assign to the mysqlx_lz4_max_client_compression_level property of this ConfigurationVariables.
- :type mysqlx_lz4_max_client_compression_level: int
+ :param connect_timeout: The connect_timeout of this ConfigurationVariables.
+ :type: int
+ """
+ self._connect_timeout = connect_timeout
- :param mysqlx_lz4_default_compression_level:
- The value to assign to the mysqlx_lz4_default_compression_level property of this ConfigurationVariables.
- :type mysqlx_lz4_default_compression_level: int
+ @property
+ def cte_max_recursion_depth(self):
+ """
+ Gets the cte_max_recursion_depth of this ConfigurationVariables.
+ (\"cte_max_recursion_depth\")
- :param mysqlx_zstd_max_client_compression_level:
- The value to assign to the mysqlx_zstd_max_client_compression_level property of this ConfigurationVariables.
- :type mysqlx_zstd_max_client_compression_level: int
- :param mysqlx_zstd_default_compression_level:
- The value to assign to the mysqlx_zstd_default_compression_level property of this ConfigurationVariables.
- :type mysqlx_zstd_default_compression_level: int
+ :return: The cte_max_recursion_depth of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._cte_max_recursion_depth
- :param mysql_zstd_default_compression_level:
- The value to assign to the mysql_zstd_default_compression_level property of this ConfigurationVariables.
- :type mysql_zstd_default_compression_level: int
+ @cte_max_recursion_depth.setter
+ def cte_max_recursion_depth(self, cte_max_recursion_depth):
+ """
+ Sets the cte_max_recursion_depth of this ConfigurationVariables.
+ (\"cte_max_recursion_depth\")
- :param sort_buffer_size:
- The value to assign to the sort_buffer_size property of this ConfigurationVariables.
- :type sort_buffer_size: int
- :param wait_timeout:
- The value to assign to the wait_timeout property of this ConfigurationVariables.
- :type wait_timeout: int
+ :param cte_max_recursion_depth: The cte_max_recursion_depth of this ConfigurationVariables.
+ :type: int
+ """
+ self._cte_max_recursion_depth = cte_max_recursion_depth
- :param thread_pool_dedicated_listeners:
- The value to assign to the thread_pool_dedicated_listeners property of this ConfigurationVariables.
- :type thread_pool_dedicated_listeners: bool
+ @property
+ def generated_random_password_length(self):
+ """
+ Gets the generated_random_password_length of this ConfigurationVariables.
+ (\"generated_random_password_length\") DEPRECATED -- variable should not be settable and will be ignored
- :param thread_pool_max_transactions_limit:
- The value to assign to the thread_pool_max_transactions_limit property of this ConfigurationVariables.
- :type thread_pool_max_transactions_limit: int
- :param time_zone:
- The value to assign to the time_zone property of this ConfigurationVariables.
- :type time_zone: str
+ :return: The generated_random_password_length of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._generated_random_password_length
+ @generated_random_password_length.setter
+ def generated_random_password_length(self, generated_random_password_length):
"""
- self.swagger_types = {
- 'completion_type': 'str',
- 'big_tables': 'bool',
- 'connection_memory_chunk_size': 'int',
- 'connection_memory_limit': 'int',
- 'default_authentication_plugin': 'str',
- 'global_connection_memory_limit': 'int',
- 'global_connection_memory_tracking': 'bool',
- 'transaction_isolation': 'str',
- 'innodb_ft_server_stopword_table': 'str',
- 'mandatory_roles': 'str',
- 'autocommit': 'bool',
- 'foreign_key_checks': 'bool',
- 'group_replication_consistency': 'str',
- 'innodb_ft_enable_stopword': 'bool',
- 'innodb_log_writer_threads': 'bool',
- 'local_infile': 'bool',
- 'mysql_firewall_mode': 'bool',
- 'mysqlx_enable_hello_notice': 'bool',
- 'sql_require_primary_key': 'bool',
- 'sql_warnings': 'bool',
- 'binlog_expire_logs_seconds': 'int',
- 'binlog_row_metadata': 'str',
- 'binlog_row_value_options': 'str',
- 'binlog_transaction_compression': 'bool',
- 'innodb_buffer_pool_size': 'int',
- 'innodb_ft_result_cache_limit': 'int',
- 'max_binlog_cache_size': 'int',
- 'max_connect_errors': 'int',
- 'max_heap_table_size': 'int',
- 'max_connections': 'int',
- 'max_prepared_stmt_count': 'int',
- 'connect_timeout': 'int',
- 'cte_max_recursion_depth': 'int',
- 'generated_random_password_length': 'int',
- 'information_schema_stats_expiry': 'int',
- 'innodb_buffer_pool_dump_pct': 'int',
- 'innodb_buffer_pool_instances': 'int',
- 'innodb_ddl_buffer_size': 'int',
- 'innodb_ddl_threads': 'int',
- 'innodb_ft_max_token_size': 'int',
- 'innodb_ft_min_token_size': 'int',
- 'innodb_ft_num_word_optimize': 'int',
- 'innodb_lock_wait_timeout': 'int',
- 'innodb_max_purge_lag': 'int',
- 'innodb_max_purge_lag_delay': 'int',
- 'interactive_timeout': 'int',
- 'innodb_stats_persistent_sample_pages': 'int',
- 'innodb_stats_transient_sample_pages': 'int',
- 'max_allowed_packet': 'int',
- 'max_execution_time': 'int',
- 'mysqlx_connect_timeout': 'int',
- 'mysqlx_document_id_unique_prefix': 'int',
- 'mysqlx_idle_worker_thread_timeout': 'int',
- 'mysqlx_interactive_timeout': 'int',
- 'mysqlx_max_allowed_packet': 'int',
- 'mysqlx_min_worker_threads': 'int',
- 'mysqlx_read_timeout': 'int',
- 'mysqlx_wait_timeout': 'int',
- 'mysqlx_write_timeout': 'int',
- 'net_read_timeout': 'int',
- 'net_write_timeout': 'int',
- 'parser_max_mem_size': 'int',
- 'query_alloc_block_size': 'int',
- 'query_prealloc_size': 'int',
- 'regexp_time_limit': 'int',
- 'sql_mode': 'str',
- 'tmp_table_size': 'int',
- 'mysqlx_deflate_default_compression_level': 'int',
- 'mysqlx_deflate_max_client_compression_level': 'int',
- 'mysqlx_lz4_max_client_compression_level': 'int',
- 'mysqlx_lz4_default_compression_level': 'int',
- 'mysqlx_zstd_max_client_compression_level': 'int',
- 'mysqlx_zstd_default_compression_level': 'int',
- 'mysql_zstd_default_compression_level': 'int',
- 'sort_buffer_size': 'int',
- 'wait_timeout': 'int',
- 'thread_pool_dedicated_listeners': 'bool',
- 'thread_pool_max_transactions_limit': 'int',
- 'time_zone': 'str'
- }
+ Sets the generated_random_password_length of this ConfigurationVariables.
+ (\"generated_random_password_length\") DEPRECATED -- variable should not be settable and will be ignored
+
+
+ :param generated_random_password_length: The generated_random_password_length of this ConfigurationVariables.
+ :type: int
+ """
+ self._generated_random_password_length = generated_random_password_length
+
+ @property
+ def information_schema_stats_expiry(self):
+ """
+ Gets the information_schema_stats_expiry of this ConfigurationVariables.
+ (\"information_schema_stats_expiry\")
+
+
+ :return: The information_schema_stats_expiry of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._information_schema_stats_expiry
+
+ @information_schema_stats_expiry.setter
+ def information_schema_stats_expiry(self, information_schema_stats_expiry):
+ """
+ Sets the information_schema_stats_expiry of this ConfigurationVariables.
+ (\"information_schema_stats_expiry\")
+
+
+ :param information_schema_stats_expiry: The information_schema_stats_expiry of this ConfigurationVariables.
+ :type: int
+ """
+ self._information_schema_stats_expiry = information_schema_stats_expiry
+
+ @property
+ def innodb_buffer_pool_dump_pct(self):
+ """
+ Gets the innodb_buffer_pool_dump_pct of this ConfigurationVariables.
+ Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.
+
+ innodbBufferPoolDumpPct corresponds to the MySQL InnoDB system variable
+ `innodb_buffer_pool_dump_pct`__.
+
+ The range is 1 to 100. The default value is 25.
+
+ For example, if there are 4 buffer pools with 100 pages each, and innodb_buffer_pool_dump_pct is set to 25,
+ the 25 most recently used pages from each buffer pool are dumped.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_dump_pct
+
+
+ :return: The innodb_buffer_pool_dump_pct of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._innodb_buffer_pool_dump_pct
+
+ @innodb_buffer_pool_dump_pct.setter
+ def innodb_buffer_pool_dump_pct(self, innodb_buffer_pool_dump_pct):
+ """
+ Sets the innodb_buffer_pool_dump_pct of this ConfigurationVariables.
+ Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.
+
+ innodbBufferPoolDumpPct corresponds to the MySQL InnoDB system variable
+ `innodb_buffer_pool_dump_pct`__.
+
+ The range is 1 to 100. The default value is 25.
+
+ For example, if there are 4 buffer pools with 100 pages each, and innodb_buffer_pool_dump_pct is set to 25,
+ the 25 most recently used pages from each buffer pool are dumped.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_dump_pct
+
+
+ :param innodb_buffer_pool_dump_pct: The innodb_buffer_pool_dump_pct of this ConfigurationVariables.
+ :type: int
+ """
+ self._innodb_buffer_pool_dump_pct = innodb_buffer_pool_dump_pct
+
+ @property
+ def innodb_buffer_pool_instances(self):
+ """
+ Gets the innodb_buffer_pool_instances of this ConfigurationVariables.
+ (\"innodb_buffer_pool_instances\")
+
+
+ :return: The innodb_buffer_pool_instances of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._innodb_buffer_pool_instances
+
+ @innodb_buffer_pool_instances.setter
+ def innodb_buffer_pool_instances(self, innodb_buffer_pool_instances):
+ """
+ Sets the innodb_buffer_pool_instances of this ConfigurationVariables.
+ (\"innodb_buffer_pool_instances\")
+
+
+ :param innodb_buffer_pool_instances: The innodb_buffer_pool_instances of this ConfigurationVariables.
+ :type: int
+ """
+ self._innodb_buffer_pool_instances = innodb_buffer_pool_instances
+
+ @property
+ def innodb_ddl_buffer_size(self):
+ """
+ Gets the innodb_ddl_buffer_size of this ConfigurationVariables.
+ innodbDdlBufferSize corresponds to the MySQL system variable `innodb_ddl_buffer_size]`__
- self.attribute_map = {
- 'completion_type': 'completionType',
- 'big_tables': 'bigTables',
- 'connection_memory_chunk_size': 'connectionMemoryChunkSize',
- 'connection_memory_limit': 'connectionMemoryLimit',
- 'default_authentication_plugin': 'defaultAuthenticationPlugin',
- 'global_connection_memory_limit': 'globalConnectionMemoryLimit',
- 'global_connection_memory_tracking': 'globalConnectionMemoryTracking',
- 'transaction_isolation': 'transactionIsolation',
- 'innodb_ft_server_stopword_table': 'innodbFtServerStopwordTable',
- 'mandatory_roles': 'mandatoryRoles',
- 'autocommit': 'autocommit',
- 'foreign_key_checks': 'foreignKeyChecks',
- 'group_replication_consistency': 'groupReplicationConsistency',
- 'innodb_ft_enable_stopword': 'innodbFtEnableStopword',
- 'innodb_log_writer_threads': 'innodbLogWriterThreads',
- 'local_infile': 'localInfile',
- 'mysql_firewall_mode': 'mysqlFirewallMode',
- 'mysqlx_enable_hello_notice': 'mysqlxEnableHelloNotice',
- 'sql_require_primary_key': 'sqlRequirePrimaryKey',
- 'sql_warnings': 'sqlWarnings',
- 'binlog_expire_logs_seconds': 'binlogExpireLogsSeconds',
- 'binlog_row_metadata': 'binlogRowMetadata',
- 'binlog_row_value_options': 'binlogRowValueOptions',
- 'binlog_transaction_compression': 'binlogTransactionCompression',
- 'innodb_buffer_pool_size': 'innodbBufferPoolSize',
- 'innodb_ft_result_cache_limit': 'innodbFtResultCacheLimit',
- 'max_binlog_cache_size': 'maxBinlogCacheSize',
- 'max_connect_errors': 'maxConnectErrors',
- 'max_heap_table_size': 'maxHeapTableSize',
- 'max_connections': 'maxConnections',
- 'max_prepared_stmt_count': 'maxPreparedStmtCount',
- 'connect_timeout': 'connectTimeout',
- 'cte_max_recursion_depth': 'cteMaxRecursionDepth',
- 'generated_random_password_length': 'generatedRandomPasswordLength',
- 'information_schema_stats_expiry': 'informationSchemaStatsExpiry',
- 'innodb_buffer_pool_dump_pct': 'innodbBufferPoolDumpPct',
- 'innodb_buffer_pool_instances': 'innodbBufferPoolInstances',
- 'innodb_ddl_buffer_size': 'innodbDdlBufferSize',
- 'innodb_ddl_threads': 'innodbDdlThreads',
- 'innodb_ft_max_token_size': 'innodbFtMaxTokenSize',
- 'innodb_ft_min_token_size': 'innodbFtMinTokenSize',
- 'innodb_ft_num_word_optimize': 'innodbFtNumWordOptimize',
- 'innodb_lock_wait_timeout': 'innodbLockWaitTimeout',
- 'innodb_max_purge_lag': 'innodbMaxPurgeLag',
- 'innodb_max_purge_lag_delay': 'innodbMaxPurgeLagDelay',
- 'interactive_timeout': 'interactiveTimeout',
- 'innodb_stats_persistent_sample_pages': 'innodbStatsPersistentSamplePages',
- 'innodb_stats_transient_sample_pages': 'innodbStatsTransientSamplePages',
- 'max_allowed_packet': 'maxAllowedPacket',
- 'max_execution_time': 'maxExecutionTime',
- 'mysqlx_connect_timeout': 'mysqlxConnectTimeout',
- 'mysqlx_document_id_unique_prefix': 'mysqlxDocumentIdUniquePrefix',
- 'mysqlx_idle_worker_thread_timeout': 'mysqlxIdleWorkerThreadTimeout',
- 'mysqlx_interactive_timeout': 'mysqlxInteractiveTimeout',
- 'mysqlx_max_allowed_packet': 'mysqlxMaxAllowedPacket',
- 'mysqlx_min_worker_threads': 'mysqlxMinWorkerThreads',
- 'mysqlx_read_timeout': 'mysqlxReadTimeout',
- 'mysqlx_wait_timeout': 'mysqlxWaitTimeout',
- 'mysqlx_write_timeout': 'mysqlxWriteTimeout',
- 'net_read_timeout': 'netReadTimeout',
- 'net_write_timeout': 'netWriteTimeout',
- 'parser_max_mem_size': 'parserMaxMemSize',
- 'query_alloc_block_size': 'queryAllocBlockSize',
- 'query_prealloc_size': 'queryPreallocSize',
- 'regexp_time_limit': 'regexpTimeLimit',
- 'sql_mode': 'sqlMode',
- 'tmp_table_size': 'tmpTableSize',
- 'mysqlx_deflate_default_compression_level': 'mysqlxDeflateDefaultCompressionLevel',
- 'mysqlx_deflate_max_client_compression_level': 'mysqlxDeflateMaxClientCompressionLevel',
- 'mysqlx_lz4_max_client_compression_level': 'mysqlxLz4MaxClientCompressionLevel',
- 'mysqlx_lz4_default_compression_level': 'mysqlxLz4DefaultCompressionLevel',
- 'mysqlx_zstd_max_client_compression_level': 'mysqlxZstdMaxClientCompressionLevel',
- 'mysqlx_zstd_default_compression_level': 'mysqlxZstdDefaultCompressionLevel',
- 'mysql_zstd_default_compression_level': 'mysqlZstdDefaultCompressionLevel',
- 'sort_buffer_size': 'sortBufferSize',
- 'wait_timeout': 'waitTimeout',
- 'thread_pool_dedicated_listeners': 'threadPoolDedicatedListeners',
- 'thread_pool_max_transactions_limit': 'threadPoolMaxTransactionsLimit',
- 'time_zone': 'timeZone'
- }
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_buffer_size
- self._completion_type = None
- self._big_tables = None
- self._connection_memory_chunk_size = None
- self._connection_memory_limit = None
- self._default_authentication_plugin = None
- self._global_connection_memory_limit = None
- self._global_connection_memory_tracking = None
- self._transaction_isolation = None
- self._innodb_ft_server_stopword_table = None
- self._mandatory_roles = None
- self._autocommit = None
- self._foreign_key_checks = None
- self._group_replication_consistency = None
- self._innodb_ft_enable_stopword = None
- self._innodb_log_writer_threads = None
- self._local_infile = None
- self._mysql_firewall_mode = None
- self._mysqlx_enable_hello_notice = None
- self._sql_require_primary_key = None
- self._sql_warnings = None
- self._binlog_expire_logs_seconds = None
- self._binlog_row_metadata = None
- self._binlog_row_value_options = None
- self._binlog_transaction_compression = None
- self._innodb_buffer_pool_size = None
- self._innodb_ft_result_cache_limit = None
- self._max_binlog_cache_size = None
- self._max_connect_errors = None
- self._max_heap_table_size = None
- self._max_connections = None
- self._max_prepared_stmt_count = None
- self._connect_timeout = None
- self._cte_max_recursion_depth = None
- self._generated_random_password_length = None
- self._information_schema_stats_expiry = None
- self._innodb_buffer_pool_dump_pct = None
- self._innodb_buffer_pool_instances = None
- self._innodb_ddl_buffer_size = None
- self._innodb_ddl_threads = None
- self._innodb_ft_max_token_size = None
- self._innodb_ft_min_token_size = None
- self._innodb_ft_num_word_optimize = None
- self._innodb_lock_wait_timeout = None
- self._innodb_max_purge_lag = None
- self._innodb_max_purge_lag_delay = None
- self._interactive_timeout = None
- self._innodb_stats_persistent_sample_pages = None
- self._innodb_stats_transient_sample_pages = None
- self._max_allowed_packet = None
- self._max_execution_time = None
- self._mysqlx_connect_timeout = None
- self._mysqlx_document_id_unique_prefix = None
- self._mysqlx_idle_worker_thread_timeout = None
- self._mysqlx_interactive_timeout = None
- self._mysqlx_max_allowed_packet = None
- self._mysqlx_min_worker_threads = None
- self._mysqlx_read_timeout = None
- self._mysqlx_wait_timeout = None
- self._mysqlx_write_timeout = None
- self._net_read_timeout = None
- self._net_write_timeout = None
- self._parser_max_mem_size = None
- self._query_alloc_block_size = None
- self._query_prealloc_size = None
- self._regexp_time_limit = None
- self._sql_mode = None
- self._tmp_table_size = None
- self._mysqlx_deflate_default_compression_level = None
- self._mysqlx_deflate_max_client_compression_level = None
- self._mysqlx_lz4_max_client_compression_level = None
- self._mysqlx_lz4_default_compression_level = None
- self._mysqlx_zstd_max_client_compression_level = None
- self._mysqlx_zstd_default_compression_level = None
- self._mysql_zstd_default_compression_level = None
- self._sort_buffer_size = None
- self._wait_timeout = None
- self._thread_pool_dedicated_listeners = None
- self._thread_pool_max_transactions_limit = None
- self._time_zone = None
+
+ :return: The innodb_ddl_buffer_size of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._innodb_ddl_buffer_size
+
+ @innodb_ddl_buffer_size.setter
+ def innodb_ddl_buffer_size(self, innodb_ddl_buffer_size):
+ """
+ Sets the innodb_ddl_buffer_size of this ConfigurationVariables.
+ innodbDdlBufferSize corresponds to the MySQL system variable `innodb_ddl_buffer_size]`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_buffer_size
+
+
+ :param innodb_ddl_buffer_size: The innodb_ddl_buffer_size of this ConfigurationVariables.
+ :type: int
+ """
+ self._innodb_ddl_buffer_size = innodb_ddl_buffer_size
@property
- def completion_type(self):
+ def innodb_ddl_threads(self):
"""
- Gets the completion_type of this ConfigurationVariables.
- (\"completion_type\")
+ Gets the innodb_ddl_threads of this ConfigurationVariables.
+ innodbDdlThreads corresponds to the MySQL system variable `innodb_ddl_threads]`__
- Allowed values for this property are: "NO_CHAIN", "CHAIN", "RELEASE", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_threads
- :return: The completion_type of this ConfigurationVariables.
- :rtype: str
+ :return: The innodb_ddl_threads of this ConfigurationVariables.
+ :rtype: int
"""
- return self._completion_type
+ return self._innodb_ddl_threads
- @completion_type.setter
- def completion_type(self, completion_type):
+ @innodb_ddl_threads.setter
+ def innodb_ddl_threads(self, innodb_ddl_threads):
"""
- Sets the completion_type of this ConfigurationVariables.
- (\"completion_type\")
+ Sets the innodb_ddl_threads of this ConfigurationVariables.
+ innodbDdlThreads corresponds to the MySQL system variable `innodb_ddl_threads]`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_threads
- :param completion_type: The completion_type of this ConfigurationVariables.
- :type: str
+ :param innodb_ddl_threads: The innodb_ddl_threads of this ConfigurationVariables.
+ :type: int
"""
- allowed_values = ["NO_CHAIN", "CHAIN", "RELEASE"]
- if not value_allowed_none_or_none_sentinel(completion_type, allowed_values):
- completion_type = 'UNKNOWN_ENUM_VALUE'
- self._completion_type = completion_type
+ self._innodb_ddl_threads = innodb_ddl_threads
@property
- def big_tables(self):
+ def innodb_ft_max_token_size(self):
"""
- Gets the big_tables of this ConfigurationVariables.
- If enabled, the server stores all temporary tables on disk rather than in memory.
+ Gets the innodb_ft_max_token_size of this ConfigurationVariables.
+ (\"innodb_ft_max_token_size\")
- bigTables corresponds to the MySQL server variable `big_tables`__.
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_big_tables
+ :return: The innodb_ft_max_token_size of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._innodb_ft_max_token_size
+
+ @innodb_ft_max_token_size.setter
+ def innodb_ft_max_token_size(self, innodb_ft_max_token_size):
+ """
+ Sets the innodb_ft_max_token_size of this ConfigurationVariables.
+ (\"innodb_ft_max_token_size\")
- :return: The big_tables of this ConfigurationVariables.
- :rtype: bool
+ :param innodb_ft_max_token_size: The innodb_ft_max_token_size of this ConfigurationVariables.
+ :type: int
"""
- return self._big_tables
+ self._innodb_ft_max_token_size = innodb_ft_max_token_size
- @big_tables.setter
- def big_tables(self, big_tables):
+ @property
+ def innodb_ft_min_token_size(self):
"""
- Sets the big_tables of this ConfigurationVariables.
- If enabled, the server stores all temporary tables on disk rather than in memory.
+ Gets the innodb_ft_min_token_size of this ConfigurationVariables.
+ (\"innodb_ft_min_token_size\")
- bigTables corresponds to the MySQL server variable `big_tables`__.
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_big_tables
+ :return: The innodb_ft_min_token_size of this ConfigurationVariables.
+ :rtype: int
+ """
+ return self._innodb_ft_min_token_size
+
+ @innodb_ft_min_token_size.setter
+ def innodb_ft_min_token_size(self, innodb_ft_min_token_size):
+ """
+ Sets the innodb_ft_min_token_size of this ConfigurationVariables.
+ (\"innodb_ft_min_token_size\")
- :param big_tables: The big_tables of this ConfigurationVariables.
- :type: bool
+ :param innodb_ft_min_token_size: The innodb_ft_min_token_size of this ConfigurationVariables.
+ :type: int
"""
- self._big_tables = big_tables
+ self._innodb_ft_min_token_size = innodb_ft_min_token_size
@property
- def connection_memory_chunk_size(self):
+ def innodb_ft_num_word_optimize(self):
"""
- Gets the connection_memory_chunk_size of this ConfigurationVariables.
- Set the chunking size for updates to the global memory usage counter Global_connection_memory.
-
- connectionMemoryChunkSize corresponds to the MySQL system variable `connection_memory_chunk_size`__.
-
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_chunk_size
+ Gets the innodb_ft_num_word_optimize of this ConfigurationVariables.
+ (\"innodb_ft_num_word_optimize\")
- :return: The connection_memory_chunk_size of this ConfigurationVariables.
+ :return: The innodb_ft_num_word_optimize of this ConfigurationVariables.
:rtype: int
"""
- return self._connection_memory_chunk_size
+ return self._innodb_ft_num_word_optimize
- @connection_memory_chunk_size.setter
- def connection_memory_chunk_size(self, connection_memory_chunk_size):
+ @innodb_ft_num_word_optimize.setter
+ def innodb_ft_num_word_optimize(self, innodb_ft_num_word_optimize):
"""
- Sets the connection_memory_chunk_size of this ConfigurationVariables.
- Set the chunking size for updates to the global memory usage counter Global_connection_memory.
-
- connectionMemoryChunkSize corresponds to the MySQL system variable `connection_memory_chunk_size`__.
-
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_chunk_size
+ Sets the innodb_ft_num_word_optimize of this ConfigurationVariables.
+ (\"innodb_ft_num_word_optimize\")
- :param connection_memory_chunk_size: The connection_memory_chunk_size of this ConfigurationVariables.
+ :param innodb_ft_num_word_optimize: The innodb_ft_num_word_optimize of this ConfigurationVariables.
:type: int
"""
- self._connection_memory_chunk_size = connection_memory_chunk_size
+ self._innodb_ft_num_word_optimize = innodb_ft_num_word_optimize
@property
- def connection_memory_limit(self):
+ def innodb_lock_wait_timeout(self):
"""
- Gets the connection_memory_limit of this ConfigurationVariables.
- Set the maximum amount of memory that can be used by a single user connection.
-
- connectionMemoryLimit corresponds to the MySQL system variable `connection_memory_limit`__.
-
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_limit
+ Gets the innodb_lock_wait_timeout of this ConfigurationVariables.
+ (\"innodb_lock_wait_timeout\")
- :return: The connection_memory_limit of this ConfigurationVariables.
+ :return: The innodb_lock_wait_timeout of this ConfigurationVariables.
:rtype: int
"""
- return self._connection_memory_limit
+ return self._innodb_lock_wait_timeout
- @connection_memory_limit.setter
- def connection_memory_limit(self, connection_memory_limit):
+ @innodb_lock_wait_timeout.setter
+ def innodb_lock_wait_timeout(self, innodb_lock_wait_timeout):
"""
- Sets the connection_memory_limit of this ConfigurationVariables.
- Set the maximum amount of memory that can be used by a single user connection.
-
- connectionMemoryLimit corresponds to the MySQL system variable `connection_memory_limit`__.
-
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_connection_memory_limit
+ Sets the innodb_lock_wait_timeout of this ConfigurationVariables.
+ (\"innodb_lock_wait_timeout\")
- :param connection_memory_limit: The connection_memory_limit of this ConfigurationVariables.
+ :param innodb_lock_wait_timeout: The innodb_lock_wait_timeout of this ConfigurationVariables.
:type: int
"""
- self._connection_memory_limit = connection_memory_limit
+ self._innodb_lock_wait_timeout = innodb_lock_wait_timeout
@property
- def default_authentication_plugin(self):
+ def innodb_max_purge_lag(self):
"""
- Gets the default_authentication_plugin of this ConfigurationVariables.
- (\"default_authentication_plugin\")
+ Gets the innodb_max_purge_lag of this ConfigurationVariables.
+ The desired maximum purge lag in terms of transactions.
- Allowed values for this property are: "mysql_native_password", "sha256_password", "caching_sha2_password", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ InnoDB maintains a list of transactions that have index records delete-marked by UPDATE or DELETE operations. The length of the list is the purge lag.
+ If this value is exceeded, a delay is imposed on INSERT, UPDATE, and DELETE operations to allow time for purge to catch up.
- :return: The default_authentication_plugin of this ConfigurationVariables.
- :rtype: str
+ The default value is 0, which means there is no maximum purge lag and no delay.
+
+ innodbMaxPurgeLag corresponds to the MySQL server system variable
+ `innodb_max_purge_lag`__.
+
+ __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag
+
+
+ :return: The innodb_max_purge_lag of this ConfigurationVariables.
+ :rtype: int
"""
- return self._default_authentication_plugin
+ return self._innodb_max_purge_lag
- @default_authentication_plugin.setter
- def default_authentication_plugin(self, default_authentication_plugin):
+ @innodb_max_purge_lag.setter
+ def innodb_max_purge_lag(self, innodb_max_purge_lag):
"""
- Sets the default_authentication_plugin of this ConfigurationVariables.
- (\"default_authentication_plugin\")
+ Sets the innodb_max_purge_lag of this ConfigurationVariables.
+ The desired maximum purge lag in terms of transactions.
+ InnoDB maintains a list of transactions that have index records delete-marked by UPDATE or DELETE operations. The length of the list is the purge lag.
- :param default_authentication_plugin: The default_authentication_plugin of this ConfigurationVariables.
- :type: str
+ If this value is exceeded, a delay is imposed on INSERT, UPDATE, and DELETE operations to allow time for purge to catch up.
+
+ The default value is 0, which means there is no maximum purge lag and no delay.
+
+ innodbMaxPurgeLag corresponds to the MySQL server system variable
+ `innodb_max_purge_lag`__.
+
+ __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag
+
+
+ :param innodb_max_purge_lag: The innodb_max_purge_lag of this ConfigurationVariables.
+ :type: int
"""
- allowed_values = ["mysql_native_password", "sha256_password", "caching_sha2_password"]
- if not value_allowed_none_or_none_sentinel(default_authentication_plugin, allowed_values):
- default_authentication_plugin = 'UNKNOWN_ENUM_VALUE'
- self._default_authentication_plugin = default_authentication_plugin
+ self._innodb_max_purge_lag = innodb_max_purge_lag
@property
- def global_connection_memory_limit(self):
+ def innodb_max_purge_lag_delay(self):
"""
- Gets the global_connection_memory_limit of this ConfigurationVariables.
- Set the total amount of memory that can be used by all user connections.
+ Gets the innodb_max_purge_lag_delay of this ConfigurationVariables.
+ The maximum delay in microseconds for the delay imposed when the innodb_max_purge_lag threshold is exceeded.
- globalConnectionMemoryLimit corresponds to the MySQL system variable `global_connection_memory_limit`__.
+ The specified innodb_max_purge_lag_delay value is an upper limit on the delay period.
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_limit
+ innodbMaxPurgeLagDelay corresponds to the MySQL server system variable
+ `innodb_max_purge_lag_delay`__.
+
+ __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag_delay
- :return: The global_connection_memory_limit of this ConfigurationVariables.
+ :return: The innodb_max_purge_lag_delay of this ConfigurationVariables.
:rtype: int
"""
- return self._global_connection_memory_limit
+ return self._innodb_max_purge_lag_delay
- @global_connection_memory_limit.setter
- def global_connection_memory_limit(self, global_connection_memory_limit):
+ @innodb_max_purge_lag_delay.setter
+ def innodb_max_purge_lag_delay(self, innodb_max_purge_lag_delay):
"""
- Sets the global_connection_memory_limit of this ConfigurationVariables.
- Set the total amount of memory that can be used by all user connections.
+ Sets the innodb_max_purge_lag_delay of this ConfigurationVariables.
+ The maximum delay in microseconds for the delay imposed when the innodb_max_purge_lag threshold is exceeded.
- globalConnectionMemoryLimit corresponds to the MySQL system variable `global_connection_memory_limit`__.
+ The specified innodb_max_purge_lag_delay value is an upper limit on the delay period.
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_limit
+ innodbMaxPurgeLagDelay corresponds to the MySQL server system variable
+ `innodb_max_purge_lag_delay`__.
+ __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag_delay
- :param global_connection_memory_limit: The global_connection_memory_limit of this ConfigurationVariables.
+
+ :param innodb_max_purge_lag_delay: The innodb_max_purge_lag_delay of this ConfigurationVariables.
:type: int
"""
- self._global_connection_memory_limit = global_connection_memory_limit
+ self._innodb_max_purge_lag_delay = innodb_max_purge_lag_delay
@property
- def global_connection_memory_tracking(self):
+ def interactive_timeout(self):
"""
- Gets the global_connection_memory_tracking of this ConfigurationVariables.
- Determines whether the MySQL server calculates Global_connection_memory.
+ Gets the interactive_timeout of this ConfigurationVariables.
+ The number of seconds the server waits for activity on an interactive connection before closing it.
- globalConnectionMemoryTracking corresponds to the MySQL system variable `global_connection_memory_tracking`__.
+ interactiveTimeout corresponds to the MySQL system variable.
+ `interactive_timeout`__
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_tracking
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout
- :return: The global_connection_memory_tracking of this ConfigurationVariables.
- :rtype: bool
+ :return: The interactive_timeout of this ConfigurationVariables.
+ :rtype: int
"""
- return self._global_connection_memory_tracking
+ return self._interactive_timeout
- @global_connection_memory_tracking.setter
- def global_connection_memory_tracking(self, global_connection_memory_tracking):
+ @interactive_timeout.setter
+ def interactive_timeout(self, interactive_timeout):
"""
- Sets the global_connection_memory_tracking of this ConfigurationVariables.
- Determines whether the MySQL server calculates Global_connection_memory.
+ Sets the interactive_timeout of this ConfigurationVariables.
+ The number of seconds the server waits for activity on an interactive connection before closing it.
- globalConnectionMemoryTracking corresponds to the MySQL system variable `global_connection_memory_tracking`__.
+ interactiveTimeout corresponds to the MySQL system variable.
+ `interactive_timeout`__
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_global_connection_memory_tracking
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout
- :param global_connection_memory_tracking: The global_connection_memory_tracking of this ConfigurationVariables.
- :type: bool
+ :param interactive_timeout: The interactive_timeout of this ConfigurationVariables.
+ :type: int
"""
- self._global_connection_memory_tracking = global_connection_memory_tracking
+ self._interactive_timeout = interactive_timeout
@property
- def transaction_isolation(self):
+ def innodb_stats_persistent_sample_pages(self):
"""
- Gets the transaction_isolation of this ConfigurationVariables.
- (\"transaction_isolation\")
-
- Allowed values for this property are: "READ-UNCOMMITTED", "READ-COMMITED", "READ-COMMITTED", "REPEATABLE-READ", "SERIALIZABLE", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ Gets the innodb_stats_persistent_sample_pages of this ConfigurationVariables.
+ The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
+ such as those calculated by ANALYZE TABLE.
+ innodbStatsPersistentSamplePages corresponds to the MySQL InnoDB system variable
+ `innodb_stats_persistent_sample_pages`__
- :return: The transaction_isolation of this ConfigurationVariables.
- :rtype: str
- """
- return self._transaction_isolation
+ innodb_stats_persistent_sample_pages only applies when innodb_stats_persistent is enabled for a table;
+ when innodb_stats_persistent is disabled, innodb_stats_transient_sample_pages applies instead.
- @transaction_isolation.setter
- def transaction_isolation(self, transaction_isolation):
- """
- Sets the transaction_isolation of this ConfigurationVariables.
- (\"transaction_isolation\")
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_persistent_sample_pages
- :param transaction_isolation: The transaction_isolation of this ConfigurationVariables.
- :type: str
+ :return: The innodb_stats_persistent_sample_pages of this ConfigurationVariables.
+ :rtype: int
"""
- allowed_values = ["READ-UNCOMMITTED", "READ-COMMITED", "READ-COMMITTED", "REPEATABLE-READ", "SERIALIZABLE"]
- if not value_allowed_none_or_none_sentinel(transaction_isolation, allowed_values):
- transaction_isolation = 'UNKNOWN_ENUM_VALUE'
- self._transaction_isolation = transaction_isolation
+ return self._innodb_stats_persistent_sample_pages
- @property
- def innodb_ft_server_stopword_table(self):
+ @innodb_stats_persistent_sample_pages.setter
+ def innodb_stats_persistent_sample_pages(self, innodb_stats_persistent_sample_pages):
"""
- Gets the innodb_ft_server_stopword_table of this ConfigurationVariables.
- (\"innodb_ft_server_stopword_table\")
+ Sets the innodb_stats_persistent_sample_pages of this ConfigurationVariables.
+ The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
+ such as those calculated by ANALYZE TABLE.
+ innodbStatsPersistentSamplePages corresponds to the MySQL InnoDB system variable
+ `innodb_stats_persistent_sample_pages`__
- :return: The innodb_ft_server_stopword_table of this ConfigurationVariables.
- :rtype: str
- """
- return self._innodb_ft_server_stopword_table
+ innodb_stats_persistent_sample_pages only applies when innodb_stats_persistent is enabled for a table;
+ when innodb_stats_persistent is disabled, innodb_stats_transient_sample_pages applies instead.
- @innodb_ft_server_stopword_table.setter
- def innodb_ft_server_stopword_table(self, innodb_ft_server_stopword_table):
- """
- Sets the innodb_ft_server_stopword_table of this ConfigurationVariables.
- (\"innodb_ft_server_stopword_table\")
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_persistent_sample_pages
- :param innodb_ft_server_stopword_table: The innodb_ft_server_stopword_table of this ConfigurationVariables.
- :type: str
+ :param innodb_stats_persistent_sample_pages: The innodb_stats_persistent_sample_pages of this ConfigurationVariables.
+ :type: int
"""
- self._innodb_ft_server_stopword_table = innodb_ft_server_stopword_table
+ self._innodb_stats_persistent_sample_pages = innodb_stats_persistent_sample_pages
@property
- def mandatory_roles(self):
+ def innodb_stats_transient_sample_pages(self):
"""
- Gets the mandatory_roles of this ConfigurationVariables.
- (\"mandatory_roles\")
+ Gets the innodb_stats_transient_sample_pages of this ConfigurationVariables.
+ The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
+ such as those calculated by `ANALYZE TABLE`__.
+ innodbStatsTransientSamplePages corresponds to the MySQL InnoDB system variable
+ `innodb_stats_transient_sample_pages`__
- :return: The mandatory_roles of this ConfigurationVariables.
- :rtype: str
- """
- return self._mandatory_roles
+ innodb_stats_transient_sample_pages only applies when innodb_stats_persistent is disabled for a table;
+ when innodb_stats_persistent is enabled, innodb_stats_persistent_sample_pages applies instead.
- @mandatory_roles.setter
- def mandatory_roles(self, mandatory_roles):
- """
- Sets the mandatory_roles of this ConfigurationVariables.
- (\"mandatory_roles\")
+ innodb_stats_persistent is ON by default and cannot be changed. It is possible to override it using the
+ STATS_PERSISTENT clause of the `CREATE TABLE`__ and
+ `ALTER TABLE`__ statements.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/analyze-table.html
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_transient_sample_pages
+ __ https://dev.mysql.com/doc/refman/8.0/en/create-table.html
+ __ https://dev.mysql.com/doc/refman/8.0/en/alter-table.html
- :param mandatory_roles: The mandatory_roles of this ConfigurationVariables.
- :type: str
+ :return: The innodb_stats_transient_sample_pages of this ConfigurationVariables.
+ :rtype: int
"""
- self._mandatory_roles = mandatory_roles
+ return self._innodb_stats_transient_sample_pages
- @property
- def autocommit(self):
+ @innodb_stats_transient_sample_pages.setter
+ def innodb_stats_transient_sample_pages(self, innodb_stats_transient_sample_pages):
"""
- Gets the autocommit of this ConfigurationVariables.
- (\"autocommit\")
+ Sets the innodb_stats_transient_sample_pages of this ConfigurationVariables.
+ The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
+ such as those calculated by `ANALYZE TABLE`__.
+ innodbStatsTransientSamplePages corresponds to the MySQL InnoDB system variable
+ `innodb_stats_transient_sample_pages`__
- :return: The autocommit of this ConfigurationVariables.
- :rtype: bool
- """
- return self._autocommit
+ innodb_stats_transient_sample_pages only applies when innodb_stats_persistent is disabled for a table;
+ when innodb_stats_persistent is enabled, innodb_stats_persistent_sample_pages applies instead.
- @autocommit.setter
- def autocommit(self, autocommit):
- """
- Sets the autocommit of this ConfigurationVariables.
- (\"autocommit\")
+ innodb_stats_persistent is ON by default and cannot be changed. It is possible to override it using the
+ STATS_PERSISTENT clause of the `CREATE TABLE`__ and
+ `ALTER TABLE`__ statements.
+ __ https://dev.mysql.com/doc/refman/8.0/en/analyze-table.html
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_transient_sample_pages
+ __ https://dev.mysql.com/doc/refman/8.0/en/create-table.html
+ __ https://dev.mysql.com/doc/refman/8.0/en/alter-table.html
- :param autocommit: The autocommit of this ConfigurationVariables.
- :type: bool
+
+ :param innodb_stats_transient_sample_pages: The innodb_stats_transient_sample_pages of this ConfigurationVariables.
+ :type: int
"""
- self._autocommit = autocommit
+ self._innodb_stats_transient_sample_pages = innodb_stats_transient_sample_pages
@property
- def foreign_key_checks(self):
+ def innodb_strict_mode(self):
"""
- Gets the foreign_key_checks of this ConfigurationVariables.
- (\"foreign_key_checks\")
+ Gets the innodb_strict_mode of this ConfigurationVariables.
+ When you enable innodbStrictMode, the InnoDB storage engine returns errors instead of warnings for invalid or incompatible table options.
+ innodbStrictMode corresponds to the MySQL InnoDB system variable
+ `innodb_strict_mode`__
- :return: The foreign_key_checks of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_strict_mode
+
+
+ :return: The innodb_strict_mode of this ConfigurationVariables.
:rtype: bool
"""
- return self._foreign_key_checks
+ return self._innodb_strict_mode
- @foreign_key_checks.setter
- def foreign_key_checks(self, foreign_key_checks):
+ @innodb_strict_mode.setter
+ def innodb_strict_mode(self, innodb_strict_mode):
"""
- Sets the foreign_key_checks of this ConfigurationVariables.
- (\"foreign_key_checks\")
+ Sets the innodb_strict_mode of this ConfigurationVariables.
+ When you enable innodbStrictMode, the InnoDB storage engine returns errors instead of warnings for invalid or incompatible table options.
+ innodbStrictMode corresponds to the MySQL InnoDB system variable
+ `innodb_strict_mode`__
- :param foreign_key_checks: The foreign_key_checks of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_strict_mode
+
+
+ :param innodb_strict_mode: The innodb_strict_mode of this ConfigurationVariables.
:type: bool
"""
- self._foreign_key_checks = foreign_key_checks
+ self._innodb_strict_mode = innodb_strict_mode
@property
- def group_replication_consistency(self):
+ def max_allowed_packet(self):
"""
- Gets the group_replication_consistency of this ConfigurationVariables.
- - EVENTUAL:
- Both RO and RW transactions do not wait for preceding transactions to be applied before executing.
- A RW transaction does not wait for other members to apply a transaction. This means that a transaction
- could be externalized on one member before the others. This also means that in the event of a primary failover,
- the new primary can accept new RO and RW transactions before the previous primary transactions are all applied.
- RO transactions could result in outdated values, RW transactions could result in a rollback due to conflicts.
- - BEFORE_ON_PRIMARY_FAILOVER:
- New RO or RW transactions with a newly elected primary that is applying backlog from the old
- primary are held (not applied) until any backlog has been applied. This ensures that when a primary failover happens,
- intentionally or not, clients always see the latest value on the primary. This guarantees consistency, but means that
- clients must be able to handle the delay in the event that a backlog is being applied. Usually this delay should be minimal,
- but does depend on the size of the backlog.
- - BEFORE:
- A RW transaction waits for all preceding transactions to complete before being applied. A RO transaction waits for all preceding
- transactions to complete before being executed. This ensures that this transaction reads the latest value by only affecting the
- latency of the transaction. This reduces the overhead of synchronization on every RW transaction, by ensuring synchronization is
- used only on RO transactions. This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
- - AFTER:
- A RW transaction waits until its changes have been applied to all of the other members. This value has no effect on RO transactions.
- This mode ensures that when a transaction is committed on the local member, any subsequent transaction reads the written value or
- a more recent value on any group member. Use this mode with a group that is used for predominantly RO operations to ensure that
- applied RW transactions are applied everywhere once they commit. This could be used by your application to ensure that subsequent
- reads fetch the latest data which includes the latest writes. This reduces the overhead of synchronization on every RO transaction,
- by ensuring synchronization is used only on RW transactions. This consistency level also includes the consistency guarantees
- provided by BEFORE_ON_PRIMARY_FAILOVER.
- - BEFORE_AND_AFTER:
- A RW transaction waits for 1) all preceding transactions to complete before being applied and 2) until its changes have been
- applied on other members. A RO transaction waits for all preceding transactions to complete before execution takes place.
- This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
+ Gets the max_allowed_packet of this ConfigurationVariables.
+ The maximum size of one packet or any generated/intermediate string.
- Allowed values for this property are: "EVENTUAL", "BEFORE_ON_PRIMARY_FAILOVER", "BEFORE", "AFTER", "BEFORE_AND_AFTER", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ This is the mysql variable \"max_allowed_packet\".
- :return: The group_replication_consistency of this ConfigurationVariables.
- :rtype: str
+ :return: The max_allowed_packet of this ConfigurationVariables.
+ :rtype: int
"""
- return self._group_replication_consistency
+ return self._max_allowed_packet
- @group_replication_consistency.setter
- def group_replication_consistency(self, group_replication_consistency):
+ @max_allowed_packet.setter
+ def max_allowed_packet(self, max_allowed_packet):
"""
- Sets the group_replication_consistency of this ConfigurationVariables.
- - EVENTUAL:
- Both RO and RW transactions do not wait for preceding transactions to be applied before executing.
- A RW transaction does not wait for other members to apply a transaction. This means that a transaction
- could be externalized on one member before the others. This also means that in the event of a primary failover,
- the new primary can accept new RO and RW transactions before the previous primary transactions are all applied.
- RO transactions could result in outdated values, RW transactions could result in a rollback due to conflicts.
- - BEFORE_ON_PRIMARY_FAILOVER:
- New RO or RW transactions with a newly elected primary that is applying backlog from the old
- primary are held (not applied) until any backlog has been applied. This ensures that when a primary failover happens,
- intentionally or not, clients always see the latest value on the primary. This guarantees consistency, but means that
- clients must be able to handle the delay in the event that a backlog is being applied. Usually this delay should be minimal,
- but does depend on the size of the backlog.
- - BEFORE:
- A RW transaction waits for all preceding transactions to complete before being applied. A RO transaction waits for all preceding
- transactions to complete before being executed. This ensures that this transaction reads the latest value by only affecting the
- latency of the transaction. This reduces the overhead of synchronization on every RW transaction, by ensuring synchronization is
- used only on RO transactions. This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
- - AFTER:
- A RW transaction waits until its changes have been applied to all of the other members. This value has no effect on RO transactions.
- This mode ensures that when a transaction is committed on the local member, any subsequent transaction reads the written value or
- a more recent value on any group member. Use this mode with a group that is used for predominantly RO operations to ensure that
- applied RW transactions are applied everywhere once they commit. This could be used by your application to ensure that subsequent
- reads fetch the latest data which includes the latest writes. This reduces the overhead of synchronization on every RO transaction,
- by ensuring synchronization is used only on RW transactions. This consistency level also includes the consistency guarantees
- provided by BEFORE_ON_PRIMARY_FAILOVER.
- - BEFORE_AND_AFTER:
- A RW transaction waits for 1) all preceding transactions to complete before being applied and 2) until its changes have been
- applied on other members. A RO transaction waits for all preceding transactions to complete before execution takes place.
- This consistency level also includes the consistency guarantees provided by BEFORE_ON_PRIMARY_FAILOVER.
+ Sets the max_allowed_packet of this ConfigurationVariables.
+ The maximum size of one packet or any generated/intermediate string.
+ This is the mysql variable \"max_allowed_packet\".
- :param group_replication_consistency: The group_replication_consistency of this ConfigurationVariables.
- :type: str
+
+ :param max_allowed_packet: The max_allowed_packet of this ConfigurationVariables.
+ :type: int
"""
- allowed_values = ["EVENTUAL", "BEFORE_ON_PRIMARY_FAILOVER", "BEFORE", "AFTER", "BEFORE_AND_AFTER"]
- if not value_allowed_none_or_none_sentinel(group_replication_consistency, allowed_values):
- group_replication_consistency = 'UNKNOWN_ENUM_VALUE'
- self._group_replication_consistency = group_replication_consistency
+ self._max_allowed_packet = max_allowed_packet
@property
- def innodb_ft_enable_stopword(self):
+ def max_execution_time(self):
"""
- Gets the innodb_ft_enable_stopword of this ConfigurationVariables.
- (\"innodb_ft_enable_stopword\")
+ Gets the max_execution_time of this ConfigurationVariables.
+ (\"max_execution_time\")
- :return: The innodb_ft_enable_stopword of this ConfigurationVariables.
- :rtype: bool
+ :return: The max_execution_time of this ConfigurationVariables.
+ :rtype: int
"""
- return self._innodb_ft_enable_stopword
+ return self._max_execution_time
- @innodb_ft_enable_stopword.setter
- def innodb_ft_enable_stopword(self, innodb_ft_enable_stopword):
+ @max_execution_time.setter
+ def max_execution_time(self, max_execution_time):
"""
- Sets the innodb_ft_enable_stopword of this ConfigurationVariables.
- (\"innodb_ft_enable_stopword\")
+ Sets the max_execution_time of this ConfigurationVariables.
+ (\"max_execution_time\")
- :param innodb_ft_enable_stopword: The innodb_ft_enable_stopword of this ConfigurationVariables.
- :type: bool
+ :param max_execution_time: The max_execution_time of this ConfigurationVariables.
+ :type: int
"""
- self._innodb_ft_enable_stopword = innodb_ft_enable_stopword
+ self._max_execution_time = max_execution_time
@property
- def innodb_log_writer_threads(self):
- """
- Gets the innodb_log_writer_threads of this ConfigurationVariables.
- Enables dedicated log writer threads for writing redo log records from the log buffer to the system buffers and flushing the system buffers to the redo log files.
-
- This is the MySQL variable \"innodb_log_writer_threads\". For more information, please see the `MySQL documentation`__
-
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_writer_threads
-
-
- :return: The innodb_log_writer_threads of this ConfigurationVariables.
- :rtype: bool
- """
- return self._innodb_log_writer_threads
-
- @innodb_log_writer_threads.setter
- def innodb_log_writer_threads(self, innodb_log_writer_threads):
+ def mysqlx_connect_timeout(self):
"""
- Sets the innodb_log_writer_threads of this ConfigurationVariables.
- Enables dedicated log writer threads for writing redo log records from the log buffer to the system buffers and flushing the system buffers to the redo log files.
+ Gets the mysqlx_connect_timeout of this ConfigurationVariables.
+ The number of seconds X Plugin waits for the first packet to be received from newly connected clients.
- This is the MySQL variable \"innodb_log_writer_threads\". For more information, please see the `MySQL documentation`__
+ mysqlxConnectTimeout corresponds to the MySQL X Plugin system variable
+ `mysqlx_connect_timeout`__
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_log_writer_threads
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_connect_timeout
- :param innodb_log_writer_threads: The innodb_log_writer_threads of this ConfigurationVariables.
- :type: bool
+ :return: The mysqlx_connect_timeout of this ConfigurationVariables.
+ :rtype: int
"""
- self._innodb_log_writer_threads = innodb_log_writer_threads
+ return self._mysqlx_connect_timeout
- @property
- def local_infile(self):
+ @mysqlx_connect_timeout.setter
+ def mysqlx_connect_timeout(self, mysqlx_connect_timeout):
"""
- Gets the local_infile of this ConfigurationVariables.
- (\"local_infile\")
-
+ Sets the mysqlx_connect_timeout of this ConfigurationVariables.
+ The number of seconds X Plugin waits for the first packet to be received from newly connected clients.
- :return: The local_infile of this ConfigurationVariables.
- :rtype: bool
- """
- return self._local_infile
+ mysqlxConnectTimeout corresponds to the MySQL X Plugin system variable
+ `mysqlx_connect_timeout`__
- @local_infile.setter
- def local_infile(self, local_infile):
- """
- Sets the local_infile of this ConfigurationVariables.
- (\"local_infile\")
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_connect_timeout
- :param local_infile: The local_infile of this ConfigurationVariables.
- :type: bool
+ :param mysqlx_connect_timeout: The mysqlx_connect_timeout of this ConfigurationVariables.
+ :type: int
"""
- self._local_infile = local_infile
+ self._mysqlx_connect_timeout = mysqlx_connect_timeout
@property
- def mysql_firewall_mode(self):
+ def mysqlx_document_id_unique_prefix(self):
"""
- Gets the mysql_firewall_mode of this ConfigurationVariables.
- (\"mysql_firewall_mode\")
+ Gets the mysqlx_document_id_unique_prefix of this ConfigurationVariables.
+ (\"mysqlx_document_id_unique_prefix\") DEPRECATED -- variable should not be settable and will be ignored
- :return: The mysql_firewall_mode of this ConfigurationVariables.
- :rtype: bool
+ :return: The mysqlx_document_id_unique_prefix of this ConfigurationVariables.
+ :rtype: int
"""
- return self._mysql_firewall_mode
+ return self._mysqlx_document_id_unique_prefix
- @mysql_firewall_mode.setter
- def mysql_firewall_mode(self, mysql_firewall_mode):
+ @mysqlx_document_id_unique_prefix.setter
+ def mysqlx_document_id_unique_prefix(self, mysqlx_document_id_unique_prefix):
"""
- Sets the mysql_firewall_mode of this ConfigurationVariables.
- (\"mysql_firewall_mode\")
+ Sets the mysqlx_document_id_unique_prefix of this ConfigurationVariables.
+ (\"mysqlx_document_id_unique_prefix\") DEPRECATED -- variable should not be settable and will be ignored
- :param mysql_firewall_mode: The mysql_firewall_mode of this ConfigurationVariables.
- :type: bool
+ :param mysqlx_document_id_unique_prefix: The mysqlx_document_id_unique_prefix of this ConfigurationVariables.
+ :type: int
"""
- self._mysql_firewall_mode = mysql_firewall_mode
+ self._mysqlx_document_id_unique_prefix = mysqlx_document_id_unique_prefix
@property
- def mysqlx_enable_hello_notice(self):
+ def mysqlx_idle_worker_thread_timeout(self):
"""
- Gets the mysqlx_enable_hello_notice of this ConfigurationVariables.
- (\"mysqlx_enable_hello_notice\") DEPRECATED -- variable should not be settable and will be ignored
+ Gets the mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
+ (\"mysqlx_idle_worker_thread_timeout\") DEPRECATED -- variable should not be settable and will be ignored
- :return: The mysqlx_enable_hello_notice of this ConfigurationVariables.
- :rtype: bool
+ :return: The mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
+ :rtype: int
"""
- return self._mysqlx_enable_hello_notice
+ return self._mysqlx_idle_worker_thread_timeout
- @mysqlx_enable_hello_notice.setter
- def mysqlx_enable_hello_notice(self, mysqlx_enable_hello_notice):
+ @mysqlx_idle_worker_thread_timeout.setter
+ def mysqlx_idle_worker_thread_timeout(self, mysqlx_idle_worker_thread_timeout):
"""
- Sets the mysqlx_enable_hello_notice of this ConfigurationVariables.
- (\"mysqlx_enable_hello_notice\") DEPRECATED -- variable should not be settable and will be ignored
+ Sets the mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
+ (\"mysqlx_idle_worker_thread_timeout\") DEPRECATED -- variable should not be settable and will be ignored
- :param mysqlx_enable_hello_notice: The mysqlx_enable_hello_notice of this ConfigurationVariables.
- :type: bool
+ :param mysqlx_idle_worker_thread_timeout: The mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
+ :type: int
"""
- self._mysqlx_enable_hello_notice = mysqlx_enable_hello_notice
+ self._mysqlx_idle_worker_thread_timeout = mysqlx_idle_worker_thread_timeout
@property
- def sql_require_primary_key(self):
+ def mysqlx_interactive_timeout(self):
"""
- Gets the sql_require_primary_key of this ConfigurationVariables.
- (\"sql_require_primary_key\")
+ Gets the mysqlx_interactive_timeout of this ConfigurationVariables.
+ The number of seconds to wait for interactive clients to timeout.
+ mysqlxInteractiveTimeout corresponds to the MySQL X Plugin system variable.
+ `mysqlx_interactive_timeout`__
- :return: The sql_require_primary_key of this ConfigurationVariables.
- :rtype: bool
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_interactive_timeout
+
+
+ :return: The mysqlx_interactive_timeout of this ConfigurationVariables.
+ :rtype: int
"""
- return self._sql_require_primary_key
+ return self._mysqlx_interactive_timeout
- @sql_require_primary_key.setter
- def sql_require_primary_key(self, sql_require_primary_key):
+ @mysqlx_interactive_timeout.setter
+ def mysqlx_interactive_timeout(self, mysqlx_interactive_timeout):
"""
- Sets the sql_require_primary_key of this ConfigurationVariables.
- (\"sql_require_primary_key\")
+ Sets the mysqlx_interactive_timeout of this ConfigurationVariables.
+ The number of seconds to wait for interactive clients to timeout.
+ mysqlxInteractiveTimeout corresponds to the MySQL X Plugin system variable.
+ `mysqlx_interactive_timeout`__
- :param sql_require_primary_key: The sql_require_primary_key of this ConfigurationVariables.
- :type: bool
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_interactive_timeout
+
+
+ :param mysqlx_interactive_timeout: The mysqlx_interactive_timeout of this ConfigurationVariables.
+ :type: int
"""
- self._sql_require_primary_key = sql_require_primary_key
+ self._mysqlx_interactive_timeout = mysqlx_interactive_timeout
@property
- def sql_warnings(self):
+ def mysqlx_max_allowed_packet(self):
"""
- Gets the sql_warnings of this ConfigurationVariables.
- (\"sql_warnings\")
+ Gets the mysqlx_max_allowed_packet of this ConfigurationVariables.
+ The maximum size of network packets that can be received by X Plugin.
+ This is the mysql variable \"mysqlx_max_allowed_packet\".
- :return: The sql_warnings of this ConfigurationVariables.
- :rtype: bool
+
+ :return: The mysqlx_max_allowed_packet of this ConfigurationVariables.
+ :rtype: int
"""
- return self._sql_warnings
+ return self._mysqlx_max_allowed_packet
- @sql_warnings.setter
- def sql_warnings(self, sql_warnings):
+ @mysqlx_max_allowed_packet.setter
+ def mysqlx_max_allowed_packet(self, mysqlx_max_allowed_packet):
"""
- Sets the sql_warnings of this ConfigurationVariables.
- (\"sql_warnings\")
+ Sets the mysqlx_max_allowed_packet of this ConfigurationVariables.
+ The maximum size of network packets that can be received by X Plugin.
+ This is the mysql variable \"mysqlx_max_allowed_packet\".
- :param sql_warnings: The sql_warnings of this ConfigurationVariables.
- :type: bool
+
+ :param mysqlx_max_allowed_packet: The mysqlx_max_allowed_packet of this ConfigurationVariables.
+ :type: int
"""
- self._sql_warnings = sql_warnings
+ self._mysqlx_max_allowed_packet = mysqlx_max_allowed_packet
@property
- def binlog_expire_logs_seconds(self):
+ def mysqlx_min_worker_threads(self):
"""
- Gets the binlog_expire_logs_seconds of this ConfigurationVariables.
- Sets the binary log expiration period in seconds.
- binlogExpireLogsSeconds corresponds to the MySQL binary logging system variable `binlog_expire_logs_seconds`__.
-
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds
+ Gets the mysqlx_min_worker_threads of this ConfigurationVariables.
+ (\"mysqlx_min_worker_threads\") DEPRECATED -- variable should not be settable and will be ignored
- :return: The binlog_expire_logs_seconds of this ConfigurationVariables.
+ :return: The mysqlx_min_worker_threads of this ConfigurationVariables.
:rtype: int
"""
- return self._binlog_expire_logs_seconds
+ return self._mysqlx_min_worker_threads
- @binlog_expire_logs_seconds.setter
- def binlog_expire_logs_seconds(self, binlog_expire_logs_seconds):
+ @mysqlx_min_worker_threads.setter
+ def mysqlx_min_worker_threads(self, mysqlx_min_worker_threads):
"""
- Sets the binlog_expire_logs_seconds of this ConfigurationVariables.
- Sets the binary log expiration period in seconds.
- binlogExpireLogsSeconds corresponds to the MySQL binary logging system variable `binlog_expire_logs_seconds`__.
-
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_expire_logs_seconds
+ Sets the mysqlx_min_worker_threads of this ConfigurationVariables.
+ (\"mysqlx_min_worker_threads\") DEPRECATED -- variable should not be settable and will be ignored
- :param binlog_expire_logs_seconds: The binlog_expire_logs_seconds of this ConfigurationVariables.
+ :param mysqlx_min_worker_threads: The mysqlx_min_worker_threads of this ConfigurationVariables.
:type: int
"""
- self._binlog_expire_logs_seconds = binlog_expire_logs_seconds
+ self._mysqlx_min_worker_threads = mysqlx_min_worker_threads
@property
- def binlog_row_metadata(self):
+ def mysqlx_read_timeout(self):
"""
- Gets the binlog_row_metadata of this ConfigurationVariables.
- Configures the amount of table metadata added to the binary log when using row-based logging.
- binlogRowMetadata corresponds to the MySQL binary logging system variable `binlog_row_metadata`__.
+ Gets the mysqlx_read_timeout of this ConfigurationVariables.
+ The number of seconds that X Plugin waits for blocking read operations to complete. After this time, if the
+ read operation is not successful, X Plugin closes the connection and returns a warning notice with the error
+ code ER_IO_READ_ERROR to the client application.
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_metadata
+ mysqlxReadTimeout corresponds to the MySQL X Plugin system variable
+ `mysqlx_read_timeout`__
- Allowed values for this property are: "FULL", "MINIMAL", 'UNKNOWN_ENUM_VALUE'.
- Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_read_timeout
- :return: The binlog_row_metadata of this ConfigurationVariables.
- :rtype: str
+ :return: The mysqlx_read_timeout of this ConfigurationVariables.
+ :rtype: int
"""
- return self._binlog_row_metadata
+ return self._mysqlx_read_timeout
- @binlog_row_metadata.setter
- def binlog_row_metadata(self, binlog_row_metadata):
+ @mysqlx_read_timeout.setter
+ def mysqlx_read_timeout(self, mysqlx_read_timeout):
"""
- Sets the binlog_row_metadata of this ConfigurationVariables.
- Configures the amount of table metadata added to the binary log when using row-based logging.
- binlogRowMetadata corresponds to the MySQL binary logging system variable `binlog_row_metadata`__.
+ Sets the mysqlx_read_timeout of this ConfigurationVariables.
+ The number of seconds that X Plugin waits for blocking read operations to complete. After this time, if the
+ read operation is not successful, X Plugin closes the connection and returns a warning notice with the error
+ code ER_IO_READ_ERROR to the client application.
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_metadata
+ mysqlxReadTimeout corresponds to the MySQL X Plugin system variable
+ `mysqlx_read_timeout`__
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_read_timeout
- :param binlog_row_metadata: The binlog_row_metadata of this ConfigurationVariables.
- :type: str
+
+ :param mysqlx_read_timeout: The mysqlx_read_timeout of this ConfigurationVariables.
+ :type: int
"""
- allowed_values = ["FULL", "MINIMAL"]
- if not value_allowed_none_or_none_sentinel(binlog_row_metadata, allowed_values):
- binlog_row_metadata = 'UNKNOWN_ENUM_VALUE'
- self._binlog_row_metadata = binlog_row_metadata
+ self._mysqlx_read_timeout = mysqlx_read_timeout
@property
- def binlog_row_value_options(self):
+ def mysqlx_wait_timeout(self):
"""
- Gets the binlog_row_value_options of this ConfigurationVariables.
- When set to PARTIAL_JSON, this enables use of a space-efficient binary log format for updates that modify only a small portion of a JSON document.
- binlogRowValueOptions corresponds to the MySQL binary logging system variable `binlog_row_value_options`__.
+ Gets the mysqlx_wait_timeout of this ConfigurationVariables.
+ The number of seconds that X Plugin waits for activity on a connection.
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_value_options
+ mysqlxWaitTimeout corresponds to the MySQL X Plugin system variable.
+ `mysqlx_wait_timeout`__
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_wait_timeout
- :return: The binlog_row_value_options of this ConfigurationVariables.
- :rtype: str
+
+ :return: The mysqlx_wait_timeout of this ConfigurationVariables.
+ :rtype: int
"""
- return self._binlog_row_value_options
+ return self._mysqlx_wait_timeout
- @binlog_row_value_options.setter
- def binlog_row_value_options(self, binlog_row_value_options):
+ @mysqlx_wait_timeout.setter
+ def mysqlx_wait_timeout(self, mysqlx_wait_timeout):
"""
- Sets the binlog_row_value_options of this ConfigurationVariables.
- When set to PARTIAL_JSON, this enables use of a space-efficient binary log format for updates that modify only a small portion of a JSON document.
- binlogRowValueOptions corresponds to the MySQL binary logging system variable `binlog_row_value_options`__.
+ Sets the mysqlx_wait_timeout of this ConfigurationVariables.
+ The number of seconds that X Plugin waits for activity on a connection.
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_row_value_options
+ mysqlxWaitTimeout corresponds to the MySQL X Plugin system variable.
+ `mysqlx_wait_timeout`__
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_wait_timeout
- :param binlog_row_value_options: The binlog_row_value_options of this ConfigurationVariables.
- :type: str
+
+ :param mysqlx_wait_timeout: The mysqlx_wait_timeout of this ConfigurationVariables.
+ :type: int
"""
- self._binlog_row_value_options = binlog_row_value_options
+ self._mysqlx_wait_timeout = mysqlx_wait_timeout
@property
- def binlog_transaction_compression(self):
+ def mysqlx_write_timeout(self):
"""
- Gets the binlog_transaction_compression of this ConfigurationVariables.
- Enables compression for transactions that are written to binary log files on this server.
- binlogTransactionCompression corresponds to the MySQL binary logging system variable `binlog_transaction_compression`__.
+ Gets the mysqlx_write_timeout of this ConfigurationVariables.
+ The number of seconds that X Plugin waits for blocking write operations to complete. After this time, if the
+ write operation is not successful, X Plugin closes the connection.
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_transaction_compression
+ mysqlxReadmysqlxWriteTimeoutTimeout corresponds to the MySQL X Plugin system variable
+ `mysqlx_write_timeout`__
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_write_timeout
- :return: The binlog_transaction_compression of this ConfigurationVariables.
- :rtype: bool
+
+ :return: The mysqlx_write_timeout of this ConfigurationVariables.
+ :rtype: int
"""
- return self._binlog_transaction_compression
+ return self._mysqlx_write_timeout
- @binlog_transaction_compression.setter
- def binlog_transaction_compression(self, binlog_transaction_compression):
+ @mysqlx_write_timeout.setter
+ def mysqlx_write_timeout(self, mysqlx_write_timeout):
"""
- Sets the binlog_transaction_compression of this ConfigurationVariables.
- Enables compression for transactions that are written to binary log files on this server.
- binlogTransactionCompression corresponds to the MySQL binary logging system variable `binlog_transaction_compression`__.
+ Sets the mysqlx_write_timeout of this ConfigurationVariables.
+ The number of seconds that X Plugin waits for blocking write operations to complete. After this time, if the
+ write operation is not successful, X Plugin closes the connection.
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_transaction_compression
+ mysqlxReadmysqlxWriteTimeoutTimeout corresponds to the MySQL X Plugin system variable
+ `mysqlx_write_timeout`__
+ __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_write_timeout
- :param binlog_transaction_compression: The binlog_transaction_compression of this ConfigurationVariables.
- :type: bool
+
+ :param mysqlx_write_timeout: The mysqlx_write_timeout of this ConfigurationVariables.
+ :type: int
"""
- self._binlog_transaction_compression = binlog_transaction_compression
+ self._mysqlx_write_timeout = mysqlx_write_timeout
@property
- def innodb_buffer_pool_size(self):
+ def net_read_timeout(self):
"""
- Gets the innodb_buffer_pool_size of this ConfigurationVariables.
- The size (in bytes) of the buffer pool, that is, the memory area where InnoDB caches table and index data.
-
- innodbBufferPoolSize corresponds to the MySQL server system variable
- `innodb_buffer_pool_size`__.
+ Gets the net_read_timeout of this ConfigurationVariables.
+ The number of seconds to wait for more data from a connection before aborting the read.
- The default and maximum values depend on the amount of RAM provisioned by the shape.
- See `Default User Variables`__.
+ netReadTimeout corresponds to the MySQL system variable
+ `net_read_timeout`__
- __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size
- __ https://docs.cloud.oracle.com/mysql-database/doc/configuring-db-system.html#GUID-B5504C19-F6F4-4DAB-8506-189A4E8F4A6A
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_read_timeout
- :return: The innodb_buffer_pool_size of this ConfigurationVariables.
+ :return: The net_read_timeout of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_buffer_pool_size
+ return self._net_read_timeout
- @innodb_buffer_pool_size.setter
- def innodb_buffer_pool_size(self, innodb_buffer_pool_size):
+ @net_read_timeout.setter
+ def net_read_timeout(self, net_read_timeout):
"""
- Sets the innodb_buffer_pool_size of this ConfigurationVariables.
- The size (in bytes) of the buffer pool, that is, the memory area where InnoDB caches table and index data.
-
- innodbBufferPoolSize corresponds to the MySQL server system variable
- `innodb_buffer_pool_size`__.
+ Sets the net_read_timeout of this ConfigurationVariables.
+ The number of seconds to wait for more data from a connection before aborting the read.
- The default and maximum values depend on the amount of RAM provisioned by the shape.
- See `Default User Variables`__.
+ netReadTimeout corresponds to the MySQL system variable
+ `net_read_timeout`__
- __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size
- __ https://docs.cloud.oracle.com/mysql-database/doc/configuring-db-system.html#GUID-B5504C19-F6F4-4DAB-8506-189A4E8F4A6A
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_read_timeout
- :param innodb_buffer_pool_size: The innodb_buffer_pool_size of this ConfigurationVariables.
+ :param net_read_timeout: The net_read_timeout of this ConfigurationVariables.
:type: int
"""
- self._innodb_buffer_pool_size = innodb_buffer_pool_size
+ self._net_read_timeout = net_read_timeout
@property
- def innodb_ft_result_cache_limit(self):
+ def net_write_timeout(self):
"""
- Gets the innodb_ft_result_cache_limit of this ConfigurationVariables.
- (\"innodb_ft_result_cache_limit\")
+ Gets the net_write_timeout of this ConfigurationVariables.
+ The number of seconds to wait for a block to be written to a connection before aborting the write.
+ netWriteTimeout corresponds to the MySQL system variable
+ `net_write_timeout`__
- :return: The innodb_ft_result_cache_limit of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_write_timeout
+
+
+ :return: The net_write_timeout of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_ft_result_cache_limit
+ return self._net_write_timeout
- @innodb_ft_result_cache_limit.setter
- def innodb_ft_result_cache_limit(self, innodb_ft_result_cache_limit):
+ @net_write_timeout.setter
+ def net_write_timeout(self, net_write_timeout):
"""
- Sets the innodb_ft_result_cache_limit of this ConfigurationVariables.
- (\"innodb_ft_result_cache_limit\")
+ Sets the net_write_timeout of this ConfigurationVariables.
+ The number of seconds to wait for a block to be written to a connection before aborting the write.
+
+ netWriteTimeout corresponds to the MySQL system variable
+ `net_write_timeout`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_write_timeout
- :param innodb_ft_result_cache_limit: The innodb_ft_result_cache_limit of this ConfigurationVariables.
+ :param net_write_timeout: The net_write_timeout of this ConfigurationVariables.
:type: int
"""
- self._innodb_ft_result_cache_limit = innodb_ft_result_cache_limit
+ self._net_write_timeout = net_write_timeout
@property
- def max_binlog_cache_size(self):
+ def parser_max_mem_size(self):
"""
- Gets the max_binlog_cache_size of this ConfigurationVariables.
- Sets the size of the transaction cache.
-
- maxBinlogCacheSize corresponds to the MySQL server system variable `max_binlog_cache_size`__.
-
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_max_binlog_cache_size
+ Gets the parser_max_mem_size of this ConfigurationVariables.
+ (\"parser_max_mem_size\")
- :return: The max_binlog_cache_size of this ConfigurationVariables.
+ :return: The parser_max_mem_size of this ConfigurationVariables.
:rtype: int
"""
- return self._max_binlog_cache_size
+ return self._parser_max_mem_size
- @max_binlog_cache_size.setter
- def max_binlog_cache_size(self, max_binlog_cache_size):
+ @parser_max_mem_size.setter
+ def parser_max_mem_size(self, parser_max_mem_size):
"""
- Sets the max_binlog_cache_size of this ConfigurationVariables.
- Sets the size of the transaction cache.
-
- maxBinlogCacheSize corresponds to the MySQL server system variable `max_binlog_cache_size`__.
-
- __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_max_binlog_cache_size
+ Sets the parser_max_mem_size of this ConfigurationVariables.
+ (\"parser_max_mem_size\")
- :param max_binlog_cache_size: The max_binlog_cache_size of this ConfigurationVariables.
+ :param parser_max_mem_size: The parser_max_mem_size of this ConfigurationVariables.
:type: int
"""
- self._max_binlog_cache_size = max_binlog_cache_size
+ self._parser_max_mem_size = parser_max_mem_size
@property
- def max_connect_errors(self):
+ def query_alloc_block_size(self):
"""
- Gets the max_connect_errors of this ConfigurationVariables.
- (\"max_connect_errors\")
+ Gets the query_alloc_block_size of this ConfigurationVariables.
+ (\"query_alloc_block_size\") DEPRECATED -- variable should not be settable and will be ignored
- :return: The max_connect_errors of this ConfigurationVariables.
+ :return: The query_alloc_block_size of this ConfigurationVariables.
:rtype: int
"""
- return self._max_connect_errors
+ return self._query_alloc_block_size
- @max_connect_errors.setter
- def max_connect_errors(self, max_connect_errors):
+ @query_alloc_block_size.setter
+ def query_alloc_block_size(self, query_alloc_block_size):
"""
- Sets the max_connect_errors of this ConfigurationVariables.
- (\"max_connect_errors\")
+ Sets the query_alloc_block_size of this ConfigurationVariables.
+ (\"query_alloc_block_size\") DEPRECATED -- variable should not be settable and will be ignored
- :param max_connect_errors: The max_connect_errors of this ConfigurationVariables.
+ :param query_alloc_block_size: The query_alloc_block_size of this ConfigurationVariables.
:type: int
"""
- self._max_connect_errors = max_connect_errors
+ self._query_alloc_block_size = query_alloc_block_size
@property
- def max_heap_table_size(self):
+ def query_prealloc_size(self):
"""
- Gets the max_heap_table_size of this ConfigurationVariables.
- This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.
-
- maxHeapTableSize corresponds to the MySQL system variable
- `max_heap_table_size`__
-
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_heap_table_size
+ Gets the query_prealloc_size of this ConfigurationVariables.
+ (\"query_prealloc_size\") DEPRECATED -- variable should not be settable and will be ignored
- :return: The max_heap_table_size of this ConfigurationVariables.
+ :return: The query_prealloc_size of this ConfigurationVariables.
:rtype: int
"""
- return self._max_heap_table_size
+ return self._query_prealloc_size
- @max_heap_table_size.setter
- def max_heap_table_size(self, max_heap_table_size):
+ @query_prealloc_size.setter
+ def query_prealloc_size(self, query_prealloc_size):
"""
- Sets the max_heap_table_size of this ConfigurationVariables.
- This variable sets the maximum size to which user-created MEMORY tables are permitted to grow.
-
- maxHeapTableSize corresponds to the MySQL system variable
- `max_heap_table_size`__
-
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_heap_table_size
+ Sets the query_prealloc_size of this ConfigurationVariables.
+ (\"query_prealloc_size\") DEPRECATED -- variable should not be settable and will be ignored
- :param max_heap_table_size: The max_heap_table_size of this ConfigurationVariables.
+ :param query_prealloc_size: The query_prealloc_size of this ConfigurationVariables.
:type: int
"""
- self._max_heap_table_size = max_heap_table_size
+ self._query_prealloc_size = query_prealloc_size
@property
- def max_connections(self):
+ def regexp_time_limit(self):
"""
- Gets the max_connections of this ConfigurationVariables.
- (\"max_connections\")
+ Gets the regexp_time_limit of this ConfigurationVariables.
+ regexpTimeLimit corresponds to the MySQL system variable `regexp_time_limit]`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_limit
- :return: The max_connections of this ConfigurationVariables.
+ :return: The regexp_time_limit of this ConfigurationVariables.
:rtype: int
"""
- return self._max_connections
+ return self._regexp_time_limit
- @max_connections.setter
- def max_connections(self, max_connections):
+ @regexp_time_limit.setter
+ def regexp_time_limit(self, regexp_time_limit):
"""
- Sets the max_connections of this ConfigurationVariables.
- (\"max_connections\")
+ Sets the regexp_time_limit of this ConfigurationVariables.
+ regexpTimeLimit corresponds to the MySQL system variable `regexp_time_limit]`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_limit
- :param max_connections: The max_connections of this ConfigurationVariables.
+ :param regexp_time_limit: The regexp_time_limit of this ConfigurationVariables.
:type: int
"""
- self._max_connections = max_connections
+ self._regexp_time_limit = regexp_time_limit
@property
- def max_prepared_stmt_count(self):
+ def sql_mode(self):
"""
- Gets the max_prepared_stmt_count of this ConfigurationVariables.
- (\"max_prepared_stmt_count\")
+ Gets the sql_mode of this ConfigurationVariables.
+ (\"sql_mode\")
- :return: The max_prepared_stmt_count of this ConfigurationVariables.
- :rtype: int
+ :return: The sql_mode of this ConfigurationVariables.
+ :rtype: str
"""
- return self._max_prepared_stmt_count
+ return self._sql_mode
- @max_prepared_stmt_count.setter
- def max_prepared_stmt_count(self, max_prepared_stmt_count):
+ @sql_mode.setter
+ def sql_mode(self, sql_mode):
"""
- Sets the max_prepared_stmt_count of this ConfigurationVariables.
- (\"max_prepared_stmt_count\")
+ Sets the sql_mode of this ConfigurationVariables.
+ (\"sql_mode\")
- :param max_prepared_stmt_count: The max_prepared_stmt_count of this ConfigurationVariables.
- :type: int
+ :param sql_mode: The sql_mode of this ConfigurationVariables.
+ :type: str
"""
- self._max_prepared_stmt_count = max_prepared_stmt_count
+ self._sql_mode = sql_mode
@property
- def connect_timeout(self):
+ def tmp_table_size(self):
"""
- Gets the connect_timeout of this ConfigurationVariables.
- The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
-
- connectTimeout corresponds to the MySQL system variable
- `connect_timeout`__
+ Gets the tmp_table_size of this ConfigurationVariables.
+ The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.
- Increasing the connect_timeout value might help if clients frequently encounter errors of the form
- \"Lost connection to MySQL server at 'XXX', system error: errno\".
+ tmp_table_size corresponds to the MySQL system variable
+ `tmp_table_size`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_connect_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_tmp_table_size
- :return: The connect_timeout of this ConfigurationVariables.
+ :return: The tmp_table_size of this ConfigurationVariables.
:rtype: int
"""
- return self._connect_timeout
+ return self._tmp_table_size
- @connect_timeout.setter
- def connect_timeout(self, connect_timeout):
+ @tmp_table_size.setter
+ def tmp_table_size(self, tmp_table_size):
"""
- Sets the connect_timeout of this ConfigurationVariables.
- The number of seconds that the mysqld server waits for a connect packet before responding with Bad handshake.
-
- connectTimeout corresponds to the MySQL system variable
- `connect_timeout`__
+ Sets the tmp_table_size of this ConfigurationVariables.
+ The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.
- Increasing the connect_timeout value might help if clients frequently encounter errors of the form
- \"Lost connection to MySQL server at 'XXX', system error: errno\".
+ tmp_table_size corresponds to the MySQL system variable
+ `tmp_table_size`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_connect_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_tmp_table_size
- :param connect_timeout: The connect_timeout of this ConfigurationVariables.
+ :param tmp_table_size: The tmp_table_size of this ConfigurationVariables.
:type: int
"""
- self._connect_timeout = connect_timeout
+ self._tmp_table_size = tmp_table_size
@property
- def cte_max_recursion_depth(self):
+ def mysqlx_deflate_default_compression_level(self):
"""
- Gets the cte_max_recursion_depth of this ConfigurationVariables.
- (\"cte_max_recursion_depth\")
+ Gets the mysqlx_deflate_default_compression_level of this ConfigurationVariables.
+ Set the default compression level for the deflate algorithm. (\"mysqlx_deflate_default_compression_level\")
- :return: The cte_max_recursion_depth of this ConfigurationVariables.
+ :return: The mysqlx_deflate_default_compression_level of this ConfigurationVariables.
:rtype: int
"""
- return self._cte_max_recursion_depth
+ return self._mysqlx_deflate_default_compression_level
- @cte_max_recursion_depth.setter
- def cte_max_recursion_depth(self, cte_max_recursion_depth):
+ @mysqlx_deflate_default_compression_level.setter
+ def mysqlx_deflate_default_compression_level(self, mysqlx_deflate_default_compression_level):
"""
- Sets the cte_max_recursion_depth of this ConfigurationVariables.
- (\"cte_max_recursion_depth\")
+ Sets the mysqlx_deflate_default_compression_level of this ConfigurationVariables.
+ Set the default compression level for the deflate algorithm. (\"mysqlx_deflate_default_compression_level\")
- :param cte_max_recursion_depth: The cte_max_recursion_depth of this ConfigurationVariables.
+ :param mysqlx_deflate_default_compression_level: The mysqlx_deflate_default_compression_level of this ConfigurationVariables.
:type: int
"""
- self._cte_max_recursion_depth = cte_max_recursion_depth
+ self._mysqlx_deflate_default_compression_level = mysqlx_deflate_default_compression_level
@property
- def generated_random_password_length(self):
+ def mysqlx_deflate_max_client_compression_level(self):
"""
- Gets the generated_random_password_length of this ConfigurationVariables.
- (\"generated_random_password_length\") DEPRECATED -- variable should not be settable and will be ignored
+ Gets the mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
+ Limit the upper bound of accepted compression levels for the deflate algorithm. (\"mysqlx_deflate_max_client_compression_level\")
- :return: The generated_random_password_length of this ConfigurationVariables.
+ :return: The mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
:rtype: int
"""
- return self._generated_random_password_length
+ return self._mysqlx_deflate_max_client_compression_level
- @generated_random_password_length.setter
- def generated_random_password_length(self, generated_random_password_length):
+ @mysqlx_deflate_max_client_compression_level.setter
+ def mysqlx_deflate_max_client_compression_level(self, mysqlx_deflate_max_client_compression_level):
"""
- Sets the generated_random_password_length of this ConfigurationVariables.
- (\"generated_random_password_length\") DEPRECATED -- variable should not be settable and will be ignored
+ Sets the mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
+ Limit the upper bound of accepted compression levels for the deflate algorithm. (\"mysqlx_deflate_max_client_compression_level\")
- :param generated_random_password_length: The generated_random_password_length of this ConfigurationVariables.
+ :param mysqlx_deflate_max_client_compression_level: The mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
:type: int
"""
- self._generated_random_password_length = generated_random_password_length
+ self._mysqlx_deflate_max_client_compression_level = mysqlx_deflate_max_client_compression_level
@property
- def information_schema_stats_expiry(self):
+ def mysqlx_lz4_max_client_compression_level(self):
"""
- Gets the information_schema_stats_expiry of this ConfigurationVariables.
- (\"information_schema_stats_expiry\")
+ Gets the mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
+ Limit the upper bound of accepted compression levels for the lz4 algorithm. (\"mysqlx_lz4_max_client_compression_level\")
- :return: The information_schema_stats_expiry of this ConfigurationVariables.
+ :return: The mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
:rtype: int
"""
- return self._information_schema_stats_expiry
+ return self._mysqlx_lz4_max_client_compression_level
- @information_schema_stats_expiry.setter
- def information_schema_stats_expiry(self, information_schema_stats_expiry):
+ @mysqlx_lz4_max_client_compression_level.setter
+ def mysqlx_lz4_max_client_compression_level(self, mysqlx_lz4_max_client_compression_level):
"""
- Sets the information_schema_stats_expiry of this ConfigurationVariables.
- (\"information_schema_stats_expiry\")
+ Sets the mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
+ Limit the upper bound of accepted compression levels for the lz4 algorithm. (\"mysqlx_lz4_max_client_compression_level\")
- :param information_schema_stats_expiry: The information_schema_stats_expiry of this ConfigurationVariables.
+ :param mysqlx_lz4_max_client_compression_level: The mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
:type: int
"""
- self._information_schema_stats_expiry = information_schema_stats_expiry
+ self._mysqlx_lz4_max_client_compression_level = mysqlx_lz4_max_client_compression_level
@property
- def innodb_buffer_pool_dump_pct(self):
+ def mysqlx_lz4_default_compression_level(self):
"""
- Gets the innodb_buffer_pool_dump_pct of this ConfigurationVariables.
- Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.
-
- innodbBufferPoolDumpPct corresponds to the MySQL InnoDB system variable
- `innodb_buffer_pool_dump_pct`__.
-
- The range is 1 to 100. The default value is 25.
-
- For example, if there are 4 buffer pools with 100 pages each, and innodb_buffer_pool_dump_pct is set to 25,
- the 25 most recently used pages from each buffer pool are dumped.
-
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_dump_pct
+ Gets the mysqlx_lz4_default_compression_level of this ConfigurationVariables.
+ Set the default compression level for the lz4 algorithm. (\"mysqlx_lz4_default_compression_level\")
- :return: The innodb_buffer_pool_dump_pct of this ConfigurationVariables.
+ :return: The mysqlx_lz4_default_compression_level of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_buffer_pool_dump_pct
+ return self._mysqlx_lz4_default_compression_level
- @innodb_buffer_pool_dump_pct.setter
- def innodb_buffer_pool_dump_pct(self, innodb_buffer_pool_dump_pct):
+ @mysqlx_lz4_default_compression_level.setter
+ def mysqlx_lz4_default_compression_level(self, mysqlx_lz4_default_compression_level):
"""
- Sets the innodb_buffer_pool_dump_pct of this ConfigurationVariables.
- Specifies the percentage of the most recently used pages for each buffer pool to read out and dump.
-
- innodbBufferPoolDumpPct corresponds to the MySQL InnoDB system variable
- `innodb_buffer_pool_dump_pct`__.
-
- The range is 1 to 100. The default value is 25.
-
- For example, if there are 4 buffer pools with 100 pages each, and innodb_buffer_pool_dump_pct is set to 25,
- the 25 most recently used pages from each buffer pool are dumped.
-
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_buffer_pool_dump_pct
+ Sets the mysqlx_lz4_default_compression_level of this ConfigurationVariables.
+ Set the default compression level for the lz4 algorithm. (\"mysqlx_lz4_default_compression_level\")
- :param innodb_buffer_pool_dump_pct: The innodb_buffer_pool_dump_pct of this ConfigurationVariables.
+ :param mysqlx_lz4_default_compression_level: The mysqlx_lz4_default_compression_level of this ConfigurationVariables.
:type: int
"""
- self._innodb_buffer_pool_dump_pct = innodb_buffer_pool_dump_pct
+ self._mysqlx_lz4_default_compression_level = mysqlx_lz4_default_compression_level
@property
- def innodb_buffer_pool_instances(self):
+ def mysqlx_zstd_max_client_compression_level(self):
"""
- Gets the innodb_buffer_pool_instances of this ConfigurationVariables.
- (\"innodb_buffer_pool_instances\")
+ Gets the mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
+ Limit the upper bound of accepted compression levels for the zstd algorithm. (\"mysqlx_zstd_max_client_compression_level\")
- :return: The innodb_buffer_pool_instances of this ConfigurationVariables.
+ :return: The mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_buffer_pool_instances
+ return self._mysqlx_zstd_max_client_compression_level
- @innodb_buffer_pool_instances.setter
- def innodb_buffer_pool_instances(self, innodb_buffer_pool_instances):
+ @mysqlx_zstd_max_client_compression_level.setter
+ def mysqlx_zstd_max_client_compression_level(self, mysqlx_zstd_max_client_compression_level):
"""
- Sets the innodb_buffer_pool_instances of this ConfigurationVariables.
- (\"innodb_buffer_pool_instances\")
+ Sets the mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
+ Limit the upper bound of accepted compression levels for the zstd algorithm. (\"mysqlx_zstd_max_client_compression_level\")
- :param innodb_buffer_pool_instances: The innodb_buffer_pool_instances of this ConfigurationVariables.
+ :param mysqlx_zstd_max_client_compression_level: The mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
:type: int
"""
- self._innodb_buffer_pool_instances = innodb_buffer_pool_instances
+ self._mysqlx_zstd_max_client_compression_level = mysqlx_zstd_max_client_compression_level
@property
- def innodb_ddl_buffer_size(self):
+ def mysqlx_zstd_default_compression_level(self):
"""
- Gets the innodb_ddl_buffer_size of this ConfigurationVariables.
- innodbDdlBufferSize corresponds to the MySQL system variable `innodb_ddl_buffer_size]`__
-
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_buffer_size
+ Gets the mysqlx_zstd_default_compression_level of this ConfigurationVariables.
+ Set the default compression level for the zstd algorithm. (\"mysqlx_zstd_default_compression_level\")
- :return: The innodb_ddl_buffer_size of this ConfigurationVariables.
+ :return: The mysqlx_zstd_default_compression_level of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_ddl_buffer_size
+ return self._mysqlx_zstd_default_compression_level
- @innodb_ddl_buffer_size.setter
- def innodb_ddl_buffer_size(self, innodb_ddl_buffer_size):
+ @mysqlx_zstd_default_compression_level.setter
+ def mysqlx_zstd_default_compression_level(self, mysqlx_zstd_default_compression_level):
"""
- Sets the innodb_ddl_buffer_size of this ConfigurationVariables.
- innodbDdlBufferSize corresponds to the MySQL system variable `innodb_ddl_buffer_size]`__
-
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_buffer_size
+ Sets the mysqlx_zstd_default_compression_level of this ConfigurationVariables.
+ Set the default compression level for the zstd algorithm. (\"mysqlx_zstd_default_compression_level\")
- :param innodb_ddl_buffer_size: The innodb_ddl_buffer_size of this ConfigurationVariables.
+ :param mysqlx_zstd_default_compression_level: The mysqlx_zstd_default_compression_level of this ConfigurationVariables.
:type: int
"""
- self._innodb_ddl_buffer_size = innodb_ddl_buffer_size
+ self._mysqlx_zstd_default_compression_level = mysqlx_zstd_default_compression_level
@property
- def innodb_ddl_threads(self):
+ def mysql_zstd_default_compression_level(self):
"""
- Gets the innodb_ddl_threads of this ConfigurationVariables.
- innodbDdlThreads corresponds to the MySQL system variable `innodb_ddl_threads]`__
-
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_threads
+ Gets the mysql_zstd_default_compression_level of this ConfigurationVariables.
+ DEPRECATED -- typo of mysqlx_zstd_default_compression_level. variable will be ignored.
- :return: The innodb_ddl_threads of this ConfigurationVariables.
+ :return: The mysql_zstd_default_compression_level of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_ddl_threads
+ return self._mysql_zstd_default_compression_level
- @innodb_ddl_threads.setter
- def innodb_ddl_threads(self, innodb_ddl_threads):
+ @mysql_zstd_default_compression_level.setter
+ def mysql_zstd_default_compression_level(self, mysql_zstd_default_compression_level):
"""
- Sets the innodb_ddl_threads of this ConfigurationVariables.
- innodbDdlThreads corresponds to the MySQL system variable `innodb_ddl_threads]`__
-
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_ddl_threads
+ Sets the mysql_zstd_default_compression_level of this ConfigurationVariables.
+ DEPRECATED -- typo of mysqlx_zstd_default_compression_level. variable will be ignored.
- :param innodb_ddl_threads: The innodb_ddl_threads of this ConfigurationVariables.
+ :param mysql_zstd_default_compression_level: The mysql_zstd_default_compression_level of this ConfigurationVariables.
:type: int
"""
- self._innodb_ddl_threads = innodb_ddl_threads
+ self._mysql_zstd_default_compression_level = mysql_zstd_default_compression_level
@property
- def innodb_ft_max_token_size(self):
+ def sort_buffer_size(self):
"""
- Gets the innodb_ft_max_token_size of this ConfigurationVariables.
- (\"innodb_ft_max_token_size\")
+ Gets the sort_buffer_size of this ConfigurationVariables.
+ Each session that must perform a sort allocates a buffer of this size.
+
+ sortBufferSize corresponds to the MySQL system variable `sort_buffer_size`__
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_sort_buffer_size
- :return: The innodb_ft_max_token_size of this ConfigurationVariables.
+ :return: The sort_buffer_size of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_ft_max_token_size
+ return self._sort_buffer_size
- @innodb_ft_max_token_size.setter
- def innodb_ft_max_token_size(self, innodb_ft_max_token_size):
+ @sort_buffer_size.setter
+ def sort_buffer_size(self, sort_buffer_size):
"""
- Sets the innodb_ft_max_token_size of this ConfigurationVariables.
- (\"innodb_ft_max_token_size\")
+ Sets the sort_buffer_size of this ConfigurationVariables.
+ Each session that must perform a sort allocates a buffer of this size.
+
+ sortBufferSize corresponds to the MySQL system variable `sort_buffer_size`__
+
+ __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_sort_buffer_size
- :param innodb_ft_max_token_size: The innodb_ft_max_token_size of this ConfigurationVariables.
+ :param sort_buffer_size: The sort_buffer_size of this ConfigurationVariables.
:type: int
"""
- self._innodb_ft_max_token_size = innodb_ft_max_token_size
+ self._sort_buffer_size = sort_buffer_size
@property
- def innodb_ft_min_token_size(self):
+ def wait_timeout(self):
"""
- Gets the innodb_ft_min_token_size of this ConfigurationVariables.
- (\"innodb_ft_min_token_size\")
+ Gets the wait_timeout of this ConfigurationVariables.
+ The number of seconds the server waits for activity on a noninteractive connection before closing it.
+ waitTimeout corresponds to the MySQL system variable.
+ `wait_timeout`__
- :return: The innodb_ft_min_token_size of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout
+
+
+ :return: The wait_timeout of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_ft_min_token_size
+ return self._wait_timeout
- @innodb_ft_min_token_size.setter
- def innodb_ft_min_token_size(self, innodb_ft_min_token_size):
+ @wait_timeout.setter
+ def wait_timeout(self, wait_timeout):
"""
- Sets the innodb_ft_min_token_size of this ConfigurationVariables.
- (\"innodb_ft_min_token_size\")
+ Sets the wait_timeout of this ConfigurationVariables.
+ The number of seconds the server waits for activity on a noninteractive connection before closing it.
+
+ waitTimeout corresponds to the MySQL system variable.
+ `wait_timeout`__
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout
- :param innodb_ft_min_token_size: The innodb_ft_min_token_size of this ConfigurationVariables.
+ :param wait_timeout: The wait_timeout of this ConfigurationVariables.
:type: int
"""
- self._innodb_ft_min_token_size = innodb_ft_min_token_size
+ self._wait_timeout = wait_timeout
@property
- def innodb_ft_num_word_optimize(self):
+ def thread_pool_dedicated_listeners(self):
"""
- Gets the innodb_ft_num_word_optimize of this ConfigurationVariables.
- (\"innodb_ft_num_word_optimize\")
+ Gets the thread_pool_dedicated_listeners of this ConfigurationVariables.
+ Controls whether the thread pool uses dedicated listener threads. If enabled, a listener thread in each thread group is dedicated to the task of listening
+ for network events from clients, ensuring that the maximum number of query worker threads is no more than the value specified by threadPoolMaxTransactionsLimit.
+ threadPoolDedicatedListeners corresponds to the MySQL Database Service-specific system variable thread_pool_dedicated_listeners.
- :return: The innodb_ft_num_word_optimize of this ConfigurationVariables.
- :rtype: int
+ :return: The thread_pool_dedicated_listeners of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._innodb_ft_num_word_optimize
+ return self._thread_pool_dedicated_listeners
- @innodb_ft_num_word_optimize.setter
- def innodb_ft_num_word_optimize(self, innodb_ft_num_word_optimize):
+ @thread_pool_dedicated_listeners.setter
+ def thread_pool_dedicated_listeners(self, thread_pool_dedicated_listeners):
"""
- Sets the innodb_ft_num_word_optimize of this ConfigurationVariables.
- (\"innodb_ft_num_word_optimize\")
+ Sets the thread_pool_dedicated_listeners of this ConfigurationVariables.
+ Controls whether the thread pool uses dedicated listener threads. If enabled, a listener thread in each thread group is dedicated to the task of listening
+ for network events from clients, ensuring that the maximum number of query worker threads is no more than the value specified by threadPoolMaxTransactionsLimit.
+ threadPoolDedicatedListeners corresponds to the MySQL Database Service-specific system variable thread_pool_dedicated_listeners.
- :param innodb_ft_num_word_optimize: The innodb_ft_num_word_optimize of this ConfigurationVariables.
- :type: int
+ :param thread_pool_dedicated_listeners: The thread_pool_dedicated_listeners of this ConfigurationVariables.
+ :type: bool
"""
- self._innodb_ft_num_word_optimize = innodb_ft_num_word_optimize
+ self._thread_pool_dedicated_listeners = thread_pool_dedicated_listeners
@property
- def innodb_lock_wait_timeout(self):
+ def thread_pool_max_transactions_limit(self):
"""
- Gets the innodb_lock_wait_timeout of this ConfigurationVariables.
- (\"innodb_lock_wait_timeout\")
+ Gets the thread_pool_max_transactions_limit of this ConfigurationVariables.
+ Limits the maximum number of open transactions to the defined value. The default value is 0, which enforces no limit.
+ threadPoolMaxTransactionsLimit corresponds to the MySQL Database Service-specific system variable thread_pool_max_transactions_limit.
- :return: The innodb_lock_wait_timeout of this ConfigurationVariables.
+ :return: The thread_pool_max_transactions_limit of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_lock_wait_timeout
+ return self._thread_pool_max_transactions_limit
- @innodb_lock_wait_timeout.setter
- def innodb_lock_wait_timeout(self, innodb_lock_wait_timeout):
+ @thread_pool_max_transactions_limit.setter
+ def thread_pool_max_transactions_limit(self, thread_pool_max_transactions_limit):
"""
- Sets the innodb_lock_wait_timeout of this ConfigurationVariables.
- (\"innodb_lock_wait_timeout\")
+ Sets the thread_pool_max_transactions_limit of this ConfigurationVariables.
+ Limits the maximum number of open transactions to the defined value. The default value is 0, which enforces no limit.
+ threadPoolMaxTransactionsLimit corresponds to the MySQL Database Service-specific system variable thread_pool_max_transactions_limit.
- :param innodb_lock_wait_timeout: The innodb_lock_wait_timeout of this ConfigurationVariables.
+ :param thread_pool_max_transactions_limit: The thread_pool_max_transactions_limit of this ConfigurationVariables.
:type: int
"""
- self._innodb_lock_wait_timeout = innodb_lock_wait_timeout
+ self._thread_pool_max_transactions_limit = thread_pool_max_transactions_limit
@property
- def innodb_max_purge_lag(self):
+ def time_zone(self):
"""
- Gets the innodb_max_purge_lag of this ConfigurationVariables.
- The desired maximum purge lag in terms of transactions.
-
- InnoDB maintains a list of transactions that have index records delete-marked by UPDATE or DELETE operations. The length of the list is the purge lag.
-
- If this value is exceeded, a delay is imposed on INSERT, UPDATE, and DELETE operations to allow time for purge to catch up.
+ Gets the time_zone of this ConfigurationVariables.
+ Initializes the time zone for each client that connects.
- The default value is 0, which means there is no maximum purge lag and no delay.
+ This corresponds to the MySQL System Variable \"time_zone\".
- innodbMaxPurgeLag corresponds to the MySQL server system variable
- `innodb_max_purge_lag`__.
+ The values can be given in one of the following formats, none of which are case-sensitive:
- __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag
+ - As a string indicating an offset from UTC of the form [H]H:MM, prefixed with a + or -, such as '+10:00', '-6:00', or '+05:30'. The permitted range is '-13:59' to '+14:00', inclusive.
+ - As a named time zone, as defined by the \"IANA Time Zone database\", such as 'Europe/Helsinki', 'US/Eastern', 'MET', or 'UTC'.
- :return: The innodb_max_purge_lag of this ConfigurationVariables.
- :rtype: int
+ :return: The time_zone of this ConfigurationVariables.
+ :rtype: str
"""
- return self._innodb_max_purge_lag
+ return self._time_zone
- @innodb_max_purge_lag.setter
- def innodb_max_purge_lag(self, innodb_max_purge_lag):
+ @time_zone.setter
+ def time_zone(self, time_zone):
"""
- Sets the innodb_max_purge_lag of this ConfigurationVariables.
- The desired maximum purge lag in terms of transactions.
-
- InnoDB maintains a list of transactions that have index records delete-marked by UPDATE or DELETE operations. The length of the list is the purge lag.
-
- If this value is exceeded, a delay is imposed on INSERT, UPDATE, and DELETE operations to allow time for purge to catch up.
+ Sets the time_zone of this ConfigurationVariables.
+ Initializes the time zone for each client that connects.
- The default value is 0, which means there is no maximum purge lag and no delay.
+ This corresponds to the MySQL System Variable \"time_zone\".
- innodbMaxPurgeLag corresponds to the MySQL server system variable
- `innodb_max_purge_lag`__.
+ The values can be given in one of the following formats, none of which are case-sensitive:
- __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag
+ - As a string indicating an offset from UTC of the form [H]H:MM, prefixed with a + or -, such as '+10:00', '-6:00', or '+05:30'. The permitted range is '-13:59' to '+14:00', inclusive.
+ - As a named time zone, as defined by the \"IANA Time Zone database\", such as 'Europe/Helsinki', 'US/Eastern', 'MET', or 'UTC'.
- :param innodb_max_purge_lag: The innodb_max_purge_lag of this ConfigurationVariables.
- :type: int
+ :param time_zone: The time_zone of this ConfigurationVariables.
+ :type: str
"""
- self._innodb_max_purge_lag = innodb_max_purge_lag
+ self._time_zone = time_zone
@property
- def innodb_max_purge_lag_delay(self):
+ def block_encryption_mode(self):
"""
- Gets the innodb_max_purge_lag_delay of this ConfigurationVariables.
- The maximum delay in microseconds for the delay imposed when the innodb_max_purge_lag threshold is exceeded.
+ Gets the block_encryption_mode of this ConfigurationVariables.
+ This variable controls the block encryption mode for block-based algorithms such as AES. It affects encryption for AES_ENCRYPT() and AES_DECRYPT().
- The specified innodb_max_purge_lag_delay value is an upper limit on the delay period.
+ block_encryption_mode takes a value in aes-keylen-mode format, where keylen is the key length in bits and mode is the encryption mode. The value is not case-sensitive.
+ Permitted keylen values are 128, 192, and 256. Permitted mode values are ECB, CBC, CFB1, CFB8, CFB128, and OFB.
- innodbMaxPurgeLagDelay corresponds to the MySQL server system variable
- `innodb_max_purge_lag_delay`__.
+ block_encryption_mode corresponds to the MySQL Server Administration system variable
+ `block_encryption_mode`__
- __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag_delay
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_block_encryption_mode
- :return: The innodb_max_purge_lag_delay of this ConfigurationVariables.
- :rtype: int
+ :return: The block_encryption_mode of this ConfigurationVariables.
+ :rtype: str
"""
- return self._innodb_max_purge_lag_delay
+ return self._block_encryption_mode
- @innodb_max_purge_lag_delay.setter
- def innodb_max_purge_lag_delay(self, innodb_max_purge_lag_delay):
+ @block_encryption_mode.setter
+ def block_encryption_mode(self, block_encryption_mode):
"""
- Sets the innodb_max_purge_lag_delay of this ConfigurationVariables.
- The maximum delay in microseconds for the delay imposed when the innodb_max_purge_lag threshold is exceeded.
+ Sets the block_encryption_mode of this ConfigurationVariables.
+ This variable controls the block encryption mode for block-based algorithms such as AES. It affects encryption for AES_ENCRYPT() and AES_DECRYPT().
- The specified innodb_max_purge_lag_delay value is an upper limit on the delay period.
+ block_encryption_mode takes a value in aes-keylen-mode format, where keylen is the key length in bits and mode is the encryption mode. The value is not case-sensitive.
+ Permitted keylen values are 128, 192, and 256. Permitted mode values are ECB, CBC, CFB1, CFB8, CFB128, and OFB.
- innodbMaxPurgeLagDelay corresponds to the MySQL server system variable
- `innodb_max_purge_lag_delay`__.
+ block_encryption_mode corresponds to the MySQL Server Administration system variable
+ `block_encryption_mode`__
- __ https://dev.mysql.com/doc/refman/en/innodb-parameters.html#sysvar_innodb_max_purge_lag_delay
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_block_encryption_mode
- :param innodb_max_purge_lag_delay: The innodb_max_purge_lag_delay of this ConfigurationVariables.
- :type: int
+ :param block_encryption_mode: The block_encryption_mode of this ConfigurationVariables.
+ :type: str
"""
- self._innodb_max_purge_lag_delay = innodb_max_purge_lag_delay
+ self._block_encryption_mode = block_encryption_mode
@property
- def interactive_timeout(self):
+ def binlog_group_commit_sync_delay(self):
"""
- Gets the interactive_timeout of this ConfigurationVariables.
- The number of seconds the server waits for activity on an interactive connection before closing it.
+ Gets the binlog_group_commit_sync_delay of this ConfigurationVariables.
+ Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.
+ There is no delay by default. Setting this variable to a microsecond delay enables more transactions to be synchronized
+ together to disk at once, reducing the overall time to commit a group of transactions because the larger groups required
+ fewer time units per group.
- interactiveTimeout corresponds to the MySQL system variable.
- `interactive_timeout`__
+ binlogGroupCommitSyncDelay corresponds to the MySQL Replication system variable
+ `binlog_group_commit_sync_delay`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout
+ __ https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_group_commit_sync_delay
- :return: The interactive_timeout of this ConfigurationVariables.
+ :return: The binlog_group_commit_sync_delay of this ConfigurationVariables.
:rtype: int
"""
- return self._interactive_timeout
+ return self._binlog_group_commit_sync_delay
- @interactive_timeout.setter
- def interactive_timeout(self, interactive_timeout):
+ @binlog_group_commit_sync_delay.setter
+ def binlog_group_commit_sync_delay(self, binlog_group_commit_sync_delay):
"""
- Sets the interactive_timeout of this ConfigurationVariables.
- The number of seconds the server waits for activity on an interactive connection before closing it.
+ Sets the binlog_group_commit_sync_delay of this ConfigurationVariables.
+ Controls how many microseconds the binary log commit waits before synchronizing the binary log file to disk.
+ There is no delay by default. Setting this variable to a microsecond delay enables more transactions to be synchronized
+ together to disk at once, reducing the overall time to commit a group of transactions because the larger groups required
+ fewer time units per group.
- interactiveTimeout corresponds to the MySQL system variable.
- `interactive_timeout`__
+ binlogGroupCommitSyncDelay corresponds to the MySQL Replication system variable
+ `binlog_group_commit_sync_delay`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_interactive_timeout
+ __ https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_group_commit_sync_delay
- :param interactive_timeout: The interactive_timeout of this ConfigurationVariables.
+ :param binlog_group_commit_sync_delay: The binlog_group_commit_sync_delay of this ConfigurationVariables.
:type: int
"""
- self._interactive_timeout = interactive_timeout
+ self._binlog_group_commit_sync_delay = binlog_group_commit_sync_delay
@property
- def innodb_stats_persistent_sample_pages(self):
+ def binlog_group_commit_sync_no_delay_count(self):
"""
- Gets the innodb_stats_persistent_sample_pages of this ConfigurationVariables.
- The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
- such as those calculated by ANALYZE TABLE.
-
- innodbStatsPersistentSamplePages corresponds to the MySQL InnoDB system variable
- `innodb_stats_persistent_sample_pages`__
+ Gets the binlog_group_commit_sync_no_delay_count of this ConfigurationVariables.
+ The maximum number of transactions to wait for before aborting the current delay as specified by binlog_group_commit_sync_delay.
+ If binlog_group_commit_sync_delay is set to 0, then this option has no effect.
- innodb_stats_persistent_sample_pages only applies when innodb_stats_persistent is enabled for a table;
- when innodb_stats_persistent is disabled, innodb_stats_transient_sample_pages applies instead.
+ binlogGroupCommitSyncNoDelayCount corresponds to the MySQL Replication system variable
+ `binlog_group_commit_sync_no_delay_count`__
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_persistent_sample_pages
+ __ https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_group_commit_sync_no_delay_count
- :return: The innodb_stats_persistent_sample_pages of this ConfigurationVariables.
+ :return: The binlog_group_commit_sync_no_delay_count of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_stats_persistent_sample_pages
+ return self._binlog_group_commit_sync_no_delay_count
- @innodb_stats_persistent_sample_pages.setter
- def innodb_stats_persistent_sample_pages(self, innodb_stats_persistent_sample_pages):
+ @binlog_group_commit_sync_no_delay_count.setter
+ def binlog_group_commit_sync_no_delay_count(self, binlog_group_commit_sync_no_delay_count):
"""
- Sets the innodb_stats_persistent_sample_pages of this ConfigurationVariables.
- The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
- such as those calculated by ANALYZE TABLE.
+ Sets the binlog_group_commit_sync_no_delay_count of this ConfigurationVariables.
+ The maximum number of transactions to wait for before aborting the current delay as specified by binlog_group_commit_sync_delay.
+ If binlog_group_commit_sync_delay is set to 0, then this option has no effect.
- innodbStatsPersistentSamplePages corresponds to the MySQL InnoDB system variable
- `innodb_stats_persistent_sample_pages`__
-
- innodb_stats_persistent_sample_pages only applies when innodb_stats_persistent is enabled for a table;
- when innodb_stats_persistent is disabled, innodb_stats_transient_sample_pages applies instead.
+ binlogGroupCommitSyncNoDelayCount corresponds to the MySQL Replication system variable
+ `binlog_group_commit_sync_no_delay_count`__
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_persistent_sample_pages
+ __ https://dev.mysql.com/doc/refman/5.7/en/replication-options-binary-log.html#sysvar_binlog_group_commit_sync_no_delay_count
- :param innodb_stats_persistent_sample_pages: The innodb_stats_persistent_sample_pages of this ConfigurationVariables.
+ :param binlog_group_commit_sync_no_delay_count: The binlog_group_commit_sync_no_delay_count of this ConfigurationVariables.
:type: int
"""
- self._innodb_stats_persistent_sample_pages = innodb_stats_persistent_sample_pages
+ self._binlog_group_commit_sync_no_delay_count = binlog_group_commit_sync_no_delay_count
@property
- def innodb_stats_transient_sample_pages(self):
+ def replica_net_timeout(self):
"""
- Gets the innodb_stats_transient_sample_pages of this ConfigurationVariables.
- The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
- such as those calculated by `ANALYZE TABLE`__.
-
- innodbStatsTransientSamplePages corresponds to the MySQL InnoDB system variable
- `innodb_stats_transient_sample_pages`__
-
- innodb_stats_transient_sample_pages only applies when innodb_stats_persistent is disabled for a table;
- when innodb_stats_persistent is enabled, innodb_stats_persistent_sample_pages applies instead.
+ Gets the replica_net_timeout of this ConfigurationVariables.
+ Specifies the number of seconds to wait for more data or a heartbeat signal from the source before the replica considers the connection broken,
+ aborts the read, and tries to reconnect. Setting this variable has no immediate effect. The state of the variable applies on all subsequent START REPLICA commands.
- innodb_stats_persistent is ON by default and cannot be changed. It is possible to override it using the
- STATS_PERSISTENT clause of the `CREATE TABLE`__ and
- `ALTER TABLE`__ statements.
+ replicaNetTimeout corresponds to the MySQL Replica server system variable
+ `replica_net_timeout`__
- __ https://dev.mysql.com/doc/refman/8.0/en/analyze-table.html
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_transient_sample_pages
- __ https://dev.mysql.com/doc/refman/8.0/en/create-table.html
- __ https://dev.mysql.com/doc/refman/8.0/en/alter-table.html
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_net_timeout
- :return: The innodb_stats_transient_sample_pages of this ConfigurationVariables.
+ :return: The replica_net_timeout of this ConfigurationVariables.
:rtype: int
"""
- return self._innodb_stats_transient_sample_pages
+ return self._replica_net_timeout
- @innodb_stats_transient_sample_pages.setter
- def innodb_stats_transient_sample_pages(self, innodb_stats_transient_sample_pages):
+ @replica_net_timeout.setter
+ def replica_net_timeout(self, replica_net_timeout):
"""
- Sets the innodb_stats_transient_sample_pages of this ConfigurationVariables.
- The number of index pages to sample when estimating cardinality and other statistics for an indexed column,
- such as those calculated by `ANALYZE TABLE`__.
+ Sets the replica_net_timeout of this ConfigurationVariables.
+ Specifies the number of seconds to wait for more data or a heartbeat signal from the source before the replica considers the connection broken,
+ aborts the read, and tries to reconnect. Setting this variable has no immediate effect. The state of the variable applies on all subsequent START REPLICA commands.
- innodbStatsTransientSamplePages corresponds to the MySQL InnoDB system variable
- `innodb_stats_transient_sample_pages`__
-
- innodb_stats_transient_sample_pages only applies when innodb_stats_persistent is disabled for a table;
- when innodb_stats_persistent is enabled, innodb_stats_persistent_sample_pages applies instead.
-
- innodb_stats_persistent is ON by default and cannot be changed. It is possible to override it using the
- STATS_PERSISTENT clause of the `CREATE TABLE`__ and
- `ALTER TABLE`__ statements.
+ replicaNetTimeout corresponds to the MySQL Replica server system variable
+ `replica_net_timeout`__
- __ https://dev.mysql.com/doc/refman/8.0/en/analyze-table.html
- __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_stats_transient_sample_pages
- __ https://dev.mysql.com/doc/refman/8.0/en/create-table.html
- __ https://dev.mysql.com/doc/refman/8.0/en/alter-table.html
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_net_timeout
- :param innodb_stats_transient_sample_pages: The innodb_stats_transient_sample_pages of this ConfigurationVariables.
+ :param replica_net_timeout: The replica_net_timeout of this ConfigurationVariables.
:type: int
"""
- self._innodb_stats_transient_sample_pages = innodb_stats_transient_sample_pages
+ self._replica_net_timeout = replica_net_timeout
@property
- def max_allowed_packet(self):
+ def require_secure_transport(self):
"""
- Gets the max_allowed_packet of this ConfigurationVariables.
- The maximum size of one packet or any generated/intermediate string.
+ Gets the require_secure_transport of this ConfigurationVariables.
+ Whether client connections to the server are required to use some form of secure transport.
+ When this variable is enabled, the server permits only TCP/IP connections encrypted using TLS/SSL, or connections that use a socket file or shared memory.
+ The server rejects nonsecure connection attempts, which fail with an ER_SECURE_TRANSPORT_REQUIRED error.
- This is the mysql variable \"max_allowed_packet\".
+ require_secure_transport corresponds to the MySQL Server Administration system variable
+ `require_secure_transport`__
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_require_secure_transport
- :return: The max_allowed_packet of this ConfigurationVariables.
- :rtype: int
+
+ :return: The require_secure_transport of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._max_allowed_packet
+ return self._require_secure_transport
- @max_allowed_packet.setter
- def max_allowed_packet(self, max_allowed_packet):
+ @require_secure_transport.setter
+ def require_secure_transport(self, require_secure_transport):
"""
- Sets the max_allowed_packet of this ConfigurationVariables.
- The maximum size of one packet or any generated/intermediate string.
+ Sets the require_secure_transport of this ConfigurationVariables.
+ Whether client connections to the server are required to use some form of secure transport.
+ When this variable is enabled, the server permits only TCP/IP connections encrypted using TLS/SSL, or connections that use a socket file or shared memory.
+ The server rejects nonsecure connection attempts, which fail with an ER_SECURE_TRANSPORT_REQUIRED error.
- This is the mysql variable \"max_allowed_packet\".
+ require_secure_transport corresponds to the MySQL Server Administration system variable
+ `require_secure_transport`__
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_require_secure_transport
- :param max_allowed_packet: The max_allowed_packet of this ConfigurationVariables.
- :type: int
+
+ :param require_secure_transport: The require_secure_transport of this ConfigurationVariables.
+ :type: bool
"""
- self._max_allowed_packet = max_allowed_packet
+ self._require_secure_transport = require_secure_transport
@property
- def max_execution_time(self):
+ def innodb_redo_log_capacity(self):
"""
- Gets the max_execution_time of this ConfigurationVariables.
- (\"max_execution_time\")
+ Gets the innodb_redo_log_capacity of this ConfigurationVariables.
+ Defines the amount of disk space occupied by redo log files. innodb_redo_log_capacity supercedes the innodb_log_files_in_group and innodb_log_file_size variables,
+ which are both ignored if innodb_redo_log_capacity is defined. If innodb_redo_log_capacity is not defined, and if neither innodb_log_file_size or innodb_log_files_in_group are defined,
+ then the default innodb_redo_log_capacity value is used.
+ innodbRedoLogCapacity corresponds to the InnoDB Startup Options and System Variables
+ `innodb_redo_log_capacity`__
- :return: The max_execution_time of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_redo_log_capacity
+
+
+ :return: The innodb_redo_log_capacity of this ConfigurationVariables.
:rtype: int
"""
- return self._max_execution_time
+ return self._innodb_redo_log_capacity
- @max_execution_time.setter
- def max_execution_time(self, max_execution_time):
+ @innodb_redo_log_capacity.setter
+ def innodb_redo_log_capacity(self, innodb_redo_log_capacity):
"""
- Sets the max_execution_time of this ConfigurationVariables.
- (\"max_execution_time\")
+ Sets the innodb_redo_log_capacity of this ConfigurationVariables.
+ Defines the amount of disk space occupied by redo log files. innodb_redo_log_capacity supercedes the innodb_log_files_in_group and innodb_log_file_size variables,
+ which are both ignored if innodb_redo_log_capacity is defined. If innodb_redo_log_capacity is not defined, and if neither innodb_log_file_size or innodb_log_files_in_group are defined,
+ then the default innodb_redo_log_capacity value is used.
+ innodbRedoLogCapacity corresponds to the InnoDB Startup Options and System Variables
+ `innodb_redo_log_capacity`__
- :param max_execution_time: The max_execution_time of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_redo_log_capacity
+
+
+ :param innodb_redo_log_capacity: The innodb_redo_log_capacity of this ConfigurationVariables.
:type: int
"""
- self._max_execution_time = max_execution_time
+ self._innodb_redo_log_capacity = innodb_redo_log_capacity
@property
- def mysqlx_connect_timeout(self):
+ def thread_pool_transaction_delay(self):
"""
- Gets the mysqlx_connect_timeout of this ConfigurationVariables.
- The number of seconds X Plugin waits for the first packet to be received from newly connected clients.
+ Gets the thread_pool_transaction_delay of this ConfigurationVariables.
+ The delay period before executing a new transaction, in milliseconds. The maximum value is 300000 (5 minutes).
+ A transaction delay can be used in cases where parallel transactions affect the performance of other operations due to resource contention.
+ For example, if parallel transactions affect index creation or an online buffer pool resizing operation,
+ you can configure a transaction delay to reduce resource contention while those operations are running.
- mysqlxConnectTimeout corresponds to the MySQL X Plugin system variable
- `mysqlx_connect_timeout`__
+ threadPoolTransactionDelay corresponds to the MySQL Server system variable
+ `thread_pool_transaction_delay`__
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_connect_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_transaction_delay
- :return: The mysqlx_connect_timeout of this ConfigurationVariables.
+ :return: The thread_pool_transaction_delay of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_connect_timeout
+ return self._thread_pool_transaction_delay
- @mysqlx_connect_timeout.setter
- def mysqlx_connect_timeout(self, mysqlx_connect_timeout):
+ @thread_pool_transaction_delay.setter
+ def thread_pool_transaction_delay(self, thread_pool_transaction_delay):
"""
- Sets the mysqlx_connect_timeout of this ConfigurationVariables.
- The number of seconds X Plugin waits for the first packet to be received from newly connected clients.
+ Sets the thread_pool_transaction_delay of this ConfigurationVariables.
+ The delay period before executing a new transaction, in milliseconds. The maximum value is 300000 (5 minutes).
+ A transaction delay can be used in cases where parallel transactions affect the performance of other operations due to resource contention.
+ For example, if parallel transactions affect index creation or an online buffer pool resizing operation,
+ you can configure a transaction delay to reduce resource contention while those operations are running.
- mysqlxConnectTimeout corresponds to the MySQL X Plugin system variable
- `mysqlx_connect_timeout`__
+ threadPoolTransactionDelay corresponds to the MySQL Server system variable
+ `thread_pool_transaction_delay`__
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_connect_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_transaction_delay
- :param mysqlx_connect_timeout: The mysqlx_connect_timeout of this ConfigurationVariables.
+ :param thread_pool_transaction_delay: The thread_pool_transaction_delay of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_connect_timeout = mysqlx_connect_timeout
+ self._thread_pool_transaction_delay = thread_pool_transaction_delay
@property
- def mysqlx_document_id_unique_prefix(self):
+ def thread_pool_query_threads_per_group(self):
"""
- Gets the mysqlx_document_id_unique_prefix of this ConfigurationVariables.
- (\"mysqlx_document_id_unique_prefix\") DEPRECATED -- variable should not be settable and will be ignored
+ Gets the thread_pool_query_threads_per_group of this ConfigurationVariables.
+ The maximum number of query threads permitted in a thread group.
+ The maximum value is 4096, but if thread_pool_max_transactions_limit is set, thread_pool_query_threads_per_group must not exceed that value.
+ The default value of 1 means there is one active query thread in each thread group, which works well for many loads.
+ When you are using the high concurrency thread pool algorithm (thread_pool_algorithm = 1),
+ consider increasing the value if you experience slower response times due to long-running transactions.
+ threadPoolQueryThreadsPerGroup corresponds to the MySQL Server system variable
+ `thread_pool_query_threads_per_group`__
- :return: The mysqlx_document_id_unique_prefix of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_query_threads_per_group
+
+
+ :return: The thread_pool_query_threads_per_group of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_document_id_unique_prefix
+ return self._thread_pool_query_threads_per_group
- @mysqlx_document_id_unique_prefix.setter
- def mysqlx_document_id_unique_prefix(self, mysqlx_document_id_unique_prefix):
+ @thread_pool_query_threads_per_group.setter
+ def thread_pool_query_threads_per_group(self, thread_pool_query_threads_per_group):
"""
- Sets the mysqlx_document_id_unique_prefix of this ConfigurationVariables.
- (\"mysqlx_document_id_unique_prefix\") DEPRECATED -- variable should not be settable and will be ignored
+ Sets the thread_pool_query_threads_per_group of this ConfigurationVariables.
+ The maximum number of query threads permitted in a thread group.
+ The maximum value is 4096, but if thread_pool_max_transactions_limit is set, thread_pool_query_threads_per_group must not exceed that value.
+ The default value of 1 means there is one active query thread in each thread group, which works well for many loads.
+ When you are using the high concurrency thread pool algorithm (thread_pool_algorithm = 1),
+ consider increasing the value if you experience slower response times due to long-running transactions.
+ threadPoolQueryThreadsPerGroup corresponds to the MySQL Server system variable
+ `thread_pool_query_threads_per_group`__
- :param mysqlx_document_id_unique_prefix: The mysqlx_document_id_unique_prefix of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_query_threads_per_group
+
+
+ :param thread_pool_query_threads_per_group: The thread_pool_query_threads_per_group of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_document_id_unique_prefix = mysqlx_document_id_unique_prefix
+ self._thread_pool_query_threads_per_group = thread_pool_query_threads_per_group
@property
- def mysqlx_idle_worker_thread_timeout(self):
+ def explain_format(self):
"""
- Gets the mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
- (\"mysqlx_idle_worker_thread_timeout\") DEPRECATED -- variable should not be settable and will be ignored
+ Gets the explain_format of this ConfigurationVariables.
+ This variable determines the default output format used by EXPLAIN in the absence of a FORMAT option when displaying a query execution plan.
+ explainFormat corresponds to the MySQL system variable
+ `explain_format`__.
- :return: The mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
- :rtype: int
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_explain_format
+
+ Allowed values for this property are: "TRADITIONAL", "JSON", "TREE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The explain_format of this ConfigurationVariables.
+ :rtype: str
"""
- return self._mysqlx_idle_worker_thread_timeout
+ return self._explain_format
- @mysqlx_idle_worker_thread_timeout.setter
- def mysqlx_idle_worker_thread_timeout(self, mysqlx_idle_worker_thread_timeout):
+ @explain_format.setter
+ def explain_format(self, explain_format):
"""
- Sets the mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
- (\"mysqlx_idle_worker_thread_timeout\") DEPRECATED -- variable should not be settable and will be ignored
+ Sets the explain_format of this ConfigurationVariables.
+ This variable determines the default output format used by EXPLAIN in the absence of a FORMAT option when displaying a query execution plan.
+ explainFormat corresponds to the MySQL system variable
+ `explain_format`__.
- :param mysqlx_idle_worker_thread_timeout: The mysqlx_idle_worker_thread_timeout of this ConfigurationVariables.
- :type: int
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_explain_format
+
+
+ :param explain_format: The explain_format of this ConfigurationVariables.
+ :type: str
"""
- self._mysqlx_idle_worker_thread_timeout = mysqlx_idle_worker_thread_timeout
+ allowed_values = ["TRADITIONAL", "JSON", "TREE"]
+ if not value_allowed_none_or_none_sentinel(explain_format, allowed_values):
+ explain_format = 'UNKNOWN_ENUM_VALUE'
+ self._explain_format = explain_format
@property
- def mysqlx_interactive_timeout(self):
+ def explicit_defaults_for_timestamp(self):
"""
- Gets the mysqlx_interactive_timeout of this ConfigurationVariables.
- The number of seconds to wait for interactive clients to timeout.
+ Gets the explicit_defaults_for_timestamp of this ConfigurationVariables.
+ This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.
+ By default, explicit_defaults_for_timestamp is enabled, which disables the nonstandard behaviors. Disabling explicit_defaults_for_timestamp results in a warning.
- mysqlxInteractiveTimeout corresponds to the MySQL X Plugin system variable.
- `mysqlx_interactive_timeout`__
+ explicit_defaults_for_timestamp corresponds to the MySQL Server Administration system variable
+ `explicit_defaults_for_timestamp`__
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_interactive_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp
- :return: The mysqlx_interactive_timeout of this ConfigurationVariables.
- :rtype: int
+ :return: The explicit_defaults_for_timestamp of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._mysqlx_interactive_timeout
+ return self._explicit_defaults_for_timestamp
- @mysqlx_interactive_timeout.setter
- def mysqlx_interactive_timeout(self, mysqlx_interactive_timeout):
+ @explicit_defaults_for_timestamp.setter
+ def explicit_defaults_for_timestamp(self, explicit_defaults_for_timestamp):
"""
- Sets the mysqlx_interactive_timeout of this ConfigurationVariables.
- The number of seconds to wait for interactive clients to timeout.
+ Sets the explicit_defaults_for_timestamp of this ConfigurationVariables.
+ This system variable determines whether the server enables certain nonstandard behaviors for default values and NULL-value handling in TIMESTAMP columns.
+ By default, explicit_defaults_for_timestamp is enabled, which disables the nonstandard behaviors. Disabling explicit_defaults_for_timestamp results in a warning.
- mysqlxInteractiveTimeout corresponds to the MySQL X Plugin system variable.
- `mysqlx_interactive_timeout`__
+ explicit_defaults_for_timestamp corresponds to the MySQL Server Administration system variable
+ `explicit_defaults_for_timestamp`__
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_interactive_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp
- :param mysqlx_interactive_timeout: The mysqlx_interactive_timeout of this ConfigurationVariables.
- :type: int
+ :param explicit_defaults_for_timestamp: The explicit_defaults_for_timestamp of this ConfigurationVariables.
+ :type: bool
"""
- self._mysqlx_interactive_timeout = mysqlx_interactive_timeout
+ self._explicit_defaults_for_timestamp = explicit_defaults_for_timestamp
@property
- def mysqlx_max_allowed_packet(self):
+ def sql_generate_invisible_primary_key(self):
"""
- Gets the mysqlx_max_allowed_packet of this ConfigurationVariables.
- The maximum size of network packets that can be received by X Plugin.
+ Gets the sql_generate_invisible_primary_key of this ConfigurationVariables.
+ Whether GIPK mode is in effect, in which case a MySQL replication source server adds a generated invisible primary key to any InnoDB table that is created without one.
- This is the mysql variable \"mysqlx_max_allowed_packet\".
+ sqlGenerateInvisiblePrimaryKey corresponds to the MySQL system variable
+ `sql_generate_invisible_primary_key]`__.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_generate_invisible_primary_key
- :return: The mysqlx_max_allowed_packet of this ConfigurationVariables.
- :rtype: int
+
+ :return: The sql_generate_invisible_primary_key of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._mysqlx_max_allowed_packet
+ return self._sql_generate_invisible_primary_key
- @mysqlx_max_allowed_packet.setter
- def mysqlx_max_allowed_packet(self, mysqlx_max_allowed_packet):
+ @sql_generate_invisible_primary_key.setter
+ def sql_generate_invisible_primary_key(self, sql_generate_invisible_primary_key):
"""
- Sets the mysqlx_max_allowed_packet of this ConfigurationVariables.
- The maximum size of network packets that can be received by X Plugin.
+ Sets the sql_generate_invisible_primary_key of this ConfigurationVariables.
+ Whether GIPK mode is in effect, in which case a MySQL replication source server adds a generated invisible primary key to any InnoDB table that is created without one.
- This is the mysql variable \"mysqlx_max_allowed_packet\".
+ sqlGenerateInvisiblePrimaryKey corresponds to the MySQL system variable
+ `sql_generate_invisible_primary_key]`__.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_sql_generate_invisible_primary_key
- :param mysqlx_max_allowed_packet: The mysqlx_max_allowed_packet of this ConfigurationVariables.
- :type: int
+
+ :param sql_generate_invisible_primary_key: The sql_generate_invisible_primary_key of this ConfigurationVariables.
+ :type: bool
"""
- self._mysqlx_max_allowed_packet = mysqlx_max_allowed_packet
+ self._sql_generate_invisible_primary_key = sql_generate_invisible_primary_key
@property
- def mysqlx_min_worker_threads(self):
+ def temptable_max_ram(self):
"""
- Gets the mysqlx_min_worker_threads of this ConfigurationVariables.
- (\"mysqlx_min_worker_threads\") DEPRECATED -- variable should not be settable and will be ignored
+ Gets the temptable_max_ram of this ConfigurationVariables.
+ Defines the maximum amount of memory that can be occupied by the TempTable storage engine before it starts storing data on disk.
+ The default value is 1073741824 bytes (1GiB). For more information, see Section 10.4.4, \u201CInternal Temporary Table Use in MySQL\u201D.
+ temptableMaxRam corresponds to the MySQL system variable
+ `temptable_max_ram]`__.
- :return: The mysqlx_min_worker_threads of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_temptable_max_ram
+
+
+ :return: The temptable_max_ram of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_min_worker_threads
+ return self._temptable_max_ram
- @mysqlx_min_worker_threads.setter
- def mysqlx_min_worker_threads(self, mysqlx_min_worker_threads):
+ @temptable_max_ram.setter
+ def temptable_max_ram(self, temptable_max_ram):
"""
- Sets the mysqlx_min_worker_threads of this ConfigurationVariables.
- (\"mysqlx_min_worker_threads\") DEPRECATED -- variable should not be settable and will be ignored
+ Sets the temptable_max_ram of this ConfigurationVariables.
+ Defines the maximum amount of memory that can be occupied by the TempTable storage engine before it starts storing data on disk.
+ The default value is 1073741824 bytes (1GiB). For more information, see Section 10.4.4, \u201CInternal Temporary Table Use in MySQL\u201D.
+ temptableMaxRam corresponds to the MySQL system variable
+ `temptable_max_ram]`__.
- :param mysqlx_min_worker_threads: The mysqlx_min_worker_threads of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_temptable_max_ram
+
+
+ :param temptable_max_ram: The temptable_max_ram of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_min_worker_threads = mysqlx_min_worker_threads
+ self._temptable_max_ram = temptable_max_ram
@property
- def mysqlx_read_timeout(self):
+ def innodb_change_buffering(self):
"""
- Gets the mysqlx_read_timeout of this ConfigurationVariables.
- The number of seconds that X Plugin waits for blocking read operations to complete. After this time, if the
- read operation is not successful, X Plugin closes the connection and returns a warning notice with the error
- code ER_IO_READ_ERROR to the client application.
+ Gets the innodb_change_buffering of this ConfigurationVariables.
+ Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.
+ Permitted values are described in the following table. Values may also be specified numerically.
- mysqlxReadTimeout corresponds to the MySQL X Plugin system variable
- `mysqlx_read_timeout`__
+ innodbChangeBuffering corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_change_buffering]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_read_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_change_buffering
+ Allowed values for this property are: "NONE", "INSERTS", "DELETES", "CHANGES", "PURGES", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
- :return: The mysqlx_read_timeout of this ConfigurationVariables.
- :rtype: int
+
+ :return: The innodb_change_buffering of this ConfigurationVariables.
+ :rtype: str
"""
- return self._mysqlx_read_timeout
+ return self._innodb_change_buffering
- @mysqlx_read_timeout.setter
- def mysqlx_read_timeout(self, mysqlx_read_timeout):
+ @innodb_change_buffering.setter
+ def innodb_change_buffering(self, innodb_change_buffering):
"""
- Sets the mysqlx_read_timeout of this ConfigurationVariables.
- The number of seconds that X Plugin waits for blocking read operations to complete. After this time, if the
- read operation is not successful, X Plugin closes the connection and returns a warning notice with the error
- code ER_IO_READ_ERROR to the client application.
+ Sets the innodb_change_buffering of this ConfigurationVariables.
+ Whether InnoDB performs change buffering, an optimization that delays write operations to secondary indexes so that the I/O operations can be performed sequentially.
+ Permitted values are described in the following table. Values may also be specified numerically.
- mysqlxReadTimeout corresponds to the MySQL X Plugin system variable
- `mysqlx_read_timeout`__
+ innodbChangeBuffering corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_change_buffering]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_read_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_change_buffering
- :param mysqlx_read_timeout: The mysqlx_read_timeout of this ConfigurationVariables.
- :type: int
+ :param innodb_change_buffering: The innodb_change_buffering of this ConfigurationVariables.
+ :type: str
"""
- self._mysqlx_read_timeout = mysqlx_read_timeout
+ allowed_values = ["NONE", "INSERTS", "DELETES", "CHANGES", "PURGES", "ALL"]
+ if not value_allowed_none_or_none_sentinel(innodb_change_buffering, allowed_values):
+ innodb_change_buffering = 'UNKNOWN_ENUM_VALUE'
+ self._innodb_change_buffering = innodb_change_buffering
@property
- def mysqlx_wait_timeout(self):
+ def innodb_adaptive_hash_index(self):
"""
- Gets the mysqlx_wait_timeout of this ConfigurationVariables.
- The number of seconds that X Plugin waits for activity on a connection.
+ Gets the innodb_adaptive_hash_index of this ConfigurationVariables.
+ Whether the InnoDB adaptive hash index is enabled or disabled.
+ It may be desirable, depending on your workload, to dynamically enable or disable adaptive hash indexing to improve query performance.
+ Because the adaptive hash index may not be useful for all workloads, conduct benchmarks with it both enabled and disabled, using realistic workloads.
- mysqlxWaitTimeout corresponds to the MySQL X Plugin system variable.
- `mysqlx_wait_timeout`__
+ innodbAdaptiveHashIndex corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_adaptive_hash_index]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_wait_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_adaptive_hash_index
- :return: The mysqlx_wait_timeout of this ConfigurationVariables.
- :rtype: int
+ :return: The innodb_adaptive_hash_index of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._mysqlx_wait_timeout
+ return self._innodb_adaptive_hash_index
- @mysqlx_wait_timeout.setter
- def mysqlx_wait_timeout(self, mysqlx_wait_timeout):
+ @innodb_adaptive_hash_index.setter
+ def innodb_adaptive_hash_index(self, innodb_adaptive_hash_index):
"""
- Sets the mysqlx_wait_timeout of this ConfigurationVariables.
- The number of seconds that X Plugin waits for activity on a connection.
+ Sets the innodb_adaptive_hash_index of this ConfigurationVariables.
+ Whether the InnoDB adaptive hash index is enabled or disabled.
+ It may be desirable, depending on your workload, to dynamically enable or disable adaptive hash indexing to improve query performance.
+ Because the adaptive hash index may not be useful for all workloads, conduct benchmarks with it both enabled and disabled, using realistic workloads.
- mysqlxWaitTimeout corresponds to the MySQL X Plugin system variable.
- `mysqlx_wait_timeout`__
+ innodbAdaptiveHashIndex corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_adaptive_hash_index]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_wait_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_adaptive_hash_index
- :param mysqlx_wait_timeout: The mysqlx_wait_timeout of this ConfigurationVariables.
- :type: int
+ :param innodb_adaptive_hash_index: The innodb_adaptive_hash_index of this ConfigurationVariables.
+ :type: bool
"""
- self._mysqlx_wait_timeout = mysqlx_wait_timeout
+ self._innodb_adaptive_hash_index = innodb_adaptive_hash_index
@property
- def mysqlx_write_timeout(self):
+ def innodb_undo_log_truncate(self):
"""
- Gets the mysqlx_write_timeout of this ConfigurationVariables.
- The number of seconds that X Plugin waits for blocking write operations to complete. After this time, if the
- write operation is not successful, X Plugin closes the connection.
+ Gets the innodb_undo_log_truncate of this ConfigurationVariables.
+ When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation.
+ Only undo tablespaces can be truncated. Truncating undo logs that reside in the system tablespace is not supported.
+ For truncation to occur, there must be at least two undo tablespaces.
- mysqlxReadmysqlxWriteTimeoutTimeout corresponds to the MySQL X Plugin system variable
- `mysqlx_write_timeout`__
+ innodbUndoLogTruncate corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_undo_log_truncate]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_write_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_undo_log_truncate
- :return: The mysqlx_write_timeout of this ConfigurationVariables.
- :rtype: int
+ :return: The innodb_undo_log_truncate of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._mysqlx_write_timeout
+ return self._innodb_undo_log_truncate
- @mysqlx_write_timeout.setter
- def mysqlx_write_timeout(self, mysqlx_write_timeout):
+ @innodb_undo_log_truncate.setter
+ def innodb_undo_log_truncate(self, innodb_undo_log_truncate):
"""
- Sets the mysqlx_write_timeout of this ConfigurationVariables.
- The number of seconds that X Plugin waits for blocking write operations to complete. After this time, if the
- write operation is not successful, X Plugin closes the connection.
+ Sets the innodb_undo_log_truncate of this ConfigurationVariables.
+ When enabled, undo tablespaces that exceed the threshold value defined by innodb_max_undo_log_size are marked for truncation.
+ Only undo tablespaces can be truncated. Truncating undo logs that reside in the system tablespace is not supported.
+ For truncation to occur, there must be at least two undo tablespaces.
- mysqlxReadmysqlxWriteTimeoutTimeout corresponds to the MySQL X Plugin system variable
- `mysqlx_write_timeout`__
+ innodbUndoLogTruncate corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_undo_log_truncate]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_write_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_undo_log_truncate
- :param mysqlx_write_timeout: The mysqlx_write_timeout of this ConfigurationVariables.
- :type: int
+ :param innodb_undo_log_truncate: The innodb_undo_log_truncate of this ConfigurationVariables.
+ :type: bool
"""
- self._mysqlx_write_timeout = mysqlx_write_timeout
+ self._innodb_undo_log_truncate = innodb_undo_log_truncate
@property
- def net_read_timeout(self):
+ def table_definition_cache(self):
"""
- Gets the net_read_timeout of this ConfigurationVariables.
- The number of seconds to wait for more data from a connection before aborting the read.
+ Gets the table_definition_cache of this ConfigurationVariables.
+ The number of table definitions that can be stored in the table definition cache.
+ If you use a large number of tables, you can create a large table definition cache to speed up opening of tables.
+ The table definition cache takes less space and does not use file descriptors, unlike the normal table cache.
- netReadTimeout corresponds to the MySQL system variable
- `net_read_timeout`__
+ table_definition_cache corresponds to the MySQL Server Administration system variable
+ `table_definition_cache`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_read_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_definition_cache
- :return: The net_read_timeout of this ConfigurationVariables.
+ :return: The table_definition_cache of this ConfigurationVariables.
:rtype: int
"""
- return self._net_read_timeout
+ return self._table_definition_cache
- @net_read_timeout.setter
- def net_read_timeout(self, net_read_timeout):
+ @table_definition_cache.setter
+ def table_definition_cache(self, table_definition_cache):
"""
- Sets the net_read_timeout of this ConfigurationVariables.
- The number of seconds to wait for more data from a connection before aborting the read.
+ Sets the table_definition_cache of this ConfigurationVariables.
+ The number of table definitions that can be stored in the table definition cache.
+ If you use a large number of tables, you can create a large table definition cache to speed up opening of tables.
+ The table definition cache takes less space and does not use file descriptors, unlike the normal table cache.
- netReadTimeout corresponds to the MySQL system variable
- `net_read_timeout`__
+ table_definition_cache corresponds to the MySQL Server Administration system variable
+ `table_definition_cache`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_read_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_definition_cache
- :param net_read_timeout: The net_read_timeout of this ConfigurationVariables.
+ :param table_definition_cache: The table_definition_cache of this ConfigurationVariables.
:type: int
"""
- self._net_read_timeout = net_read_timeout
+ self._table_definition_cache = table_definition_cache
@property
- def net_write_timeout(self):
+ def table_open_cache(self):
"""
- Gets the net_write_timeout of this ConfigurationVariables.
- The number of seconds to wait for a block to be written to a connection before aborting the write.
+ Gets the table_open_cache of this ConfigurationVariables.
+ The number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires.
- netWriteTimeout corresponds to the MySQL system variable
- `net_write_timeout`__
+ table_open_cache corresponds to the MySQL Server Administration system variable
+ `table_open_cache`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_write_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_open_cache
- :return: The net_write_timeout of this ConfigurationVariables.
+ :return: The table_open_cache of this ConfigurationVariables.
:rtype: int
"""
- return self._net_write_timeout
+ return self._table_open_cache
- @net_write_timeout.setter
- def net_write_timeout(self, net_write_timeout):
+ @table_open_cache.setter
+ def table_open_cache(self, table_open_cache):
"""
- Sets the net_write_timeout of this ConfigurationVariables.
- The number of seconds to wait for a block to be written to a connection before aborting the write.
+ Sets the table_open_cache of this ConfigurationVariables.
+ The number of open tables for all threads. Increasing this value increases the number of file descriptors that mysqld requires.
- netWriteTimeout corresponds to the MySQL system variable
- `net_write_timeout`__
+ table_open_cache corresponds to the MySQL Server Administration system variable
+ `table_open_cache`__
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_net_write_timeout
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_table_open_cache
- :param net_write_timeout: The net_write_timeout of this ConfigurationVariables.
+ :param table_open_cache: The table_open_cache of this ConfigurationVariables.
:type: int
"""
- self._net_write_timeout = net_write_timeout
+ self._table_open_cache = table_open_cache
@property
- def parser_max_mem_size(self):
+ def relay_log_space_limit(self):
"""
- Gets the parser_max_mem_size of this ConfigurationVariables.
- (\"parser_max_mem_size\")
+ Gets the relay_log_space_limit of this ConfigurationVariables.
+ The maximum amount of space to use for all relay logs.
+ relayLogSpaceLimit corresponds to the MySQL Replica Server Options variable
+ `relay_log_space_limit]`__.
- :return: The parser_max_mem_size of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_relay_log_space_limit
+
+
+ :return: The relay_log_space_limit of this ConfigurationVariables.
:rtype: int
"""
- return self._parser_max_mem_size
+ return self._relay_log_space_limit
- @parser_max_mem_size.setter
- def parser_max_mem_size(self, parser_max_mem_size):
+ @relay_log_space_limit.setter
+ def relay_log_space_limit(self, relay_log_space_limit):
"""
- Sets the parser_max_mem_size of this ConfigurationVariables.
- (\"parser_max_mem_size\")
+ Sets the relay_log_space_limit of this ConfigurationVariables.
+ The maximum amount of space to use for all relay logs.
+ relayLogSpaceLimit corresponds to the MySQL Replica Server Options variable
+ `relay_log_space_limit]`__.
- :param parser_max_mem_size: The parser_max_mem_size of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_relay_log_space_limit
+
+
+ :param relay_log_space_limit: The relay_log_space_limit of this ConfigurationVariables.
:type: int
"""
- self._parser_max_mem_size = parser_max_mem_size
+ self._relay_log_space_limit = relay_log_space_limit
@property
- def query_alloc_block_size(self):
+ def optimizer_switch(self):
"""
- Gets the query_alloc_block_size of this ConfigurationVariables.
- (\"query_alloc_block_size\") DEPRECATED -- variable should not be settable and will be ignored
+ Gets the optimizer_switch of this ConfigurationVariables.
+ The optimizer_switch system variable enables control over optimizer behavior.
+ The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.
+ This variable has global and session values and can be changed at runtime. The global default can be set at server startup.
+ Setting hypergraph_optimizer=on for cloud builds below 9.0.0 will fail.
- :return: The query_alloc_block_size of this ConfigurationVariables.
- :rtype: int
+ optimizerSwitch corresponds to the MySQL Server System variable
+ `optimizer_switch]`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_optimizer_switch
+
+
+ :return: The optimizer_switch of this ConfigurationVariables.
+ :rtype: str
"""
- return self._query_alloc_block_size
+ return self._optimizer_switch
- @query_alloc_block_size.setter
- def query_alloc_block_size(self, query_alloc_block_size):
+ @optimizer_switch.setter
+ def optimizer_switch(self, optimizer_switch):
"""
- Sets the query_alloc_block_size of this ConfigurationVariables.
- (\"query_alloc_block_size\") DEPRECATED -- variable should not be settable and will be ignored
+ Sets the optimizer_switch of this ConfigurationVariables.
+ The optimizer_switch system variable enables control over optimizer behavior.
+ The value of this variable is a set of flags, each of which has a value of on or off to indicate whether the corresponding optimizer behavior is enabled or disabled.
+ This variable has global and session values and can be changed at runtime. The global default can be set at server startup.
+ Setting hypergraph_optimizer=on for cloud builds below 9.0.0 will fail.
- :param query_alloc_block_size: The query_alloc_block_size of this ConfigurationVariables.
- :type: int
+ optimizerSwitch corresponds to the MySQL Server System variable
+ `optimizer_switch]`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_optimizer_switch
+
+
+ :param optimizer_switch: The optimizer_switch of this ConfigurationVariables.
+ :type: str
"""
- self._query_alloc_block_size = query_alloc_block_size
+ self._optimizer_switch = optimizer_switch
@property
- def query_prealloc_size(self):
+ def replica_type_conversions(self):
"""
- Gets the query_prealloc_size of this ConfigurationVariables.
- (\"query_prealloc_size\") DEPRECATED -- variable should not be settable and will be ignored
+ Gets the replica_type_conversions of this ConfigurationVariables.
+ From MySQL 8.0.26, use replica_type_conversions in place of slave_type_conversions, which is deprecated from that release.
+ In releases before MySQL 8.0.26, use slave_type_conversions.
+ replica_type_conversions controls the type conversion mode in effect on the replica when using row-based replication.
+ Its value is a comma-delimited set of zero or more elements from the list: ALL_LOSSY, ALL_NON_LOSSY, ALL_SIGNED, ALL_UNSIGNED.
+ Set this variable to an empty string to disallow type conversions between the source and the replica.
+ Setting this variable takes effect for all replication channels immediately, including running channels.
- :return: The query_prealloc_size of this ConfigurationVariables.
- :rtype: int
+ replica_type_conversions corresponds to the MySQL Replica Server Options variable
+ `replica_type_conversions]`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_type_conversions
+
+
+ :return: The replica_type_conversions of this ConfigurationVariables.
+ :rtype: str
"""
- return self._query_prealloc_size
+ return self._replica_type_conversions
- @query_prealloc_size.setter
- def query_prealloc_size(self, query_prealloc_size):
+ @replica_type_conversions.setter
+ def replica_type_conversions(self, replica_type_conversions):
"""
- Sets the query_prealloc_size of this ConfigurationVariables.
- (\"query_prealloc_size\") DEPRECATED -- variable should not be settable and will be ignored
+ Sets the replica_type_conversions of this ConfigurationVariables.
+ From MySQL 8.0.26, use replica_type_conversions in place of slave_type_conversions, which is deprecated from that release.
+ In releases before MySQL 8.0.26, use slave_type_conversions.
+ replica_type_conversions controls the type conversion mode in effect on the replica when using row-based replication.
+ Its value is a comma-delimited set of zero or more elements from the list: ALL_LOSSY, ALL_NON_LOSSY, ALL_SIGNED, ALL_UNSIGNED.
+ Set this variable to an empty string to disallow type conversions between the source and the replica.
+ Setting this variable takes effect for all replication channels immediately, including running channels.
- :param query_prealloc_size: The query_prealloc_size of this ConfigurationVariables.
- :type: int
+ replica_type_conversions corresponds to the MySQL Replica Server Options variable
+ `replica_type_conversions]`__.
+
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_type_conversions
+
+
+ :param replica_type_conversions: The replica_type_conversions of this ConfigurationVariables.
+ :type: str
"""
- self._query_prealloc_size = query_prealloc_size
+ self._replica_type_conversions = replica_type_conversions
@property
- def regexp_time_limit(self):
+ def replica_parallel_workers(self):
"""
- Gets the regexp_time_limit of this ConfigurationVariables.
- regexpTimeLimit corresponds to the MySQL system variable `regexp_time_limit]`__
+ Gets the replica_parallel_workers of this ConfigurationVariables.
+ Beginning with MySQL 8.0.26, slave_parallel_workers is deprecated, and you should use replica_parallel_workers instead.
+ (Prior to MySQL 8.0.26, you must use slave_parallel_workers to set the number of applier threads.)
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_limit
+ replicaParallelWorkers corresponds to the MySQL Replica Server Options variable
+ `replica_parallel_workers]`__.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_parallel_workers
- :return: The regexp_time_limit of this ConfigurationVariables.
+
+ :return: The replica_parallel_workers of this ConfigurationVariables.
:rtype: int
"""
- return self._regexp_time_limit
+ return self._replica_parallel_workers
- @regexp_time_limit.setter
- def regexp_time_limit(self, regexp_time_limit):
+ @replica_parallel_workers.setter
+ def replica_parallel_workers(self, replica_parallel_workers):
"""
- Sets the regexp_time_limit of this ConfigurationVariables.
- regexpTimeLimit corresponds to the MySQL system variable `regexp_time_limit]`__
+ Sets the replica_parallel_workers of this ConfigurationVariables.
+ Beginning with MySQL 8.0.26, slave_parallel_workers is deprecated, and you should use replica_parallel_workers instead.
+ (Prior to MySQL 8.0.26, you must use slave_parallel_workers to set the number of applier threads.)
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_regexp_time_limit
+ replicaParallelWorkers corresponds to the MySQL Replica Server Options variable
+ `replica_parallel_workers]`__.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-replica.html#sysvar_replica_parallel_workers
- :param regexp_time_limit: The regexp_time_limit of this ConfigurationVariables.
+
+ :param replica_parallel_workers: The replica_parallel_workers of this ConfigurationVariables.
:type: int
"""
- self._regexp_time_limit = regexp_time_limit
+ self._replica_parallel_workers = replica_parallel_workers
@property
- def sql_mode(self):
+ def skip_name_resolve(self):
"""
- Gets the sql_mode of this ConfigurationVariables.
- (\"sql_mode\")
+ Gets the skip_name_resolve of this ConfigurationVariables.
+ Whether to resolve host names when checking client connections. If this variable is OFF, mysqld resolves host names when checking client connections.
+ If it is ON, mysqld uses only IP numbers; in this case, all Host column values in the grant tables must be IP addresses.
+ See Section 7.1.12.3, \u201CDNS Lookups and the Host Cache\u201D.
+ skipNameResolve corresponds to the MySQL Server System variable
+ `skip_name_resolve]`__.
- :return: The sql_mode of this ConfigurationVariables.
- :rtype: str
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_skip_name_resolve
+
+
+ :return: The skip_name_resolve of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._sql_mode
+ return self._skip_name_resolve
- @sql_mode.setter
- def sql_mode(self, sql_mode):
+ @skip_name_resolve.setter
+ def skip_name_resolve(self, skip_name_resolve):
"""
- Sets the sql_mode of this ConfigurationVariables.
- (\"sql_mode\")
+ Sets the skip_name_resolve of this ConfigurationVariables.
+ Whether to resolve host names when checking client connections. If this variable is OFF, mysqld resolves host names when checking client connections.
+ If it is ON, mysqld uses only IP numbers; in this case, all Host column values in the grant tables must be IP addresses.
+ See Section 7.1.12.3, \u201CDNS Lookups and the Host Cache\u201D.
+ skipNameResolve corresponds to the MySQL Server System variable
+ `skip_name_resolve]`__.
- :param sql_mode: The sql_mode of this ConfigurationVariables.
- :type: str
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_skip_name_resolve
+
+
+ :param skip_name_resolve: The skip_name_resolve of this ConfigurationVariables.
+ :type: bool
"""
- self._sql_mode = sql_mode
+ self._skip_name_resolve = skip_name_resolve
@property
- def tmp_table_size(self):
+ def max_user_connections(self):
"""
- Gets the tmp_table_size of this ConfigurationVariables.
- The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.
+ Gets the max_user_connections of this ConfigurationVariables.
+ The maximum number of simultaneous connections permitted to any given MySQL user account.
+ A value of 0 (the default) means \u201Cno limit.\u201D This variable has a global value that can be set at server startup or runtime.
+ It also has a read-only session value that indicates the effective simultaneous-connection limit that applies to the account associated with the current session.
- tmp_table_size corresponds to the MySQL system variable
- `tmp_table_size`__
+ maxUserConnections corresponds to the MySQL Server System variable
+ `max_user_connections]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_tmp_table_size
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_user_connections
- :return: The tmp_table_size of this ConfigurationVariables.
+ :return: The max_user_connections of this ConfigurationVariables.
:rtype: int
"""
- return self._tmp_table_size
+ return self._max_user_connections
- @tmp_table_size.setter
- def tmp_table_size(self, tmp_table_size):
+ @max_user_connections.setter
+ def max_user_connections(self, max_user_connections):
"""
- Sets the tmp_table_size of this ConfigurationVariables.
- The maximum size of internal in-memory temporary tables. This variable does not apply to user-created MEMORY tables.
+ Sets the max_user_connections of this ConfigurationVariables.
+ The maximum number of simultaneous connections permitted to any given MySQL user account.
+ A value of 0 (the default) means \u201Cno limit.\u201D This variable has a global value that can be set at server startup or runtime.
+ It also has a read-only session value that indicates the effective simultaneous-connection limit that applies to the account associated with the current session.
- tmp_table_size corresponds to the MySQL system variable
- `tmp_table_size`__
+ maxUserConnections corresponds to the MySQL Server System variable
+ `max_user_connections]`__.
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_tmp_table_size
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_user_connections
- :param tmp_table_size: The tmp_table_size of this ConfigurationVariables.
+ :param max_user_connections: The max_user_connections of this ConfigurationVariables.
:type: int
"""
- self._tmp_table_size = tmp_table_size
+ self._max_user_connections = max_user_connections
@property
- def mysqlx_deflate_default_compression_level(self):
+ def join_buffer_size(self):
"""
- Gets the mysqlx_deflate_default_compression_level of this ConfigurationVariables.
- Set the default compression level for the deflate algorithm. (\"mysqlx_deflate_default_compression_level\")
+ Gets the join_buffer_size of this ConfigurationVariables.
+ The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.
+ In MySQL 8.0.18 and later, this variable also controls the amount of memory used for hash joins. Normally, the best way to get fast joins is to add indexes.
+ Increase the value of join_buffer_size to get a faster full join when adding indexes is not possible. One join buffer is allocated for each full join between two tables.
+ For a complex join between several tables for which indexes are not used, multiple join buffers might be necessary.
+ joinBufferSize corresponds to the MySQL Server System variable
+ `join_buffer_size]`__.
- :return: The mysqlx_deflate_default_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_join_buffer_size
+
+
+ :return: The join_buffer_size of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_deflate_default_compression_level
+ return self._join_buffer_size
- @mysqlx_deflate_default_compression_level.setter
- def mysqlx_deflate_default_compression_level(self, mysqlx_deflate_default_compression_level):
+ @join_buffer_size.setter
+ def join_buffer_size(self, join_buffer_size):
"""
- Sets the mysqlx_deflate_default_compression_level of this ConfigurationVariables.
- Set the default compression level for the deflate algorithm. (\"mysqlx_deflate_default_compression_level\")
+ Sets the join_buffer_size of this ConfigurationVariables.
+ The minimum size of the buffer that is used for plain index scans, range index scans, and joins that do not use indexes and thus perform full table scans.
+ In MySQL 8.0.18 and later, this variable also controls the amount of memory used for hash joins. Normally, the best way to get fast joins is to add indexes.
+ Increase the value of join_buffer_size to get a faster full join when adding indexes is not possible. One join buffer is allocated for each full join between two tables.
+ For a complex join between several tables for which indexes are not used, multiple join buffers might be necessary.
+ joinBufferSize corresponds to the MySQL Server System variable
+ `join_buffer_size]`__.
- :param mysqlx_deflate_default_compression_level: The mysqlx_deflate_default_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_join_buffer_size
+
+
+ :param join_buffer_size: The join_buffer_size of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_deflate_default_compression_level = mysqlx_deflate_default_compression_level
+ self._join_buffer_size = join_buffer_size
@property
- def mysqlx_deflate_max_client_compression_level(self):
+ def max_seeks_for_key(self):
"""
- Gets the mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
- Limit the upper bound of accepted compression levels for the deflate algorithm. (\"mysqlx_deflate_max_client_compression_level\")
+ Gets the max_seeks_for_key of this ConfigurationVariables.
+ Limit the assumed maximum number of seeks when looking up rows based on a key.
+ The MySQL optimizer assumes that no more than this number of key seeks are required when searching for matching rows in a table by scanning an index,
+ regardless of the actual cardinality of the index (see Section 15.7.7.22, \u201CSHOW INDEX Statement\u201D).
+ By setting this to a low value (say, 100), you can force MySQL to prefer indexes instead of table scans.
+ maxSeeksForKey corresponds to the MySQL Server System variable
+ `max_seeks_for_key]`__.
- :return: The mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_seeks_for_key
+
+
+ :return: The max_seeks_for_key of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_deflate_max_client_compression_level
+ return self._max_seeks_for_key
- @mysqlx_deflate_max_client_compression_level.setter
- def mysqlx_deflate_max_client_compression_level(self, mysqlx_deflate_max_client_compression_level):
+ @max_seeks_for_key.setter
+ def max_seeks_for_key(self, max_seeks_for_key):
"""
- Sets the mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
- Limit the upper bound of accepted compression levels for the deflate algorithm. (\"mysqlx_deflate_max_client_compression_level\")
+ Sets the max_seeks_for_key of this ConfigurationVariables.
+ Limit the assumed maximum number of seeks when looking up rows based on a key.
+ The MySQL optimizer assumes that no more than this number of key seeks are required when searching for matching rows in a table by scanning an index,
+ regardless of the actual cardinality of the index (see Section 15.7.7.22, \u201CSHOW INDEX Statement\u201D).
+ By setting this to a low value (say, 100), you can force MySQL to prefer indexes instead of table scans.
+ maxSeeksForKey corresponds to the MySQL Server System variable
+ `max_seeks_for_key]`__.
- :param mysqlx_deflate_max_client_compression_level: The mysqlx_deflate_max_client_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_seeks_for_key
+
+
+ :param max_seeks_for_key: The max_seeks_for_key of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_deflate_max_client_compression_level = mysqlx_deflate_max_client_compression_level
+ self._max_seeks_for_key = max_seeks_for_key
@property
- def mysqlx_lz4_max_client_compression_level(self):
+ def range_optimizer_max_mem_size(self):
"""
- Gets the mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
- Limit the upper bound of accepted compression levels for the lz4 algorithm. (\"mysqlx_lz4_max_client_compression_level\")
+ Gets the range_optimizer_max_mem_size of this ConfigurationVariables.
+ The limit on memory consumption for the range optimizer. A value of 0 means \u201Cno limit.\u201D
+ If an execution plan considered by the optimizer uses the range access method but the optimizer estimates that the amount of memory needed for this method would exceed the limit,
+ it abandons the plan and considers other plans.
+ rangeOptimizerMaxMemSize corresponds to the MySQL Server System variable
+ `range_optimizer_max_mem_size]`__.
- :return: The mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_range_optimizer_max_mem_size
+
+
+ :return: The range_optimizer_max_mem_size of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_lz4_max_client_compression_level
+ return self._range_optimizer_max_mem_size
- @mysqlx_lz4_max_client_compression_level.setter
- def mysqlx_lz4_max_client_compression_level(self, mysqlx_lz4_max_client_compression_level):
+ @range_optimizer_max_mem_size.setter
+ def range_optimizer_max_mem_size(self, range_optimizer_max_mem_size):
"""
- Sets the mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
- Limit the upper bound of accepted compression levels for the lz4 algorithm. (\"mysqlx_lz4_max_client_compression_level\")
+ Sets the range_optimizer_max_mem_size of this ConfigurationVariables.
+ The limit on memory consumption for the range optimizer. A value of 0 means \u201Cno limit.\u201D
+ If an execution plan considered by the optimizer uses the range access method but the optimizer estimates that the amount of memory needed for this method would exceed the limit,
+ it abandons the plan and considers other plans.
+ rangeOptimizerMaxMemSize corresponds to the MySQL Server System variable
+ `range_optimizer_max_mem_size]`__.
- :param mysqlx_lz4_max_client_compression_level: The mysqlx_lz4_max_client_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_range_optimizer_max_mem_size
+
+
+ :param range_optimizer_max_mem_size: The range_optimizer_max_mem_size of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_lz4_max_client_compression_level = mysqlx_lz4_max_client_compression_level
+ self._range_optimizer_max_mem_size = range_optimizer_max_mem_size
@property
- def mysqlx_lz4_default_compression_level(self):
+ def auto_increment_increment(self):
"""
- Gets the mysqlx_lz4_default_compression_level of this ConfigurationVariables.
- Set the default compression level for the lz4 algorithm. (\"mysqlx_lz4_default_compression_level\")
+ Gets the auto_increment_increment of this ConfigurationVariables.
+ auto_increment_increment and auto_increment_offset are intended for use with circular (source-to-source) replication,
+ and can be used to control the operation of AUTO_INCREMENT columns. Both variables have global and session values,
+ and each can assume an integer value between 1 and 65,535 inclusive.
+ autoIncrementIncrement corresponds to the MySQL Replication Source Options variable
+ `auto_increment_increment]`__.
- :return: The mysqlx_lz4_default_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-source.html#sysvar_auto_increment_increment
+
+
+ :return: The auto_increment_increment of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_lz4_default_compression_level
+ return self._auto_increment_increment
- @mysqlx_lz4_default_compression_level.setter
- def mysqlx_lz4_default_compression_level(self, mysqlx_lz4_default_compression_level):
+ @auto_increment_increment.setter
+ def auto_increment_increment(self, auto_increment_increment):
"""
- Sets the mysqlx_lz4_default_compression_level of this ConfigurationVariables.
- Set the default compression level for the lz4 algorithm. (\"mysqlx_lz4_default_compression_level\")
+ Sets the auto_increment_increment of this ConfigurationVariables.
+ auto_increment_increment and auto_increment_offset are intended for use with circular (source-to-source) replication,
+ and can be used to control the operation of AUTO_INCREMENT columns. Both variables have global and session values,
+ and each can assume an integer value between 1 and 65,535 inclusive.
+ autoIncrementIncrement corresponds to the MySQL Replication Source Options variable
+ `auto_increment_increment]`__.
- :param mysqlx_lz4_default_compression_level: The mysqlx_lz4_default_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-source.html#sysvar_auto_increment_increment
+
+
+ :param auto_increment_increment: The auto_increment_increment of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_lz4_default_compression_level = mysqlx_lz4_default_compression_level
+ self._auto_increment_increment = auto_increment_increment
@property
- def mysqlx_zstd_max_client_compression_level(self):
+ def auto_increment_offset(self):
"""
- Gets the mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
- Limit the upper bound of accepted compression levels for the zstd algorithm. (\"mysqlx_zstd_max_client_compression_level\")
+ Gets the auto_increment_offset of this ConfigurationVariables.
+ This variable has a default value of 1. If it is left with its default value,
+ and Group Replication is started on the server in multi-primary mode, it is changed to the server ID.
+ autoIncrementOffset corresponds to the MySQL Replication Source Options variable
+ `auto_increment_offset]`__.
- :return: The mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-source.html#sysvar_auto_increment_offset
+
+
+ :return: The auto_increment_offset of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_zstd_max_client_compression_level
+ return self._auto_increment_offset
- @mysqlx_zstd_max_client_compression_level.setter
- def mysqlx_zstd_max_client_compression_level(self, mysqlx_zstd_max_client_compression_level):
+ @auto_increment_offset.setter
+ def auto_increment_offset(self, auto_increment_offset):
"""
- Sets the mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
- Limit the upper bound of accepted compression levels for the zstd algorithm. (\"mysqlx_zstd_max_client_compression_level\")
+ Sets the auto_increment_offset of this ConfigurationVariables.
+ This variable has a default value of 1. If it is left with its default value,
+ and Group Replication is started on the server in multi-primary mode, it is changed to the server ID.
+ autoIncrementOffset corresponds to the MySQL Replication Source Options variable
+ `auto_increment_offset]`__.
- :param mysqlx_zstd_max_client_compression_level: The mysqlx_zstd_max_client_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/replication-options-source.html#sysvar_auto_increment_offset
+
+
+ :param auto_increment_offset: The auto_increment_offset of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_zstd_max_client_compression_level = mysqlx_zstd_max_client_compression_level
+ self._auto_increment_offset = auto_increment_offset
@property
- def mysqlx_zstd_default_compression_level(self):
+ def innodb_autoinc_lock_mode(self):
"""
- Gets the mysqlx_zstd_default_compression_level of this ConfigurationVariables.
- Set the default compression level for the zstd algorithm. (\"mysqlx_zstd_default_compression_level\")
+ Gets the innodb_autoinc_lock_mode of this ConfigurationVariables.
+ The lock mode to use for generating auto-increment values.
+ Permissible values are 0, 1, or 2, for traditional, consecutive, or interleaved, respectively.
+ innodbAutoincLockMode corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_autoinc_lock_mode]`__.
- :return: The mysqlx_zstd_default_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_autoinc_lock_mode
+
+
+ :return: The innodb_autoinc_lock_mode of this ConfigurationVariables.
:rtype: int
"""
- return self._mysqlx_zstd_default_compression_level
+ return self._innodb_autoinc_lock_mode
- @mysqlx_zstd_default_compression_level.setter
- def mysqlx_zstd_default_compression_level(self, mysqlx_zstd_default_compression_level):
+ @innodb_autoinc_lock_mode.setter
+ def innodb_autoinc_lock_mode(self, innodb_autoinc_lock_mode):
"""
- Sets the mysqlx_zstd_default_compression_level of this ConfigurationVariables.
- Set the default compression level for the zstd algorithm. (\"mysqlx_zstd_default_compression_level\")
+ Sets the innodb_autoinc_lock_mode of this ConfigurationVariables.
+ The lock mode to use for generating auto-increment values.
+ Permissible values are 0, 1, or 2, for traditional, consecutive, or interleaved, respectively.
+ innodbAutoincLockMode corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_autoinc_lock_mode]`__.
- :param mysqlx_zstd_default_compression_level: The mysqlx_zstd_default_compression_level of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_autoinc_lock_mode
+
+
+ :param innodb_autoinc_lock_mode: The innodb_autoinc_lock_mode of this ConfigurationVariables.
:type: int
"""
- self._mysqlx_zstd_default_compression_level = mysqlx_zstd_default_compression_level
+ self._innodb_autoinc_lock_mode = innodb_autoinc_lock_mode
@property
- def mysql_zstd_default_compression_level(self):
+ def innodb_rollback_on_timeout(self):
"""
- Gets the mysql_zstd_default_compression_level of this ConfigurationVariables.
- DEPRECATED -- typo of mysqlx_zstd_default_compression_level. variable will be ignored.
+ Gets the innodb_rollback_on_timeout of this ConfigurationVariables.
+ InnoDB rolls back only the last statement on a transaction timeout by default.
+ If --innodb-rollback-on-timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.
+ innodbRollbackOnTimeout corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_rollback_on_timeout]`__.
- :return: The mysql_zstd_default_compression_level of this ConfigurationVariables.
- :rtype: int
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_rollback_on_timeout
+
+
+ :return: The innodb_rollback_on_timeout of this ConfigurationVariables.
+ :rtype: bool
"""
- return self._mysql_zstd_default_compression_level
+ return self._innodb_rollback_on_timeout
- @mysql_zstd_default_compression_level.setter
- def mysql_zstd_default_compression_level(self, mysql_zstd_default_compression_level):
+ @innodb_rollback_on_timeout.setter
+ def innodb_rollback_on_timeout(self, innodb_rollback_on_timeout):
"""
- Sets the mysql_zstd_default_compression_level of this ConfigurationVariables.
- DEPRECATED -- typo of mysqlx_zstd_default_compression_level. variable will be ignored.
+ Sets the innodb_rollback_on_timeout of this ConfigurationVariables.
+ InnoDB rolls back only the last statement on a transaction timeout by default.
+ If --innodb-rollback-on-timeout is specified, a transaction timeout causes InnoDB to abort and roll back the entire transaction.
+ innodbRollbackOnTimeout corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_rollback_on_timeout]`__.
- :param mysql_zstd_default_compression_level: The mysql_zstd_default_compression_level of this ConfigurationVariables.
- :type: int
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_rollback_on_timeout
+
+
+ :param innodb_rollback_on_timeout: The innodb_rollback_on_timeout of this ConfigurationVariables.
+ :type: bool
"""
- self._mysql_zstd_default_compression_level = mysql_zstd_default_compression_level
+ self._innodb_rollback_on_timeout = innodb_rollback_on_timeout
@property
- def sort_buffer_size(self):
+ def innodb_online_alter_log_max_size(self):
"""
- Gets the sort_buffer_size of this ConfigurationVariables.
- Each session that must perform a sort allocates a buffer of this size.
+ Gets the innodb_online_alter_log_max_size of this ConfigurationVariables.
+ Specifies an upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
+ There is one such log file for each index being created or table being altered.
+ This log file stores data inserted, updated, or deleted in the table during the DDL operation.
- sortBufferSize corresponds to the MySQL system variable `sort_buffer_size`__
+ innodbOnlineAlterLogMaxSize corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_online_alter_log_max_size]`__.
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_sort_buffer_size
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_online_alter_log_max_size
- :return: The sort_buffer_size of this ConfigurationVariables.
+ :return: The innodb_online_alter_log_max_size of this ConfigurationVariables.
:rtype: int
"""
- return self._sort_buffer_size
+ return self._innodb_online_alter_log_max_size
- @sort_buffer_size.setter
- def sort_buffer_size(self, sort_buffer_size):
+ @innodb_online_alter_log_max_size.setter
+ def innodb_online_alter_log_max_size(self, innodb_online_alter_log_max_size):
"""
- Sets the sort_buffer_size of this ConfigurationVariables.
- Each session that must perform a sort allocates a buffer of this size.
+ Sets the innodb_online_alter_log_max_size of this ConfigurationVariables.
+ Specifies an upper limit in bytes on the size of the temporary log files used during online DDL operations for InnoDB tables.
+ There is one such log file for each index being created or table being altered.
+ This log file stores data inserted, updated, or deleted in the table during the DDL operation.
- sortBufferSize corresponds to the MySQL system variable `sort_buffer_size`__
+ innodbOnlineAlterLogMaxSize corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_online_alter_log_max_size]`__.
- __ https://dev.mysql.com/doc/refman/en/server-system-variables.html#sysvar_sort_buffer_size
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_online_alter_log_max_size
- :param sort_buffer_size: The sort_buffer_size of this ConfigurationVariables.
+ :param innodb_online_alter_log_max_size: The innodb_online_alter_log_max_size of this ConfigurationVariables.
:type: int
"""
- self._sort_buffer_size = sort_buffer_size
+ self._innodb_online_alter_log_max_size = innodb_online_alter_log_max_size
@property
- def wait_timeout(self):
+ def innodb_sort_buffer_size(self):
"""
- Gets the wait_timeout of this ConfigurationVariables.
- The number of seconds the server waits for activity on a noninteractive connection before closing it.
+ Gets the innodb_sort_buffer_size of this ConfigurationVariables.
+ This variable defines:
- waitTimeout corresponds to the MySQL system variable.
- `wait_timeout`__
+ * The sort buffer size for online DDL operations that create or rebuild secondary indexes.
+ However, as of MySQL 8.0.27, this responsibility is subsumed by the innodb_ddl_buffer_size variable.
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout
+ * The amount by which the temporary log file is extended when recording concurrent DML during an online DDL operation,
+ and the size of the temporary log file read buffer and write buffer.
+ innodbSortBufferSize corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_sort_buffer_size]`__.
- :return: The wait_timeout of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_sort_buffer_size
+
+
+ :return: The innodb_sort_buffer_size of this ConfigurationVariables.
:rtype: int
"""
- return self._wait_timeout
+ return self._innodb_sort_buffer_size
- @wait_timeout.setter
- def wait_timeout(self, wait_timeout):
+ @innodb_sort_buffer_size.setter
+ def innodb_sort_buffer_size(self, innodb_sort_buffer_size):
"""
- Sets the wait_timeout of this ConfigurationVariables.
- The number of seconds the server waits for activity on a noninteractive connection before closing it.
+ Sets the innodb_sort_buffer_size of this ConfigurationVariables.
+ This variable defines:
- waitTimeout corresponds to the MySQL system variable.
- `wait_timeout`__
+ * The sort buffer size for online DDL operations that create or rebuild secondary indexes.
+ However, as of MySQL 8.0.27, this responsibility is subsumed by the innodb_ddl_buffer_size variable.
- __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_wait_timeout
+ * The amount by which the temporary log file is extended when recording concurrent DML during an online DDL operation,
+ and the size of the temporary log file read buffer and write buffer.
+ innodbSortBufferSize corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_sort_buffer_size]`__.
- :param wait_timeout: The wait_timeout of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_sort_buffer_size
+
+
+ :param innodb_sort_buffer_size: The innodb_sort_buffer_size of this ConfigurationVariables.
:type: int
"""
- self._wait_timeout = wait_timeout
+ self._innodb_sort_buffer_size = innodb_sort_buffer_size
@property
- def thread_pool_dedicated_listeners(self):
+ def innodb_numa_interleave(self):
"""
- Gets the thread_pool_dedicated_listeners of this ConfigurationVariables.
- Controls whether the thread pool uses dedicated listener threads. If enabled, a listener thread in each thread group is dedicated to the task of listening
- for network events from clients, ensuring that the maximum number of query worker threads is no more than the value specified by threadPoolMaxTransactionsLimit.
- threadPoolDedicatedListeners corresponds to the MySQL Database Service-specific system variable thread_pool_dedicated_listeners.
+ Gets the innodb_numa_interleave of this ConfigurationVariables.
+ Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool.
+ When innodb_numa_interleave is enabled, the NUMA memory policy is set to MPOL_INTERLEAVE for the mysqld process.
+ After the InnoDB buffer pool is allocated, the NUMA memory policy is set back to MPOL_DEFAULT.
+ For the innodb_numa_interleave option to be available, MySQL must be compiled on a NUMA-enabled Linux system.
+ innodbNumaInterleave corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_numa_interleave]`__.
- :return: The thread_pool_dedicated_listeners of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_numa_interleave
+
+
+ :return: The innodb_numa_interleave of this ConfigurationVariables.
:rtype: bool
"""
- return self._thread_pool_dedicated_listeners
+ return self._innodb_numa_interleave
- @thread_pool_dedicated_listeners.setter
- def thread_pool_dedicated_listeners(self, thread_pool_dedicated_listeners):
+ @innodb_numa_interleave.setter
+ def innodb_numa_interleave(self, innodb_numa_interleave):
"""
- Sets the thread_pool_dedicated_listeners of this ConfigurationVariables.
- Controls whether the thread pool uses dedicated listener threads. If enabled, a listener thread in each thread group is dedicated to the task of listening
- for network events from clients, ensuring that the maximum number of query worker threads is no more than the value specified by threadPoolMaxTransactionsLimit.
- threadPoolDedicatedListeners corresponds to the MySQL Database Service-specific system variable thread_pool_dedicated_listeners.
+ Sets the innodb_numa_interleave of this ConfigurationVariables.
+ Enables the NUMA interleave memory policy for allocation of the InnoDB buffer pool.
+ When innodb_numa_interleave is enabled, the NUMA memory policy is set to MPOL_INTERLEAVE for the mysqld process.
+ After the InnoDB buffer pool is allocated, the NUMA memory policy is set back to MPOL_DEFAULT.
+ For the innodb_numa_interleave option to be available, MySQL must be compiled on a NUMA-enabled Linux system.
+ innodbNumaInterleave corresponds to the MySQL InnoDB Startup Options and System Variables
+ `innodb_numa_interleave]`__.
- :param thread_pool_dedicated_listeners: The thread_pool_dedicated_listeners of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_numa_interleave
+
+
+ :param innodb_numa_interleave: The innodb_numa_interleave of this ConfigurationVariables.
:type: bool
"""
- self._thread_pool_dedicated_listeners = thread_pool_dedicated_listeners
+ self._innodb_numa_interleave = innodb_numa_interleave
@property
- def thread_pool_max_transactions_limit(self):
+ def thread_pool_size(self):
"""
- Gets the thread_pool_max_transactions_limit of this ConfigurationVariables.
- Limits the maximum number of open transactions to the defined value. The default value is 0, which enforces no limit.
- threadPoolMaxTransactionsLimit corresponds to the MySQL Database Service-specific system variable thread_pool_max_transactions_limit.
+ Gets the thread_pool_size of this ConfigurationVariables.
+ The number of thread groups in the thread pool. This is the most important parameter controlling thread pool performance.
+ It affects how many statements can execute simultaneously. If a value outside the range of permissible values is specified,
+ the thread pool plugin does not load and the server writes a message to the error log.
+ threadPoolSize corresponds to the MySQL Server System variable
+ `thread_pool_size]`__.
- :return: The thread_pool_max_transactions_limit of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_size
+
+
+ :return: The thread_pool_size of this ConfigurationVariables.
:rtype: int
"""
- return self._thread_pool_max_transactions_limit
+ return self._thread_pool_size
- @thread_pool_max_transactions_limit.setter
- def thread_pool_max_transactions_limit(self, thread_pool_max_transactions_limit):
+ @thread_pool_size.setter
+ def thread_pool_size(self, thread_pool_size):
"""
- Sets the thread_pool_max_transactions_limit of this ConfigurationVariables.
- Limits the maximum number of open transactions to the defined value. The default value is 0, which enforces no limit.
- threadPoolMaxTransactionsLimit corresponds to the MySQL Database Service-specific system variable thread_pool_max_transactions_limit.
+ Sets the thread_pool_size of this ConfigurationVariables.
+ The number of thread groups in the thread pool. This is the most important parameter controlling thread pool performance.
+ It affects how many statements can execute simultaneously. If a value outside the range of permissible values is specified,
+ the thread pool plugin does not load and the server writes a message to the error log.
+ threadPoolSize corresponds to the MySQL Server System variable
+ `thread_pool_size]`__.
- :param thread_pool_max_transactions_limit: The thread_pool_max_transactions_limit of this ConfigurationVariables.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_thread_pool_size
+
+
+ :param thread_pool_size: The thread_pool_size of this ConfigurationVariables.
:type: int
"""
- self._thread_pool_max_transactions_limit = thread_pool_max_transactions_limit
+ self._thread_pool_size = thread_pool_size
@property
- def time_zone(self):
+ def long_query_time(self):
"""
- Gets the time_zone of this ConfigurationVariables.
- Initializes the time zone for each client that connects.
-
- This corresponds to the MySQL System Variable \"time_zone\".
+ Gets the long_query_time of this ConfigurationVariables.
+ If a query takes longer than this many seconds, the server increments the Slow_queries status variable.
+ If the slow query log is enabled, the query is logged to the slow query log file.
+ This value is measured in real time, not CPU time,
+ so a query that is under the threshold on a lightly loaded system might be above the threshold on a heavily loaded one.
- The values can be given in one of the following formats, none of which are case-sensitive:
+ longQueryTime corresponds to the MySQL Server System variable
+ `long_query_time]`__.
- - As a string indicating an offset from UTC of the form [H]H:MM, prefixed with a + or -, such as '+10:00', '-6:00', or '+05:30'. The permitted range is '-13:59' to '+14:00', inclusive.
- - As a named time zone, as defined by the \"IANA Time Zone database\", such as 'Europe/Helsinki', 'US/Eastern', 'MET', or 'UTC'.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_long_query_time
- :return: The time_zone of this ConfigurationVariables.
- :rtype: str
+ :return: The long_query_time of this ConfigurationVariables.
+ :rtype: int
"""
- return self._time_zone
+ return self._long_query_time
- @time_zone.setter
- def time_zone(self, time_zone):
+ @long_query_time.setter
+ def long_query_time(self, long_query_time):
"""
- Sets the time_zone of this ConfigurationVariables.
- Initializes the time zone for each client that connects.
-
- This corresponds to the MySQL System Variable \"time_zone\".
+ Sets the long_query_time of this ConfigurationVariables.
+ If a query takes longer than this many seconds, the server increments the Slow_queries status variable.
+ If the slow query log is enabled, the query is logged to the slow query log file.
+ This value is measured in real time, not CPU time,
+ so a query that is under the threshold on a lightly loaded system might be above the threshold on a heavily loaded one.
- The values can be given in one of the following formats, none of which are case-sensitive:
+ longQueryTime corresponds to the MySQL Server System variable
+ `long_query_time]`__.
- - As a string indicating an offset from UTC of the form [H]H:MM, prefixed with a + or -, such as '+10:00', '-6:00', or '+05:30'. The permitted range is '-13:59' to '+14:00', inclusive.
- - As a named time zone, as defined by the \"IANA Time Zone database\", such as 'Europe/Helsinki', 'US/Eastern', 'MET', or 'UTC'.
+ __ https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_long_query_time
- :param time_zone: The time_zone of this ConfigurationVariables.
- :type: str
+ :param long_query_time: The long_query_time of this ConfigurationVariables.
+ :type: int
"""
- self._time_zone = time_zone
+ self._long_query_time = long_query_time
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/mysql/models/db_system.py b/src/oci/mysql/models/db_system.py
index 3bf4401521..dde899b84a 100644
--- a/src/oci/mysql/models/db_system.py
+++ b/src/oci/mysql/models/db_system.py
@@ -210,6 +210,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this DbSystem.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this DbSystem.
+ :type system_tags: dict(str, dict(str, object))
+
:param crash_recovery:
The value to assign to the crash_recovery property of this DbSystem.
Allowed values for this property are: "ENABLED", "DISABLED", 'UNKNOWN_ENUM_VALUE'.
@@ -284,6 +288,7 @@ def __init__(self, **kwargs):
'time_updated': 'datetime',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
'crash_recovery': 'str',
'point_in_time_recovery_details': 'PointInTimeRecoveryDetails',
'database_management': 'str',
@@ -327,6 +332,7 @@ def __init__(self, **kwargs):
'time_updated': 'timeUpdated',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
'crash_recovery': 'crashRecovery',
'point_in_time_recovery_details': 'pointInTimeRecoveryDetails',
'database_management': 'databaseManagement',
@@ -369,6 +375,7 @@ def __init__(self, **kwargs):
self._time_updated = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
self._crash_recovery = None
self._point_in_time_recovery_details = None
self._database_management = None
@@ -1174,6 +1181,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this DbSystem.
+ 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 DbSystem.
+ :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 DbSystem.
+ 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 DbSystem.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def crash_recovery(self):
"""
diff --git a/src/oci/mysql/models/db_system_summary.py b/src/oci/mysql/models/db_system_summary.py
index 2bdacc646d..0c72897990 100644
--- a/src/oci/mysql/models/db_system_summary.py
+++ b/src/oci/mysql/models/db_system_summary.py
@@ -108,6 +108,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this DbSystemSummary.
:type defined_tags: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this DbSystemSummary.
+ :type system_tags: dict(str, dict(str, object))
+
:param backup_policy:
The value to assign to the backup_policy property of this DbSystemSummary.
:type backup_policy: oci.mysql.models.BackupPolicy
@@ -160,6 +164,7 @@ def __init__(self, **kwargs):
'deletion_policy': 'DeletionPolicyDetails',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
'backup_policy': 'BackupPolicy',
'shape_name': 'str',
'crash_recovery': 'str',
@@ -188,6 +193,7 @@ def __init__(self, **kwargs):
'deletion_policy': 'deletionPolicy',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
'backup_policy': 'backupPolicy',
'shape_name': 'shapeName',
'crash_recovery': 'crashRecovery',
@@ -215,6 +221,7 @@ def __init__(self, **kwargs):
self._deletion_policy = None
self._freeform_tags = None
self._defined_tags = None
+ self._system_tags = None
self._backup_policy = None
self._shape_name = None
self._crash_recovery = None
@@ -671,6 +678,32 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this DbSystemSummary.
+ 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 DbSystemSummary.
+ :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 DbSystemSummary.
+ 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 DbSystemSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def backup_policy(self):
"""
diff --git a/src/oci/os_management_hub/event_client.py b/src/oci/os_management_hub/event_client.py
index e4dfd8699a..a9c68e2b5b 100644
--- a/src/oci/os_management_hub/event_client.py
+++ b/src/oci/os_management_hub/event_client.py
@@ -818,7 +818,7 @@ def list_events(self, **kwargs):
:param list[str] type: (optional)
A filter to return only resources whose type matches the given value.
- Allowed values are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a paginated \"List\" call.
@@ -919,7 +919,7 @@ def list_events(self, **kwargs):
)
if 'type' in kwargs:
- type_allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"]
+ type_allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"]
for type_item in kwargs['type']:
if type_item not in type_allowed_values:
raise ValueError(
diff --git a/src/oci/os_management_hub/lifecycle_environment_client.py b/src/oci/os_management_hub/lifecycle_environment_client.py
index 8e70cd6e5e..3968e1372f 100644
--- a/src/oci/os_management_hub/lifecycle_environment_client.py
+++ b/src/oci/os_management_hub/lifecycle_environment_client.py
@@ -915,7 +915,7 @@ def list_lifecycle_environments(self, **kwargs):
:param str arch_type: (optional)
A filter to return only profiles that match the given archType.
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:param str os_family: (optional)
A filter to return only resources that match the given operating system family.
@@ -1017,7 +1017,7 @@ def list_lifecycle_environments(self, **kwargs):
f"list_lifecycle_environments got unknown kwargs: {extra_kwargs!r}")
if 'arch_type' in kwargs:
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if kwargs['arch_type'] not in arch_type_allowed_values:
raise ValueError(
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
@@ -1339,7 +1339,7 @@ def list_lifecycle_stages(self, **kwargs):
:param str arch_type: (optional)
A filter to return only profiles that match the given archType.
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:param str os_family: (optional)
A filter to return only resources that match the given operating system family.
@@ -1442,7 +1442,7 @@ def list_lifecycle_stages(self, **kwargs):
f"list_lifecycle_stages got unknown kwargs: {extra_kwargs!r}")
if 'arch_type' in kwargs:
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if kwargs['arch_type'] not in arch_type_allowed_values:
raise ValueError(
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
@@ -1688,6 +1688,128 @@ def promote_software_source_to_lifecycle_stage(self, lifecycle_stage_id, promote
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def reboot_lifecycle_stage(self, lifecycle_stage_id, reboot_lifecycle_stage_details, **kwargs):
+ """
+ Reboots all managed instances in the specified lifecycle stage.
+
+
+ :param str lifecycle_stage_id: (required)
+ The `OCID`__ of the lifecycle stage.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RebootLifecycleStageDetails reboot_lifecycle_stage_details: (required)
+ Details rebooting managed instances in a lifecycle stage.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 reboot_lifecycle_stage API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['lifecycleStageId']
+ resource_path = "/lifecycleStages/{lifecycleStageId}/actions/reboot"
+ method = "POST"
+ operation_name = "reboot_lifecycle_stage"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/LifecycleStage/RebootLifecycleStage"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"reboot_lifecycle_stage got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "lifecycleStageId": lifecycle_stage_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(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),
+ "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,
+ path_params=path_params,
+ header_params=header_params,
+ body=reboot_lifecycle_stage_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=reboot_lifecycle_stage_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def update_lifecycle_environment(self, lifecycle_environment_id, update_lifecycle_environment_details, **kwargs):
"""
Updates the specified lifecycle environment's name, description, stages, or tags.
diff --git a/src/oci/os_management_hub/lifecycle_environment_client_composite_operations.py b/src/oci/os_management_hub/lifecycle_environment_client_composite_operations.py
index 1b4bda5a32..5fa8b95863 100644
--- a/src/oci/os_management_hub/lifecycle_environment_client_composite_operations.py
+++ b/src/oci/os_management_hub/lifecycle_environment_client_composite_operations.py
@@ -260,6 +260,50 @@ def promote_software_source_to_lifecycle_stage_and_wait_for_state(self, lifecycl
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def reboot_lifecycle_stage_and_wait_for_state(self, lifecycle_stage_id, reboot_lifecycle_stage_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.LifecycleEnvironmentClient.reboot_lifecycle_stage` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str lifecycle_stage_id: (required)
+ The `OCID`__ of the lifecycle stage.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RebootLifecycleStageDetails reboot_lifecycle_stage_details: (required)
+ Details rebooting managed instances in a lifecycle stage.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.LifecycleEnvironmentClient.reboot_lifecycle_stage`
+
+ :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.reboot_lifecycle_stage(lifecycle_stage_id, reboot_lifecycle_stage_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_lifecycle_environment_and_wait_for_state(self, lifecycle_environment_id, update_lifecycle_environment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.os_management_hub.LifecycleEnvironmentClient.update_lifecycle_environment` and waits for the :py:class:`~oci.os_management_hub.models.LifecycleEnvironment` acted upon
diff --git a/src/oci/os_management_hub/managed_instance_client.py b/src/oci/os_management_hub/managed_instance_client.py
index dc28b4f398..9ee018a18c 100644
--- a/src/oci/os_management_hub/managed_instance_client.py
+++ b/src/oci/os_management_hub/managed_instance_client.py
@@ -117,6 +117,130 @@ def __init__(self, config, **kwargs):
self.retry_strategy = kwargs.get('retry_strategy')
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
+ def associate_managed_instances_with_management_station(self, management_station_id, associate_managed_instances_with_management_station_details, **kwargs):
+ """
+ Associates managed instances to the specified management station
+
+
+ :param str management_station_id: (required)
+ The `OCID`__ of the management station.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails associate_managed_instances_with_management_station_details: (required)
+ The managed instances `OCIDs`__ to associate to the management station.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 associate_managed_instances_with_management_station API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['managementStationId']
+ resource_path = "/managementStations/{managementStationId}/actions/associateManagedInstances"
+ method = "POST"
+ operation_name = "associate_managed_instances_with_management_station"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstance/AssociateManagedInstancesWithManagementStation"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"associate_managed_instances_with_management_station got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "managementStationId": management_station_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),
+ "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,
+ path_params=path_params,
+ header_params=header_params,
+ body=associate_managed_instances_with_management_station_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=associate_managed_instances_with_management_station_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def attach_profile_to_managed_instance(self, managed_instance_id, attach_profile_to_managed_instance_details, **kwargs):
"""
Adds profile to a managed instance. After the profile has been added,
@@ -3103,12 +3227,12 @@ def list_managed_instances(self, **kwargs):
:param list[str] status: (optional)
A filter to return only managed instances whose status matches the status provided.
- Allowed values are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"
+ Allowed values are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"
:param list[str] arch_type: (optional)
A filter to return only instances whose architecture type matches the given architecture.
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:param list[str] os_family: (optional)
A filter to return only resources that match the given operating system family.
@@ -3173,6 +3297,24 @@ def list_managed_instances(self, **kwargs):
:param bool is_managed_by_autonomous_linux: (optional)
Indicates whether to list only resources managed by the Autonomous Linux service.
+ :param str agent_version: (optional)
+ A filter to return only managed instances with the specified version of osmh-agent running.
+
+ :param list[str] management_station: (optional)
+ A filter to return resources that are associated with the specified management
+ station `OCIDs`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] management_station_not_equal_to: (optional)
+ A filter to return resources that aren't associated with the specified management
+ station `OCIDs`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param bool is_reboot_required: (optional)
+ A filter to return only managed instances that require a reboot to install updates.
+
: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`__.
@@ -3254,6 +3396,10 @@ def list_managed_instances(self, **kwargs):
"profile_not_equal_to",
"is_profile_attached",
"is_managed_by_autonomous_linux",
+ "agent_version",
+ "management_station",
+ "management_station_not_equal_to",
+ "is_reboot_required",
"limit",
"page",
"sort_order",
@@ -3266,7 +3412,7 @@ def list_managed_instances(self, **kwargs):
f"list_managed_instances got unknown kwargs: {extra_kwargs!r}")
if 'status' in kwargs:
- status_allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"]
+ status_allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"]
for status_item in kwargs['status']:
if status_item not in status_allowed_values:
raise ValueError(
@@ -3274,7 +3420,7 @@ def list_managed_instances(self, **kwargs):
)
if 'arch_type' in kwargs:
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
for arch_type_item in kwargs['arch_type']:
if arch_type_item not in arch_type_allowed_values:
raise ValueError(
@@ -3343,6 +3489,10 @@ def list_managed_instances(self, **kwargs):
"profileNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("profile_not_equal_to", missing), 'multi'),
"isProfileAttached": kwargs.get("is_profile_attached", missing),
"isManagedByAutonomousLinux": kwargs.get("is_managed_by_autonomous_linux", missing),
+ "agentVersion": kwargs.get("agent_version", missing),
+ "managementStation": self.base_client.generate_collection_format_param(kwargs.get("management_station", missing), 'multi'),
+ "managementStationNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("management_station_not_equal_to", missing), 'multi'),
+ "isRebootRequired": kwargs.get("is_reboot_required", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
"sortOrder": kwargs.get("sort_order", missing),
@@ -3685,6 +3835,130 @@ def manage_module_streams_on_managed_instance(self, managed_instance_id, manage_
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def reboot_managed_instance(self, managed_instance_id, reboot_managed_instance_details, **kwargs):
+ """
+ Initiates a reboot of the specified managed instance. You can also specify the number of minutes the service
+ waits before marking the reboot operation as failed.
+
+
+ :param str managed_instance_id: (required)
+ The `OCID`__ of the managed instance.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RebootManagedInstanceDetails reboot_managed_instance_details: (required)
+ The timeout to be set for the reboot job. The timeout is the amount of time in minutes that the service waits for
+ the reboot to complete before marking the job as failed.
+
+ :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.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :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 reboot_managed_instance API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['managedInstanceId']
+ resource_path = "/managedInstances/{managedInstanceId}/actions/reboot"
+ method = "POST"
+ operation_name = "reboot_managed_instance"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstance/RebootManagedInstance"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"reboot_managed_instance got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "managedInstanceId": managed_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),
+ "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=reboot_managed_instance_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=reboot_managed_instance_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def refresh_software_on_managed_instance(self, managed_instance_id, **kwargs):
"""
Refreshes the package or Windows update information on a managed instance with the latest data from the software source. This does not update packages on the instance. It provides the service with the latest package data.
diff --git a/src/oci/os_management_hub/managed_instance_client_composite_operations.py b/src/oci/os_management_hub/managed_instance_client_composite_operations.py
index 492b90d77d..03c2f92c3d 100644
--- a/src/oci/os_management_hub/managed_instance_client_composite_operations.py
+++ b/src/oci/os_management_hub/managed_instance_client_composite_operations.py
@@ -25,6 +25,52 @@ def __init__(self, client, **kwargs):
"""
self.client = client
+ def associate_managed_instances_with_management_station_and_wait_for_state(self, management_station_id, associate_managed_instances_with_management_station_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.associate_managed_instances_with_management_station` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str management_station_id: (required)
+ The `OCID`__ of the management station.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.AssociateManagedInstancesWithManagementStationDetails associate_managed_instances_with_management_station_details: (required)
+ The managed instances `OCIDs`__ to associate to the management station.
+
+ __ https://docs.cloud.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.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceClient.associate_managed_instances_with_management_station`
+
+ :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.associate_managed_instances_with_management_station(management_station_id, associate_managed_instances_with_management_station_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 attach_software_sources_to_managed_instance_and_wait_for_state(self, managed_instance_id, attach_software_sources_to_managed_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.attach_software_sources_to_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
@@ -506,6 +552,51 @@ def manage_module_streams_on_managed_instance_and_wait_for_state(self, managed_i
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def reboot_managed_instance_and_wait_for_state(self, managed_instance_id, reboot_managed_instance_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.reboot_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str managed_instance_id: (required)
+ The `OCID`__ of the managed instance.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RebootManagedInstanceDetails reboot_managed_instance_details: (required)
+ The timeout to be set for the reboot job. The timeout is the amount of time in minutes that the service waits for
+ the reboot to complete before marking the job as failed.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceClient.reboot_managed_instance`
+
+ :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.reboot_managed_instance(managed_instance_id, reboot_managed_instance_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 refresh_software_on_managed_instance_and_wait_for_state(self, managed_instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.os_management_hub.ManagedInstanceClient.refresh_software_on_managed_instance` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
diff --git a/src/oci/os_management_hub/managed_instance_group_client.py b/src/oci/os_management_hub/managed_instance_group_client.py
index 720495f24e..ad9e2769bd 100644
--- a/src/oci/os_management_hub/managed_instance_group_client.py
+++ b/src/oci/os_management_hub/managed_instance_group_client.py
@@ -2574,7 +2574,7 @@ def list_managed_instance_groups(self, **kwargs):
:param str arch_type: (optional)
A filter to return only profiles that match the given archType.
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:param str os_family: (optional)
A filter to return only resources that match the given operating system family.
@@ -2680,7 +2680,7 @@ def list_managed_instance_groups(self, **kwargs):
f"list_managed_instance_groups got unknown kwargs: {extra_kwargs!r}")
if 'arch_type' in kwargs:
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if kwargs['arch_type'] not in arch_type_allowed_values:
raise ValueError(
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
@@ -2913,6 +2913,128 @@ def manage_module_streams_on_managed_instance_group(self, managed_instance_group
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def reboot_managed_instance_group(self, managed_instance_group_id, reboot_managed_instance_group_details, **kwargs):
+ """
+ Reboots all managed instances in the specified group.
+
+
+ :param str managed_instance_group_id: (required)
+ The `OCID`__ of the managed instance group.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RebootManagedInstanceGroupDetails reboot_managed_instance_group_details: (required)
+ Provides the information used to reboot managed instances in a group.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 reboot_managed_instance_group API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['managedInstanceGroupId']
+ resource_path = "/managedInstanceGroups/{managedInstanceGroupId}/actions/reboot"
+ method = "POST"
+ operation_name = "reboot_managed_instance_group"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ManagedInstanceGroup/RebootManagedInstanceGroup"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"reboot_managed_instance_group got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "managedInstanceGroupId": managed_instance_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),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy 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=reboot_managed_instance_group_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=reboot_managed_instance_group_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def remove_module_stream_profile_from_managed_instance_group(self, managed_instance_group_id, remove_module_stream_profile_from_managed_instance_group_details, **kwargs):
"""
Removes a profile for a module stream that is installed on a managed instance group. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.
diff --git a/src/oci/os_management_hub/managed_instance_group_client_composite_operations.py b/src/oci/os_management_hub/managed_instance_group_client_composite_operations.py
index 26ef5a4f3e..a13a65ff2c 100644
--- a/src/oci/os_management_hub/managed_instance_group_client_composite_operations.py
+++ b/src/oci/os_management_hub/managed_instance_group_client_composite_operations.py
@@ -525,6 +525,50 @@ def manage_module_streams_on_managed_instance_group_and_wait_for_state(self, man
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def reboot_managed_instance_group_and_wait_for_state(self, managed_instance_group_id, reboot_managed_instance_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.reboot_managed_instance_group` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str managed_instance_group_id: (required)
+ The `OCID`__ of the managed instance group.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RebootManagedInstanceGroupDetails reboot_managed_instance_group_details: (required)
+ Provides the information used to reboot managed instances in a group.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.reboot_managed_instance_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.reboot_managed_instance_group(managed_instance_group_id, reboot_managed_instance_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 remove_module_stream_profile_from_managed_instance_group_and_wait_for_state(self, managed_instance_group_id, remove_module_stream_profile_from_managed_instance_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.os_management_hub.ManagedInstanceGroupClient.remove_module_stream_profile_from_managed_instance_group` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
diff --git a/src/oci/os_management_hub/management_station_client.py b/src/oci/os_management_hub/management_station_client.py
index 479449bfe8..9eb6c84431 100644
--- a/src/oci/os_management_hub/management_station_client.py
+++ b/src/oci/os_management_hub/management_station_client.py
@@ -243,7 +243,7 @@ def change_management_station_compartment(self, management_station_id, change_ma
def create_management_station(self, create_management_station_details, **kwargs):
"""
- Create a management station. You must provide proxy and mirror configuration information.
+ Creates a management station using the proxy and mirror configuration information provided.
:param oci.os_management_hub.models.CreateManagementStationDetails create_management_station_details: (required)
@@ -341,7 +341,9 @@ def create_management_station(self, create_management_station_details, **kwargs)
def delete_management_station(self, management_station_id, **kwargs):
"""
- Deletes a management station.
+ Deletes a management station. You can't delete a station if there are resources associated with the station
+ (such as instances using the station or profiles associated with the station). Switch stations and edit profiles
+ as needed before deleting the station.
:param str management_station_id: (required)
@@ -356,6 +358,13 @@ def delete_management_station(self, management_station_id, **kwargs):
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_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.
@@ -389,6 +398,7 @@ def delete_management_station(self, management_station_id, **kwargs):
"allow_control_chars",
"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]
@@ -410,6 +420,7 @@ def delete_management_station(self, management_station_id, **kwargs):
"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}
@@ -423,6 +434,7 @@ def delete_management_station(self, management_station_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(
@@ -448,7 +460,7 @@ def delete_management_station(self, management_station_id, **kwargs):
def get_management_station(self, management_station_id, **kwargs):
"""
- Gets information about the specified management station.
+ Returns information about the specified management station.
:param str management_station_id: (required)
@@ -548,7 +560,8 @@ def get_management_station(self, management_station_id, **kwargs):
def list_management_stations(self, **kwargs):
"""
- Lists management stations in a compartment.
+ Lists management stations within the specified compartment. Filter the list against a variety of criteria
+ including but not limited to name, status, and location.
:param str compartment_id: (optional)
@@ -586,6 +599,16 @@ def list_management_stations(self, **kwargs):
__ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+ :param list[str] location: (optional)
+ A filter to return only resources whose location matches the given value.
+
+ Allowed values are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"
+
+ :param list[str] location_not_equal_to: (optional)
+ A filter to return only resources whose location does not match the given value.
+
+ Allowed values are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"
+
:param str sort_order: (optional)
The sort order to use, either 'ASC' or 'DESC'.
@@ -640,6 +663,8 @@ def list_management_stations(self, **kwargs):
"managed_instance_id",
"limit",
"page",
+ "location",
+ "location_not_equal_to",
"sort_order",
"sort_by",
"opc_request_id",
@@ -657,6 +682,22 @@ def list_management_stations(self, **kwargs):
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
)
+ if 'location' in kwargs:
+ location_allowed_values = ["ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"]
+ for location_item in kwargs['location']:
+ if location_item not in location_allowed_values:
+ raise ValueError(
+ f"Invalid value for `location`, must be one of { location_allowed_values }"
+ )
+
+ if 'location_not_equal_to' in kwargs:
+ location_not_equal_to_allowed_values = ["ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"]
+ for location_not_equal_to_item in kwargs['location_not_equal_to']:
+ if location_not_equal_to_item not in location_not_equal_to_allowed_values:
+ raise ValueError(
+ f"Invalid value for `location_not_equal_to`, must be one of { location_not_equal_to_allowed_values }"
+ )
+
if 'sort_order' in kwargs:
sort_order_allowed_values = ["ASC", "DESC"]
if kwargs['sort_order'] not in sort_order_allowed_values:
@@ -679,6 +720,8 @@ def list_management_stations(self, **kwargs):
"managedInstanceId": kwargs.get("managed_instance_id", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
+ "location": self.base_client.generate_collection_format_param(kwargs.get("location", missing), 'multi'),
+ "locationNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("location_not_equal_to", missing), 'multi'),
"sortOrder": kwargs.get("sort_order", missing),
"sortBy": kwargs.get("sort_by", missing),
"id": kwargs.get("id", missing)
@@ -907,7 +950,7 @@ def list_mirrors(self, management_station_id, **kwargs):
def refresh_management_station_config(self, management_station_id, **kwargs):
"""
- Refreshes the list of software sources mirrored by the management station to support the associated instances.
+ Refreshes the list of software sources mirrored by the management station.
:param str management_station_id: (required)
@@ -1024,7 +1067,7 @@ def refresh_management_station_config(self, management_station_id, **kwargs):
def synchronize_mirrors(self, management_station_id, synchronize_mirrors_details, **kwargs):
"""
- Synchronize the specified software sources mirrors on the management station.
+ Synchronize the specified software sources mirrored on the management station.
:param str management_station_id: (required)
diff --git a/src/oci/os_management_hub/models/__init__.py b/src/oci/os_management_hub/models/__init__.py
index 3174000b70..ced5bd0742 100644
--- a/src/oci/os_management_hub/models/__init__.py
+++ b/src/oci/os_management_hub/models/__init__.py
@@ -9,11 +9,16 @@
from .add_packages_to_software_source_details import AddPackagesToSoftwareSourceDetails
from .agent_event import AgentEvent
from .agent_event_data import AgentEventData
+from .associate_managed_instances_with_management_station_details import AssociateManagedInstancesWithManagementStationDetails
+from .attach_lifecycle_stage_to_profile_details import AttachLifecycleStageToProfileDetails
+from .attach_managed_instance_group_to_profile_details import AttachManagedInstanceGroupToProfileDetails
from .attach_managed_instances_to_lifecycle_stage_details import AttachManagedInstancesToLifecycleStageDetails
from .attach_managed_instances_to_managed_instance_group_details import AttachManagedInstancesToManagedInstanceGroupDetails
+from .attach_management_station_to_profile_details import AttachManagementStationToProfileDetails
from .attach_profile_to_managed_instance_details import AttachProfileToManagedInstanceDetails
from .attach_software_sources_to_managed_instance_details import AttachSoftwareSourcesToManagedInstanceDetails
from .attach_software_sources_to_managed_instance_group_details import AttachSoftwareSourcesToManagedInstanceGroupDetails
+from .attach_software_sources_to_profile_details import AttachSoftwareSourcesToProfileDetails
from .autonomous_settings import AutonomousSettings
from .available_package_collection import AvailablePackageCollection
from .available_package_summary import AvailablePackageSummary
@@ -38,14 +43,17 @@
from .create_managed_instance_group_details import CreateManagedInstanceGroupDetails
from .create_management_station_details import CreateManagementStationDetails
from .create_mirror_configuration_details import CreateMirrorConfigurationDetails
+from .create_private_software_source_details import CreatePrivateSoftwareSourceDetails
from .create_profile_details import CreateProfileDetails
from .create_proxy_configuration_details import CreateProxyConfigurationDetails
from .create_scheduled_job_details import CreateScheduledJobDetails
from .create_software_source_details import CreateSoftwareSourceDetails
from .create_software_source_profile_details import CreateSoftwareSourceProfileDetails
from .create_station_profile_details import CreateStationProfileDetails
+from .create_third_party_software_source_details import CreateThirdPartySoftwareSourceDetails
from .create_vendor_software_source_details import CreateVendorSoftwareSourceDetails
from .create_versioned_custom_software_source_details import CreateVersionedCustomSoftwareSourceDetails
+from .create_windows_stand_alone_profile_details import CreateWindowsStandAloneProfileDetails
from .custom_software_source import CustomSoftwareSource
from .custom_software_source_filter import CustomSoftwareSourceFilter
from .custom_software_source_summary import CustomSoftwareSourceSummary
@@ -53,6 +61,7 @@
from .detach_managed_instances_from_managed_instance_group_details import DetachManagedInstancesFromManagedInstanceGroupDetails
from .detach_software_sources_from_managed_instance_details import DetachSoftwareSourcesFromManagedInstanceDetails
from .detach_software_sources_from_managed_instance_group_details import DetachSoftwareSourcesFromManagedInstanceGroupDetails
+from .detach_software_sources_from_profile_details import DetachSoftwareSourcesFromProfileDetails
from .disable_module_stream_on_managed_instance_details import DisableModuleStreamOnManagedInstanceDetails
from .disable_module_stream_on_managed_instance_group_details import DisableModuleStreamOnManagedInstanceGroupDetails
from .enable_module_stream_on_managed_instance_details import EnableModuleStreamOnManagedInstanceDetails
@@ -156,15 +165,27 @@
from .package_group_summary import PackageGroupSummary
from .package_name_summary import PackageNameSummary
from .package_summary import PackageSummary
+from .peer_management_station import PeerManagementStation
+from .private_software_source import PrivateSoftwareSource
+from .private_software_source_summary import PrivateSoftwareSourceSummary
from .profile import Profile
from .profile_collection import ProfileCollection
from .profile_summary import ProfileSummary
+from .profile_version import ProfileVersion
from .promote_software_source_to_lifecycle_stage_details import PromoteSoftwareSourceToLifecycleStageDetails
from .proxy_configuration import ProxyConfiguration
+from .reboot_event import RebootEvent
+from .reboot_event_data import RebootEventData
+from .reboot_lifecycle_stage_details import RebootLifecycleStageDetails
+from .reboot_managed_instance_details import RebootManagedInstanceDetails
+from .reboot_managed_instance_group_details import RebootManagedInstanceGroupDetails
from .remove_module_stream_profile_from_managed_instance_details import RemoveModuleStreamProfileFromManagedInstanceDetails
from .remove_module_stream_profile_from_managed_instance_group_details import RemoveModuleStreamProfileFromManagedInstanceGroupDetails
from .remove_packages_from_managed_instance_details import RemovePackagesFromManagedInstanceDetails
from .remove_packages_from_managed_instance_group_details import RemovePackagesFromManagedInstanceGroupDetails
+from .remove_packages_from_software_source_details import RemovePackagesFromSoftwareSourceDetails
+from .replace_packages_in_software_source_details import ReplacePackagesInSoftwareSourceDetails
+from .rerun_work_request_details import RerunWorkRequestDetails
from .scheduled_job import ScheduledJob
from .scheduled_job_collection import ScheduledJobCollection
from .scheduled_job_operation import ScheduledJobOperation
@@ -196,7 +217,11 @@
from .switch_module_stream_on_managed_instance_details import SwitchModuleStreamOnManagedInstanceDetails
from .switch_module_stream_on_managed_instance_group_details import SwitchModuleStreamOnManagedInstanceGroupDetails
from .synchronize_mirrors_details import SynchronizeMirrorsDetails
+from .sysadmin_event import SysadminEvent
+from .sysadmin_event_data import SysadminEventData
from .system_details import SystemDetails
+from .third_party_software_source import ThirdPartySoftwareSource
+from .third_party_software_source_summary import ThirdPartySoftwareSourceSummary
from .updatable_autonomous_settings import UpdatableAutonomousSettings
from .updatable_package_collection import UpdatablePackageCollection
from .updatable_package_summary import UpdatablePackageSummary
@@ -211,10 +236,12 @@
from .update_management_station_details import UpdateManagementStationDetails
from .update_mirror_configuration_details import UpdateMirrorConfigurationDetails
from .update_packages_on_managed_instance_details import UpdatePackagesOnManagedInstanceDetails
+from .update_private_software_source_details import UpdatePrivateSoftwareSourceDetails
from .update_profile_details import UpdateProfileDetails
from .update_proxy_configuration_details import UpdateProxyConfigurationDetails
from .update_scheduled_job_details import UpdateScheduledJobDetails
from .update_software_source_details import UpdateSoftwareSourceDetails
+from .update_third_party_software_source_details import UpdateThirdPartySoftwareSourceDetails
from .update_vendor_software_source_details import UpdateVendorSoftwareSourceDetails
from .update_versioned_custom_software_source_details import UpdateVersionedCustomSoftwareSourceDetails
from .update_work_request_details import UpdateWorkRequestDetails
@@ -244,11 +271,16 @@
"AddPackagesToSoftwareSourceDetails": AddPackagesToSoftwareSourceDetails,
"AgentEvent": AgentEvent,
"AgentEventData": AgentEventData,
+ "AssociateManagedInstancesWithManagementStationDetails": AssociateManagedInstancesWithManagementStationDetails,
+ "AttachLifecycleStageToProfileDetails": AttachLifecycleStageToProfileDetails,
+ "AttachManagedInstanceGroupToProfileDetails": AttachManagedInstanceGroupToProfileDetails,
"AttachManagedInstancesToLifecycleStageDetails": AttachManagedInstancesToLifecycleStageDetails,
"AttachManagedInstancesToManagedInstanceGroupDetails": AttachManagedInstancesToManagedInstanceGroupDetails,
+ "AttachManagementStationToProfileDetails": AttachManagementStationToProfileDetails,
"AttachProfileToManagedInstanceDetails": AttachProfileToManagedInstanceDetails,
"AttachSoftwareSourcesToManagedInstanceDetails": AttachSoftwareSourcesToManagedInstanceDetails,
"AttachSoftwareSourcesToManagedInstanceGroupDetails": AttachSoftwareSourcesToManagedInstanceGroupDetails,
+ "AttachSoftwareSourcesToProfileDetails": AttachSoftwareSourcesToProfileDetails,
"AutonomousSettings": AutonomousSettings,
"AvailablePackageCollection": AvailablePackageCollection,
"AvailablePackageSummary": AvailablePackageSummary,
@@ -273,14 +305,17 @@
"CreateManagedInstanceGroupDetails": CreateManagedInstanceGroupDetails,
"CreateManagementStationDetails": CreateManagementStationDetails,
"CreateMirrorConfigurationDetails": CreateMirrorConfigurationDetails,
+ "CreatePrivateSoftwareSourceDetails": CreatePrivateSoftwareSourceDetails,
"CreateProfileDetails": CreateProfileDetails,
"CreateProxyConfigurationDetails": CreateProxyConfigurationDetails,
"CreateScheduledJobDetails": CreateScheduledJobDetails,
"CreateSoftwareSourceDetails": CreateSoftwareSourceDetails,
"CreateSoftwareSourceProfileDetails": CreateSoftwareSourceProfileDetails,
"CreateStationProfileDetails": CreateStationProfileDetails,
+ "CreateThirdPartySoftwareSourceDetails": CreateThirdPartySoftwareSourceDetails,
"CreateVendorSoftwareSourceDetails": CreateVendorSoftwareSourceDetails,
"CreateVersionedCustomSoftwareSourceDetails": CreateVersionedCustomSoftwareSourceDetails,
+ "CreateWindowsStandAloneProfileDetails": CreateWindowsStandAloneProfileDetails,
"CustomSoftwareSource": CustomSoftwareSource,
"CustomSoftwareSourceFilter": CustomSoftwareSourceFilter,
"CustomSoftwareSourceSummary": CustomSoftwareSourceSummary,
@@ -288,6 +323,7 @@
"DetachManagedInstancesFromManagedInstanceGroupDetails": DetachManagedInstancesFromManagedInstanceGroupDetails,
"DetachSoftwareSourcesFromManagedInstanceDetails": DetachSoftwareSourcesFromManagedInstanceDetails,
"DetachSoftwareSourcesFromManagedInstanceGroupDetails": DetachSoftwareSourcesFromManagedInstanceGroupDetails,
+ "DetachSoftwareSourcesFromProfileDetails": DetachSoftwareSourcesFromProfileDetails,
"DisableModuleStreamOnManagedInstanceDetails": DisableModuleStreamOnManagedInstanceDetails,
"DisableModuleStreamOnManagedInstanceGroupDetails": DisableModuleStreamOnManagedInstanceGroupDetails,
"EnableModuleStreamOnManagedInstanceDetails": EnableModuleStreamOnManagedInstanceDetails,
@@ -391,15 +427,27 @@
"PackageGroupSummary": PackageGroupSummary,
"PackageNameSummary": PackageNameSummary,
"PackageSummary": PackageSummary,
+ "PeerManagementStation": PeerManagementStation,
+ "PrivateSoftwareSource": PrivateSoftwareSource,
+ "PrivateSoftwareSourceSummary": PrivateSoftwareSourceSummary,
"Profile": Profile,
"ProfileCollection": ProfileCollection,
"ProfileSummary": ProfileSummary,
+ "ProfileVersion": ProfileVersion,
"PromoteSoftwareSourceToLifecycleStageDetails": PromoteSoftwareSourceToLifecycleStageDetails,
"ProxyConfiguration": ProxyConfiguration,
+ "RebootEvent": RebootEvent,
+ "RebootEventData": RebootEventData,
+ "RebootLifecycleStageDetails": RebootLifecycleStageDetails,
+ "RebootManagedInstanceDetails": RebootManagedInstanceDetails,
+ "RebootManagedInstanceGroupDetails": RebootManagedInstanceGroupDetails,
"RemoveModuleStreamProfileFromManagedInstanceDetails": RemoveModuleStreamProfileFromManagedInstanceDetails,
"RemoveModuleStreamProfileFromManagedInstanceGroupDetails": RemoveModuleStreamProfileFromManagedInstanceGroupDetails,
"RemovePackagesFromManagedInstanceDetails": RemovePackagesFromManagedInstanceDetails,
"RemovePackagesFromManagedInstanceGroupDetails": RemovePackagesFromManagedInstanceGroupDetails,
+ "RemovePackagesFromSoftwareSourceDetails": RemovePackagesFromSoftwareSourceDetails,
+ "ReplacePackagesInSoftwareSourceDetails": ReplacePackagesInSoftwareSourceDetails,
+ "RerunWorkRequestDetails": RerunWorkRequestDetails,
"ScheduledJob": ScheduledJob,
"ScheduledJobCollection": ScheduledJobCollection,
"ScheduledJobOperation": ScheduledJobOperation,
@@ -431,7 +479,11 @@
"SwitchModuleStreamOnManagedInstanceDetails": SwitchModuleStreamOnManagedInstanceDetails,
"SwitchModuleStreamOnManagedInstanceGroupDetails": SwitchModuleStreamOnManagedInstanceGroupDetails,
"SynchronizeMirrorsDetails": SynchronizeMirrorsDetails,
+ "SysadminEvent": SysadminEvent,
+ "SysadminEventData": SysadminEventData,
"SystemDetails": SystemDetails,
+ "ThirdPartySoftwareSource": ThirdPartySoftwareSource,
+ "ThirdPartySoftwareSourceSummary": ThirdPartySoftwareSourceSummary,
"UpdatableAutonomousSettings": UpdatableAutonomousSettings,
"UpdatablePackageCollection": UpdatablePackageCollection,
"UpdatablePackageSummary": UpdatablePackageSummary,
@@ -446,10 +498,12 @@
"UpdateManagementStationDetails": UpdateManagementStationDetails,
"UpdateMirrorConfigurationDetails": UpdateMirrorConfigurationDetails,
"UpdatePackagesOnManagedInstanceDetails": UpdatePackagesOnManagedInstanceDetails,
+ "UpdatePrivateSoftwareSourceDetails": UpdatePrivateSoftwareSourceDetails,
"UpdateProfileDetails": UpdateProfileDetails,
"UpdateProxyConfigurationDetails": UpdateProxyConfigurationDetails,
"UpdateScheduledJobDetails": UpdateScheduledJobDetails,
"UpdateSoftwareSourceDetails": UpdateSoftwareSourceDetails,
+ "UpdateThirdPartySoftwareSourceDetails": UpdateThirdPartySoftwareSourceDetails,
"UpdateVendorSoftwareSourceDetails": UpdateVendorSoftwareSourceDetails,
"UpdateVersionedCustomSoftwareSourceDetails": UpdateVersionedCustomSoftwareSourceDetails,
"UpdateWorkRequestDetails": UpdateWorkRequestDetails,
diff --git a/src/oci/os_management_hub/models/add_packages_to_software_source_details.py b/src/oci/os_management_hub/models/add_packages_to_software_source_details.py
index 731e19cf7e..aad82383fd 100644
--- a/src/oci/os_management_hub/models/add_packages_to_software_source_details.py
+++ b/src/oci/os_management_hub/models/add_packages_to_software_source_details.py
@@ -24,22 +24,29 @@ def __init__(self, **kwargs):
The value to assign to the packages property of this AddPackagesToSoftwareSourceDetails.
:type packages: list[str]
+ :param is_continue_on_missing_packages:
+ The value to assign to the is_continue_on_missing_packages property of this AddPackagesToSoftwareSourceDetails.
+ :type is_continue_on_missing_packages: bool
+
"""
self.swagger_types = {
- 'packages': 'list[str]'
+ 'packages': 'list[str]',
+ 'is_continue_on_missing_packages': 'bool'
}
self.attribute_map = {
- 'packages': 'packages'
+ 'packages': 'packages',
+ 'is_continue_on_missing_packages': 'isContinueOnMissingPackages'
}
self._packages = None
+ self._is_continue_on_missing_packages = None
@property
def packages(self):
"""
**[Required]** Gets the packages of this AddPackagesToSoftwareSourceDetails.
- List of packages specified by the full package name (NEVRA.rpm).
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
:return: The packages of this AddPackagesToSoftwareSourceDetails.
@@ -51,7 +58,7 @@ def packages(self):
def packages(self, packages):
"""
Sets the packages of this AddPackagesToSoftwareSourceDetails.
- List of packages specified by the full package name (NEVRA.rpm).
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
:param packages: The packages of this AddPackagesToSoftwareSourceDetails.
@@ -59,6 +66,30 @@ def packages(self, packages):
"""
self._packages = packages
+ @property
+ def is_continue_on_missing_packages(self):
+ """
+ Gets the is_continue_on_missing_packages of this AddPackagesToSoftwareSourceDetails.
+ Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
+
+
+ :return: The is_continue_on_missing_packages of this AddPackagesToSoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_continue_on_missing_packages
+
+ @is_continue_on_missing_packages.setter
+ def is_continue_on_missing_packages(self, is_continue_on_missing_packages):
+ """
+ Sets the is_continue_on_missing_packages of this AddPackagesToSoftwareSourceDetails.
+ Indicates whether the service should generate a custom software source when the package list contains invalid values. When set to true, the service ignores any invalid packages and generates the custom software source with using the valid packages.
+
+
+ :param is_continue_on_missing_packages: The is_continue_on_missing_packages of this AddPackagesToSoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_continue_on_missing_packages = is_continue_on_missing_packages
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/agent_event.py b/src/oci/os_management_hub/models/agent_event.py
index 117b616842..4e265f19b0 100644
--- a/src/oci/os_management_hub/models/agent_event.py
+++ b/src/oci/os_management_hub/models/agent_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this AgentEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/associate_managed_instances_with_management_station_details.py b/src/oci/os_management_hub/models/associate_managed_instances_with_management_station_details.py
new file mode 100644
index 0000000000..8f94791997
--- /dev/null
+++ b/src/oci/os_management_hub/models/associate_managed_instances_with_management_station_details.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 AssociateManagedInstancesWithManagementStationDetails(object):
+ """
+ Provides the information used to associate managed instances to a management station.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AssociateManagedInstancesWithManagementStationDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param managed_instances:
+ The value to assign to the managed_instances property of this AssociateManagedInstancesWithManagementStationDetails.
+ :type managed_instances: list[str]
+
+ :param work_request_details:
+ The value to assign to the work_request_details property of this AssociateManagedInstancesWithManagementStationDetails.
+ :type work_request_details: oci.os_management_hub.models.WorkRequestDetails
+
+ """
+ self.swagger_types = {
+ 'managed_instances': 'list[str]',
+ 'work_request_details': 'WorkRequestDetails'
+ }
+
+ self.attribute_map = {
+ 'managed_instances': 'managedInstances',
+ 'work_request_details': 'workRequestDetails'
+ }
+
+ self._managed_instances = None
+ self._work_request_details = None
+
+ @property
+ def managed_instances(self):
+ """
+ **[Required]** Gets the managed_instances of this AssociateManagedInstancesWithManagementStationDetails.
+ List of managed instance `OCIDs`__ to associate to the management station.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The managed_instances of this AssociateManagedInstancesWithManagementStationDetails.
+ :rtype: list[str]
+ """
+ return self._managed_instances
+
+ @managed_instances.setter
+ def managed_instances(self, managed_instances):
+ """
+ Sets the managed_instances of this AssociateManagedInstancesWithManagementStationDetails.
+ List of managed instance `OCIDs`__ to associate to the management station.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param managed_instances: The managed_instances of this AssociateManagedInstancesWithManagementStationDetails.
+ :type: list[str]
+ """
+ self._managed_instances = managed_instances
+
+ @property
+ def work_request_details(self):
+ """
+ Gets the work_request_details of this AssociateManagedInstancesWithManagementStationDetails.
+
+ :return: The work_request_details of this AssociateManagedInstancesWithManagementStationDetails.
+ :rtype: oci.os_management_hub.models.WorkRequestDetails
+ """
+ return self._work_request_details
+
+ @work_request_details.setter
+ def work_request_details(self, work_request_details):
+ """
+ Sets the work_request_details of this AssociateManagedInstancesWithManagementStationDetails.
+
+ :param work_request_details: The work_request_details of this AssociateManagedInstancesWithManagementStationDetails.
+ :type: oci.os_management_hub.models.WorkRequestDetails
+ """
+ self._work_request_details = work_request_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/os_management_hub/models/attach_lifecycle_stage_to_profile_details.py b/src/oci/os_management_hub/models/attach_lifecycle_stage_to_profile_details.py
new file mode 100644
index 0000000000..65a9179a42
--- /dev/null
+++ b/src/oci/os_management_hub/models/attach_lifecycle_stage_to_profile_details.py
@@ -0,0 +1,76 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 AttachLifecycleStageToProfileDetails(object):
+ """
+ Provides the information used to attach a lifecycle stage to a profile.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AttachLifecycleStageToProfileDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param lifecycle_stage_id:
+ The value to assign to the lifecycle_stage_id property of this AttachLifecycleStageToProfileDetails.
+ :type lifecycle_stage_id: str
+
+ """
+ self.swagger_types = {
+ 'lifecycle_stage_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'lifecycle_stage_id': 'lifecycleStageId'
+ }
+
+ self._lifecycle_stage_id = None
+
+ @property
+ def lifecycle_stage_id(self):
+ """
+ **[Required]** Gets the lifecycle_stage_id of this AttachLifecycleStageToProfileDetails.
+ The `OCID`__ of the lifecycle stage that the instance will be associated with.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The lifecycle_stage_id of this AttachLifecycleStageToProfileDetails.
+ :rtype: str
+ """
+ return self._lifecycle_stage_id
+
+ @lifecycle_stage_id.setter
+ def lifecycle_stage_id(self, lifecycle_stage_id):
+ """
+ Sets the lifecycle_stage_id of this AttachLifecycleStageToProfileDetails.
+ The `OCID`__ of the lifecycle stage that the instance will be associated with.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param lifecycle_stage_id: The lifecycle_stage_id of this AttachLifecycleStageToProfileDetails.
+ :type: str
+ """
+ self._lifecycle_stage_id = lifecycle_stage_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/os_management_hub/models/attach_managed_instance_group_to_profile_details.py b/src/oci/os_management_hub/models/attach_managed_instance_group_to_profile_details.py
new file mode 100644
index 0000000000..04801d1390
--- /dev/null
+++ b/src/oci/os_management_hub/models/attach_managed_instance_group_to_profile_details.py
@@ -0,0 +1,76 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 AttachManagedInstanceGroupToProfileDetails(object):
+ """
+ Provides the information used to attach a managed instance group to a profile.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AttachManagedInstanceGroupToProfileDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param managed_instance_group_id:
+ The value to assign to the managed_instance_group_id property of this AttachManagedInstanceGroupToProfileDetails.
+ :type managed_instance_group_id: str
+
+ """
+ self.swagger_types = {
+ 'managed_instance_group_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'managed_instance_group_id': 'managedInstanceGroupId'
+ }
+
+ self._managed_instance_group_id = None
+
+ @property
+ def managed_instance_group_id(self):
+ """
+ **[Required]** Gets the managed_instance_group_id of this AttachManagedInstanceGroupToProfileDetails.
+ The `OCID`__ of the managed instance group that the instance will be associated with.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The managed_instance_group_id of this AttachManagedInstanceGroupToProfileDetails.
+ :rtype: str
+ """
+ return self._managed_instance_group_id
+
+ @managed_instance_group_id.setter
+ def managed_instance_group_id(self, managed_instance_group_id):
+ """
+ Sets the managed_instance_group_id of this AttachManagedInstanceGroupToProfileDetails.
+ The `OCID`__ of the managed instance group that the instance will be associated with.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param managed_instance_group_id: The managed_instance_group_id of this AttachManagedInstanceGroupToProfileDetails.
+ :type: str
+ """
+ self._managed_instance_group_id = managed_instance_group_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/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py b/src/oci/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py
index eb405fa548..3838f17562 100644
--- a/src/oci/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py
+++ b/src/oci/os_management_hub/models/attach_managed_instances_to_lifecycle_stage_details.py
@@ -38,7 +38,7 @@ def __init__(self, **kwargs):
@property
def managed_instance_details(self):
"""
- Gets the managed_instance_details of this AttachManagedInstancesToLifecycleStageDetails.
+ **[Required]** Gets the managed_instance_details of this AttachManagedInstancesToLifecycleStageDetails.
:return: The managed_instance_details of this AttachManagedInstancesToLifecycleStageDetails.
:rtype: oci.os_management_hub.models.ManagedInstancesDetails
diff --git a/src/oci/os_management_hub/models/attach_management_station_to_profile_details.py b/src/oci/os_management_hub/models/attach_management_station_to_profile_details.py
new file mode 100644
index 0000000000..579294fcb2
--- /dev/null
+++ b/src/oci/os_management_hub/models/attach_management_station_to_profile_details.py
@@ -0,0 +1,76 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 AttachManagementStationToProfileDetails(object):
+ """
+ Provides the information used to attach a management station to a profile.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AttachManagementStationToProfileDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param management_station_id:
+ The value to assign to the management_station_id property of this AttachManagementStationToProfileDetails.
+ :type management_station_id: str
+
+ """
+ self.swagger_types = {
+ 'management_station_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'management_station_id': 'managementStationId'
+ }
+
+ self._management_station_id = None
+
+ @property
+ def management_station_id(self):
+ """
+ **[Required]** Gets the management_station_id of this AttachManagementStationToProfileDetails.
+ The `OCID`__ of the management station that the instance will be associated with.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The management_station_id of this AttachManagementStationToProfileDetails.
+ :rtype: str
+ """
+ return self._management_station_id
+
+ @management_station_id.setter
+ def management_station_id(self, management_station_id):
+ """
+ Sets the management_station_id of this AttachManagementStationToProfileDetails.
+ The `OCID`__ of the management station that the instance will be associated with.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param management_station_id: The management_station_id of this AttachManagementStationToProfileDetails.
+ :type: str
+ """
+ self._management_station_id = management_station_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/os_management_hub/models/attach_software_sources_to_profile_details.py b/src/oci/os_management_hub/models/attach_software_sources_to_profile_details.py
new file mode 100644
index 0000000000..619e8ae8a7
--- /dev/null
+++ b/src/oci/os_management_hub/models/attach_software_sources_to_profile_details.py
@@ -0,0 +1,76 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 AttachSoftwareSourcesToProfileDetails(object):
+ """
+ Provides the information used to attach software sources to a profile.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AttachSoftwareSourcesToProfileDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param software_sources:
+ The value to assign to the software_sources property of this AttachSoftwareSourcesToProfileDetails.
+ :type software_sources: list[str]
+
+ """
+ self.swagger_types = {
+ 'software_sources': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'software_sources': 'softwareSources'
+ }
+
+ self._software_sources = None
+
+ @property
+ def software_sources(self):
+ """
+ **[Required]** Gets the software_sources of this AttachSoftwareSourcesToProfileDetails.
+ List of software source `OCIDs`__ to attach to the profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The software_sources of this AttachSoftwareSourcesToProfileDetails.
+ :rtype: list[str]
+ """
+ return self._software_sources
+
+ @software_sources.setter
+ def software_sources(self, software_sources):
+ """
+ Sets the software_sources of this AttachSoftwareSourcesToProfileDetails.
+ List of software source `OCIDs`__ to attach to the profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param software_sources: The software_sources of this AttachSoftwareSourcesToProfileDetails.
+ :type: list[str]
+ """
+ self._software_sources = software_sources
+
+ 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/os_management_hub/models/available_package_summary.py b/src/oci/os_management_hub/models/available_package_summary.py
index 2c6e2bf06c..cb35d767a8 100644
--- a/src/oci/os_management_hub/models/available_package_summary.py
+++ b/src/oci/os_management_hub/models/available_package_summary.py
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this AvailablePackageSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
diff --git a/src/oci/os_management_hub/models/create_custom_software_source_details.py b/src/oci/os_management_hub/models/create_custom_software_source_details.py
index 4d0b2b987d..60be102fec 100644
--- a/src/oci/os_management_hub/models/create_custom_software_source_details.py
+++ b/src/oci/os_management_hub/models/create_custom_software_source_details.py
@@ -15,6 +15,18 @@ class CreateCustomSoftwareSourceDetails(CreateSoftwareSourceDetails):
Provides the information used to create a custom software source.
"""
+ #: A constant which can be used with the software_source_sub_type property of a CreateCustomSoftwareSourceDetails.
+ #: This constant has a value of "FILTER"
+ SOFTWARE_SOURCE_SUB_TYPE_FILTER = "FILTER"
+
+ #: A constant which can be used with the software_source_sub_type property of a CreateCustomSoftwareSourceDetails.
+ #: This constant has a value of "MANIFEST"
+ SOFTWARE_SOURCE_SUB_TYPE_MANIFEST = "MANIFEST"
+
+ #: A constant which can be used with the software_source_sub_type property of a CreateCustomSoftwareSourceDetails.
+ #: This constant has a value of "SNAPSHOT"
+ SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT = "SNAPSHOT"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateCustomSoftwareSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CreateCustomSoftwareSourceDetails.software_source_type` attribute
@@ -35,7 +47,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this CreateCustomSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
@@ -74,6 +86,11 @@ def __init__(self, **kwargs):
The value to assign to the packages property of this CreateCustomSoftwareSourceDetails.
:type packages: list[str]
+ :param software_source_sub_type:
+ The value to assign to the software_source_sub_type property of this CreateCustomSoftwareSourceDetails.
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT"
+ :type software_source_sub_type: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -88,7 +105,8 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'bool',
'is_created_from_package_list': 'bool',
'is_latest_content_only': 'bool',
- 'packages': 'list[str]'
+ 'packages': 'list[str]',
+ 'software_source_sub_type': 'str'
}
self.attribute_map = {
@@ -104,7 +122,8 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'isAutoResolveDependencies',
'is_created_from_package_list': 'isCreatedFromPackageList',
'is_latest_content_only': 'isLatestContentOnly',
- 'packages': 'packages'
+ 'packages': 'packages',
+ 'software_source_sub_type': 'softwareSourceSubType'
}
self._compartment_id = None
@@ -120,6 +139,7 @@ def __init__(self, **kwargs):
self._is_created_from_package_list = None
self._is_latest_content_only = None
self._packages = None
+ self._software_source_sub_type = None
self._software_source_type = 'CUSTOM'
@property
@@ -296,6 +316,37 @@ def packages(self, packages):
"""
self._packages = packages
+ @property
+ def software_source_sub_type(self):
+ """
+ Gets the software_source_sub_type of this CreateCustomSoftwareSourceDetails.
+ The creation type of a software source.
+
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT"
+
+
+ :return: The software_source_sub_type of this CreateCustomSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._software_source_sub_type
+
+ @software_source_sub_type.setter
+ def software_source_sub_type(self, software_source_sub_type):
+ """
+ Sets the software_source_sub_type of this CreateCustomSoftwareSourceDetails.
+ The creation type of a software source.
+
+
+ :param software_source_sub_type: The software_source_sub_type of this CreateCustomSoftwareSourceDetails.
+ :type: str
+ """
+ allowed_values = ["FILTER", "MANIFEST", "SNAPSHOT"]
+ if not value_allowed_none_or_none_sentinel(software_source_sub_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `software_source_sub_type`, must be None or one of {allowed_values}"
+ )
+ self._software_source_sub_type = software_source_sub_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/create_lifecycle_environment_details.py b/src/oci/os_management_hub/models/create_lifecycle_environment_details.py
index 1bfbff322b..a12c129134 100644
--- a/src/oci/os_management_hub/models/create_lifecycle_environment_details.py
+++ b/src/oci/os_management_hub/models/create_lifecycle_environment_details.py
@@ -35,6 +35,10 @@ class CreateLifecycleEnvironmentDetails(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a CreateLifecycleEnvironmentDetails.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the os_family property of a CreateLifecycleEnvironmentDetails.
#: This constant has a value of "ORACLE_LINUX_9"
OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
@@ -118,7 +122,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this CreateLifecycleEnvironmentDetails.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param os_family:
@@ -288,7 +292,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this CreateLifecycleEnvironmentDetails.
The CPU architecture of the managed instances in the lifecycle environment.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:return: The arch_type of this CreateLifecycleEnvironmentDetails.
@@ -306,7 +310,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this CreateLifecycleEnvironmentDetails.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
raise ValueError(
f"Invalid value for `arch_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/os_management_hub/models/create_managed_instance_group_details.py b/src/oci/os_management_hub/models/create_managed_instance_group_details.py
index 796a51a254..1f6abdc05b 100644
--- a/src/oci/os_management_hub/models/create_managed_instance_group_details.py
+++ b/src/oci/os_management_hub/models/create_managed_instance_group_details.py
@@ -67,6 +67,10 @@ class CreateManagedInstanceGroupDetails(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a CreateManagedInstanceGroupDetails.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the vendor_name property of a CreateManagedInstanceGroupDetails.
#: This constant has a value of "ORACLE"
VENDOR_NAME_ORACLE = "ORACLE"
@@ -119,7 +123,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this CreateManagedInstanceGroupDetails.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param vendor_name:
@@ -316,7 +320,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this CreateManagedInstanceGroupDetails.
The CPU architecture type of the managed instances that will be attached to this group.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:return: The arch_type of this CreateManagedInstanceGroupDetails.
@@ -334,7 +338,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this CreateManagedInstanceGroupDetails.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
raise ValueError(
f"Invalid value for `arch_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/os_management_hub/models/create_management_station_details.py b/src/oci/os_management_hub/models/create_management_station_details.py
index ae8ef6c558..08a7fce2e4 100644
--- a/src/oci/os_management_hub/models/create_management_station_details.py
+++ b/src/oci/os_management_hub/models/create_management_station_details.py
@@ -36,6 +36,10 @@ def __init__(self, **kwargs):
The value to assign to the hostname property of this CreateManagementStationDetails.
:type hostname: str
+ :param is_auto_config_enabled:
+ The value to assign to the is_auto_config_enabled property of this CreateManagementStationDetails.
+ :type is_auto_config_enabled: bool
+
:param proxy:
The value to assign to the proxy property of this CreateManagementStationDetails.
:type proxy: oci.os_management_hub.models.CreateProxyConfigurationDetails
@@ -58,6 +62,7 @@ def __init__(self, **kwargs):
'display_name': 'str',
'description': 'str',
'hostname': 'str',
+ 'is_auto_config_enabled': 'bool',
'proxy': 'CreateProxyConfigurationDetails',
'mirror': 'CreateMirrorConfigurationDetails',
'freeform_tags': 'dict(str, str)',
@@ -69,6 +74,7 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'description': 'description',
'hostname': 'hostname',
+ 'is_auto_config_enabled': 'isAutoConfigEnabled',
'proxy': 'proxy',
'mirror': 'mirror',
'freeform_tags': 'freeformTags',
@@ -79,6 +85,7 @@ def __init__(self, **kwargs):
self._display_name = None
self._description = None
self._hostname = None
+ self._is_auto_config_enabled = None
self._proxy = None
self._mirror = None
self._freeform_tags = None
@@ -184,6 +191,30 @@ def hostname(self, hostname):
"""
self._hostname = hostname
+ @property
+ def is_auto_config_enabled(self):
+ """
+ Gets the is_auto_config_enabled of this CreateManagementStationDetails.
+ When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
+
+
+ :return: The is_auto_config_enabled of this CreateManagementStationDetails.
+ :rtype: bool
+ """
+ return self._is_auto_config_enabled
+
+ @is_auto_config_enabled.setter
+ def is_auto_config_enabled(self, is_auto_config_enabled):
+ """
+ Sets the is_auto_config_enabled of this CreateManagementStationDetails.
+ When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
+
+
+ :param is_auto_config_enabled: The is_auto_config_enabled of this CreateManagementStationDetails.
+ :type: bool
+ """
+ self._is_auto_config_enabled = is_auto_config_enabled
+
@property
def proxy(self):
"""
diff --git a/src/oci/os_management_hub/models/create_mirror_configuration_details.py b/src/oci/os_management_hub/models/create_mirror_configuration_details.py
index 3f53b780f0..9c31e17b15 100644
--- a/src/oci/os_management_hub/models/create_mirror_configuration_details.py
+++ b/src/oci/os_management_hub/models/create_mirror_configuration_details.py
@@ -36,25 +36,32 @@ def __init__(self, **kwargs):
The value to assign to the sslcert property of this CreateMirrorConfigurationDetails.
:type sslcert: str
+ :param is_sslverify_enabled:
+ The value to assign to the is_sslverify_enabled property of this CreateMirrorConfigurationDetails.
+ :type is_sslverify_enabled: bool
+
"""
self.swagger_types = {
'directory': 'str',
'port': 'str',
'sslport': 'str',
- 'sslcert': 'str'
+ 'sslcert': 'str',
+ 'is_sslverify_enabled': 'bool'
}
self.attribute_map = {
'directory': 'directory',
'port': 'port',
'sslport': 'sslport',
- 'sslcert': 'sslcert'
+ 'sslcert': 'sslcert',
+ 'is_sslverify_enabled': 'isSslverifyEnabled'
}
self._directory = None
self._port = None
self._sslport = None
self._sslcert = None
+ self._is_sslverify_enabled = None
@property
def directory(self):
@@ -152,6 +159,30 @@ def sslcert(self, sslcert):
"""
self._sslcert = sslcert
+ @property
+ def is_sslverify_enabled(self):
+ """
+ Gets the is_sslverify_enabled of this CreateMirrorConfigurationDetails.
+ When enabled, the SSL certificate is verified whenever an instance installs or updates a package from a software source that is mirrored on the management station.
+
+
+ :return: The is_sslverify_enabled of this CreateMirrorConfigurationDetails.
+ :rtype: bool
+ """
+ return self._is_sslverify_enabled
+
+ @is_sslverify_enabled.setter
+ def is_sslverify_enabled(self, is_sslverify_enabled):
+ """
+ Sets the is_sslverify_enabled of this CreateMirrorConfigurationDetails.
+ When enabled, the SSL certificate is verified whenever an instance installs or updates a package from a software source that is mirrored on the management station.
+
+
+ :param is_sslverify_enabled: The is_sslverify_enabled of this CreateMirrorConfigurationDetails.
+ :type: bool
+ """
+ self._is_sslverify_enabled = is_sslverify_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/create_private_software_source_details.py b/src/oci/os_management_hub/models/create_private_software_source_details.py
new file mode 100644
index 0000000000..edf2432974
--- /dev/null
+++ b/src/oci/os_management_hub/models/create_private_software_source_details.py
@@ -0,0 +1,406 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .create_software_source_details import CreateSoftwareSourceDetails
+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 CreatePrivateSoftwareSourceDetails(CreateSoftwareSourceDetails):
+ """
+ Provides the information used to create a private software source.
+ """
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_9"
+ OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_8"
+ OS_FAMILY_ORACLE_LINUX_8 = "ORACLE_LINUX_8"
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_7"
+ OS_FAMILY_ORACLE_LINUX_7 = "ORACLE_LINUX_7"
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_6"
+ OS_FAMILY_ORACLE_LINUX_6 = "ORACLE_LINUX_6"
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2016"
+ OS_FAMILY_WINDOWS_SERVER_2016 = "WINDOWS_SERVER_2016"
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2019"
+ OS_FAMILY_WINDOWS_SERVER_2019 = "WINDOWS_SERVER_2019"
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2022"
+ OS_FAMILY_WINDOWS_SERVER_2022 = "WINDOWS_SERVER_2022"
+
+ #: A constant which can be used with the os_family property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "ALL"
+ OS_FAMILY_ALL = "ALL"
+
+ #: A constant which can be used with the arch_type property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "X86_64"
+ ARCH_TYPE_X86_64 = "X86_64"
+
+ #: A constant which can be used with the arch_type property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "AARCH64"
+ ARCH_TYPE_AARCH64 = "AARCH64"
+
+ #: A constant which can be used with the arch_type property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "I686"
+ ARCH_TYPE_I686 = "I686"
+
+ #: A constant which can be used with the arch_type property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "NOARCH"
+ ARCH_TYPE_NOARCH = "NOARCH"
+
+ #: A constant which can be used with the arch_type property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "SRC"
+ ARCH_TYPE_SRC = "SRC"
+
+ #: A constant which can be used with the arch_type property of a CreatePrivateSoftwareSourceDetails.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreatePrivateSoftwareSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CreatePrivateSoftwareSourceDetails.software_source_type` attribute
+ of this class is ``PRIVATE`` 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 CreatePrivateSoftwareSourceDetails.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this CreatePrivateSoftwareSourceDetails.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this CreatePrivateSoftwareSourceDetails.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this CreatePrivateSoftwareSourceDetails.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreatePrivateSoftwareSourceDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreatePrivateSoftwareSourceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param os_family:
+ The value to assign to the os_family property of this CreatePrivateSoftwareSourceDetails.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this CreatePrivateSoftwareSourceDetails.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+ :type arch_type: str
+
+ :param url:
+ The value to assign to the url property of this CreatePrivateSoftwareSourceDetails.
+ :type url: str
+
+ :param gpg_key_url:
+ The value to assign to the gpg_key_url property of this CreatePrivateSoftwareSourceDetails.
+ :type gpg_key_url: str
+
+ :param is_gpg_check_enabled:
+ The value to assign to the is_gpg_check_enabled property of this CreatePrivateSoftwareSourceDetails.
+ :type is_gpg_check_enabled: bool
+
+ :param is_ssl_verify_enabled:
+ The value to assign to the is_ssl_verify_enabled property of this CreatePrivateSoftwareSourceDetails.
+ :type is_ssl_verify_enabled: bool
+
+ :param advanced_repo_options:
+ The value to assign to the advanced_repo_options property of this CreatePrivateSoftwareSourceDetails.
+ :type advanced_repo_options: str
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this CreatePrivateSoftwareSourceDetails.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'os_family': 'str',
+ 'arch_type': 'str',
+ 'url': 'str',
+ 'gpg_key_url': 'str',
+ 'is_gpg_check_enabled': 'bool',
+ 'is_ssl_verify_enabled': 'bool',
+ 'advanced_repo_options': 'str',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType',
+ 'url': 'url',
+ 'gpg_key_url': 'gpgKeyUrl',
+ 'is_gpg_check_enabled': 'isGpgCheckEnabled',
+ 'is_ssl_verify_enabled': 'isSslVerifyEnabled',
+ 'advanced_repo_options': 'advancedRepoOptions',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._compartment_id = None
+ self._display_name = None
+ self._description = None
+ self._software_source_type = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._os_family = None
+ self._arch_type = None
+ self._url = None
+ self._gpg_key_url = None
+ self._is_gpg_check_enabled = None
+ self._is_ssl_verify_enabled = None
+ self._advanced_repo_options = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'PRIVATE'
+
+ @property
+ def os_family(self):
+ """
+ **[Required]** Gets the os_family of this CreatePrivateSoftwareSourceDetails.
+ The OS family for the private software source.
+
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+
+
+ :return: The os_family of this CreatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._os_family
+
+ @os_family.setter
+ def os_family(self, os_family):
+ """
+ Sets the os_family of this CreatePrivateSoftwareSourceDetails.
+ The OS family for the private software source.
+
+
+ :param os_family: The os_family of this CreatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
+ if not value_allowed_none_or_none_sentinel(os_family, allowed_values):
+ raise ValueError(
+ f"Invalid value for `os_family`, must be None or one of {allowed_values}"
+ )
+ self._os_family = os_family
+
+ @property
+ def arch_type(self):
+ """
+ **[Required]** Gets the arch_type of this CreatePrivateSoftwareSourceDetails.
+ The architecture type supported by the private software source.
+
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+
+
+ :return: The arch_type of this CreatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._arch_type
+
+ @arch_type.setter
+ def arch_type(self, arch_type):
+ """
+ Sets the arch_type of this CreatePrivateSoftwareSourceDetails.
+ The architecture type supported by the private software source.
+
+
+ :param arch_type: The arch_type of this CreatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
+ if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `arch_type`, must be None or one of {allowed_values}"
+ )
+ self._arch_type = arch_type
+
+ @property
+ def url(self):
+ """
+ **[Required]** Gets the url of this CreatePrivateSoftwareSourceDetails.
+ URL for the private software source.
+
+
+ :return: The url of this CreatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._url
+
+ @url.setter
+ def url(self, url):
+ """
+ Sets the url of this CreatePrivateSoftwareSourceDetails.
+ URL for the private software source.
+
+
+ :param url: The url of this CreatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ self._url = url
+
+ @property
+ def gpg_key_url(self):
+ """
+ Gets the gpg_key_url of this CreatePrivateSoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :return: The gpg_key_url of this CreatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._gpg_key_url
+
+ @gpg_key_url.setter
+ def gpg_key_url(self, gpg_key_url):
+ """
+ Sets the gpg_key_url of this CreatePrivateSoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :param gpg_key_url: The gpg_key_url of this CreatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ self._gpg_key_url = gpg_key_url
+
+ @property
+ def is_gpg_check_enabled(self):
+ """
+ Gets the is_gpg_check_enabled of this CreatePrivateSoftwareSourceDetails.
+ Whether signature verification should be done for the software source
+
+
+ :return: The is_gpg_check_enabled of this CreatePrivateSoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_gpg_check_enabled
+
+ @is_gpg_check_enabled.setter
+ def is_gpg_check_enabled(self, is_gpg_check_enabled):
+ """
+ Sets the is_gpg_check_enabled of this CreatePrivateSoftwareSourceDetails.
+ Whether signature verification should be done for the software source
+
+
+ :param is_gpg_check_enabled: The is_gpg_check_enabled of this CreatePrivateSoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_gpg_check_enabled = is_gpg_check_enabled
+
+ @property
+ def is_ssl_verify_enabled(self):
+ """
+ Gets the is_ssl_verify_enabled of this CreatePrivateSoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :return: The is_ssl_verify_enabled of this CreatePrivateSoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_ssl_verify_enabled
+
+ @is_ssl_verify_enabled.setter
+ def is_ssl_verify_enabled(self, is_ssl_verify_enabled):
+ """
+ Sets the is_ssl_verify_enabled of this CreatePrivateSoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :param is_ssl_verify_enabled: The is_ssl_verify_enabled of this CreatePrivateSoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_ssl_verify_enabled = is_ssl_verify_enabled
+
+ @property
+ def advanced_repo_options(self):
+ """
+ Gets the advanced_repo_options of this CreatePrivateSoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :return: The advanced_repo_options of this CreatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._advanced_repo_options
+
+ @advanced_repo_options.setter
+ def advanced_repo_options(self, advanced_repo_options):
+ """
+ Sets the advanced_repo_options of this CreatePrivateSoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :param advanced_repo_options: The advanced_repo_options of this CreatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ self._advanced_repo_options = advanced_repo_options
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this CreatePrivateSoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :return: The is_mirror_sync_allowed of this CreatePrivateSoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this CreatePrivateSoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this CreatePrivateSoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/create_profile_details.py b/src/oci/os_management_hub/models/create_profile_details.py
index 6c25a3c4c0..04faaff88e 100644
--- a/src/oci/os_management_hub/models/create_profile_details.py
+++ b/src/oci/os_management_hub/models/create_profile_details.py
@@ -41,6 +41,7 @@ def __init__(self, **kwargs):
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.os_management_hub.models.CreateGroupProfileDetails`
+ * :class:`~oci.os_management_hub.models.CreateWindowsStandAloneProfileDetails`
* :class:`~oci.os_management_hub.models.CreateStationProfileDetails`
* :class:`~oci.os_management_hub.models.CreateSoftwareSourceProfileDetails`
* :class:`~oci.os_management_hub.models.CreateLifecycleProfileDetails`
@@ -130,6 +131,9 @@ def get_subtype(object_dictionary):
if type == 'GROUP':
return 'CreateGroupProfileDetails'
+ if type == 'WINDOWS_STANDALONE':
+ return 'CreateWindowsStandAloneProfileDetails'
+
if type == 'STATION':
return 'CreateStationProfileDetails'
@@ -145,7 +149,8 @@ def get_subtype(object_dictionary):
def display_name(self):
"""
**[Required]** Gets the display_name of this CreateProfileDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique and you can change the name later. Avoid entering
+ confidential information.
:return: The display_name of this CreateProfileDetails.
@@ -157,7 +162,8 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreateProfileDetails.
- A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
+ A user-friendly name. Does not have to be unique and you can change the name later. Avoid entering
+ confidential information.
:param display_name: The display_name of this CreateProfileDetails.
@@ -221,7 +227,8 @@ def description(self, description):
def management_station_id(self):
"""
Gets the management_station_id of this CreateProfileDetails.
- The `OCID`__ of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
+ description: The `OCID`__ of the management station to associate
+ with an instance once registered. This is required when creating a profile for non-OCI instances.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -235,7 +242,8 @@ def management_station_id(self):
def management_station_id(self, management_station_id):
"""
Sets the management_station_id of this CreateProfileDetails.
- The `OCID`__ of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
+ description: The `OCID`__ of the management station to associate
+ with an instance once registered. This is required when creating a profile for non-OCI instances.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
diff --git a/src/oci/os_management_hub/models/create_scheduled_job_details.py b/src/oci/os_management_hub/models/create_scheduled_job_details.py
index 8613670607..22342c44fc 100644
--- a/src/oci/os_management_hub/models/create_scheduled_job_details.py
+++ b/src/oci/os_management_hub/models/create_scheduled_job_details.py
@@ -97,6 +97,10 @@ def __init__(self, **kwargs):
The value to assign to the is_managed_by_autonomous_linux property of this CreateScheduledJobDetails.
:type is_managed_by_autonomous_linux: bool
+ :param work_request_id:
+ The value to assign to the work_request_id property of this CreateScheduledJobDetails.
+ :type work_request_id: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -115,7 +119,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'retry_intervals': 'list[int]',
- 'is_managed_by_autonomous_linux': 'bool'
+ 'is_managed_by_autonomous_linux': 'bool',
+ 'work_request_id': 'str'
}
self.attribute_map = {
@@ -135,7 +140,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'retry_intervals': 'retryIntervals',
- 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux'
+ 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux',
+ 'work_request_id': 'workRequestId'
}
self._compartment_id = None
@@ -155,6 +161,7 @@ def __init__(self, **kwargs):
self._defined_tags = None
self._retry_intervals = None
self._is_managed_by_autonomous_linux = None
+ self._work_request_id = None
@property
def compartment_id(self):
@@ -659,6 +666,34 @@ def is_managed_by_autonomous_linux(self, is_managed_by_autonomous_linux):
"""
self._is_managed_by_autonomous_linux = is_managed_by_autonomous_linux
+ @property
+ def work_request_id(self):
+ """
+ Gets the work_request_id of this CreateScheduledJobDetails.
+ The `OCID`__ for the work request that will be rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The work_request_id of this CreateScheduledJobDetails.
+ :rtype: str
+ """
+ return self._work_request_id
+
+ @work_request_id.setter
+ def work_request_id(self, work_request_id):
+ """
+ Sets the work_request_id of this CreateScheduledJobDetails.
+ The `OCID`__ for the work request that will be rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param work_request_id: The work_request_id of this CreateScheduledJobDetails.
+ :type: str
+ """
+ self._work_request_id = work_request_id
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/create_software_source_details.py b/src/oci/os_management_hub/models/create_software_source_details.py
index 45c07d915e..2119c32528 100644
--- a/src/oci/os_management_hub/models/create_software_source_details.py
+++ b/src/oci/os_management_hub/models/create_software_source_details.py
@@ -27,6 +27,14 @@ class CreateSoftwareSourceDetails(object):
#: This constant has a value of "VERSIONED"
SOFTWARE_SOURCE_TYPE_VERSIONED = "VERSIONED"
+ #: A constant which can be used with the software_source_type property of a CreateSoftwareSourceDetails.
+ #: This constant has a value of "PRIVATE"
+ SOFTWARE_SOURCE_TYPE_PRIVATE = "PRIVATE"
+
+ #: A constant which can be used with the software_source_type property of a CreateSoftwareSourceDetails.
+ #: This constant has a value of "THIRD_PARTY"
+ SOFTWARE_SOURCE_TYPE_THIRD_PARTY = "THIRD_PARTY"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateSoftwareSourceDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
@@ -34,7 +42,9 @@ def __init__(self, **kwargs):
* :class:`~oci.os_management_hub.models.CreateCustomSoftwareSourceDetails`
* :class:`~oci.os_management_hub.models.CreateVendorSoftwareSourceDetails`
+ * :class:`~oci.os_management_hub.models.CreatePrivateSoftwareSourceDetails`
* :class:`~oci.os_management_hub.models.CreateVersionedCustomSoftwareSourceDetails`
+ * :class:`~oci.os_management_hub.models.CreateThirdPartySoftwareSourceDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -52,7 +62,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this CreateSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
@@ -103,8 +113,14 @@ def get_subtype(object_dictionary):
if type == 'VENDOR':
return 'CreateVendorSoftwareSourceDetails'
+ if type == 'PRIVATE':
+ return 'CreatePrivateSoftwareSourceDetails'
+
if type == 'VERSIONED':
return 'CreateVersionedCustomSoftwareSourceDetails'
+
+ if type == 'THIRD_PARTY':
+ return 'CreateThirdPartySoftwareSourceDetails'
else:
return 'CreateSoftwareSourceDetails'
@@ -190,7 +206,7 @@ def software_source_type(self):
**[Required]** Gets the software_source_type of this CreateSoftwareSourceDetails.
Type of software source.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:return: The software_source_type of this CreateSoftwareSourceDetails.
@@ -208,7 +224,7 @@ def software_source_type(self, software_source_type):
:param software_source_type: The software_source_type of this CreateSoftwareSourceDetails.
:type: str
"""
- allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
+ allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
if not value_allowed_none_or_none_sentinel(software_source_type, allowed_values):
raise ValueError(
f"Invalid value for `software_source_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/os_management_hub/models/create_software_source_profile_details.py b/src/oci/os_management_hub/models/create_software_source_profile_details.py
index 8444b70a5e..bdcf6536b7 100644
--- a/src/oci/os_management_hub/models/create_software_source_profile_details.py
+++ b/src/oci/os_management_hub/models/create_software_source_profile_details.py
@@ -75,6 +75,10 @@ class CreateSoftwareSourceProfileDetails(CreateProfileDetails):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a CreateSoftwareSourceProfileDetails.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateSoftwareSourceProfileDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CreateSoftwareSourceProfileDetails.profile_type` attribute
@@ -130,7 +134,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this CreateSoftwareSourceProfileDetails.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param software_source_ids:
@@ -253,7 +257,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this CreateSoftwareSourceProfileDetails.
The architecture type.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:return: The arch_type of this CreateSoftwareSourceProfileDetails.
@@ -271,7 +275,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this CreateSoftwareSourceProfileDetails.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
raise ValueError(
f"Invalid value for `arch_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/os_management_hub/models/create_station_profile_details.py b/src/oci/os_management_hub/models/create_station_profile_details.py
index ad2f733f21..1a0f1427bd 100644
--- a/src/oci/os_management_hub/models/create_station_profile_details.py
+++ b/src/oci/os_management_hub/models/create_station_profile_details.py
@@ -75,6 +75,10 @@ class CreateStationProfileDetails(CreateProfileDetails):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a CreateStationProfileDetails.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateStationProfileDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CreateStationProfileDetails.profile_type` attribute
@@ -130,7 +134,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this CreateStationProfileDetails.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
"""
@@ -246,7 +250,7 @@ def arch_type(self):
Gets the arch_type of this CreateStationProfileDetails.
The architecture type.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:return: The arch_type of this CreateStationProfileDetails.
@@ -264,7 +268,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this CreateStationProfileDetails.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
raise ValueError(
f"Invalid value for `arch_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/os_management_hub/models/create_third_party_software_source_details.py b/src/oci/os_management_hub/models/create_third_party_software_source_details.py
new file mode 100644
index 0000000000..91705b6c24
--- /dev/null
+++ b/src/oci/os_management_hub/models/create_third_party_software_source_details.py
@@ -0,0 +1,406 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .create_software_source_details import CreateSoftwareSourceDetails
+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 CreateThirdPartySoftwareSourceDetails(CreateSoftwareSourceDetails):
+ """
+ Provides the information used to create a third-party software source.
+ """
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_9"
+ OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_8"
+ OS_FAMILY_ORACLE_LINUX_8 = "ORACLE_LINUX_8"
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_7"
+ OS_FAMILY_ORACLE_LINUX_7 = "ORACLE_LINUX_7"
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "ORACLE_LINUX_6"
+ OS_FAMILY_ORACLE_LINUX_6 = "ORACLE_LINUX_6"
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2016"
+ OS_FAMILY_WINDOWS_SERVER_2016 = "WINDOWS_SERVER_2016"
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2019"
+ OS_FAMILY_WINDOWS_SERVER_2019 = "WINDOWS_SERVER_2019"
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2022"
+ OS_FAMILY_WINDOWS_SERVER_2022 = "WINDOWS_SERVER_2022"
+
+ #: A constant which can be used with the os_family property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "ALL"
+ OS_FAMILY_ALL = "ALL"
+
+ #: A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "X86_64"
+ ARCH_TYPE_X86_64 = "X86_64"
+
+ #: A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "AARCH64"
+ ARCH_TYPE_AARCH64 = "AARCH64"
+
+ #: A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "I686"
+ ARCH_TYPE_I686 = "I686"
+
+ #: A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "NOARCH"
+ ARCH_TYPE_NOARCH = "NOARCH"
+
+ #: A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "SRC"
+ ARCH_TYPE_SRC = "SRC"
+
+ #: A constant which can be used with the arch_type property of a CreateThirdPartySoftwareSourceDetails.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateThirdPartySoftwareSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CreateThirdPartySoftwareSourceDetails.software_source_type` attribute
+ of this class is ``THIRD_PARTY`` 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 CreateThirdPartySoftwareSourceDetails.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this CreateThirdPartySoftwareSourceDetails.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this CreateThirdPartySoftwareSourceDetails.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this CreateThirdPartySoftwareSourceDetails.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateThirdPartySoftwareSourceDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateThirdPartySoftwareSourceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param os_family:
+ The value to assign to the os_family property of this CreateThirdPartySoftwareSourceDetails.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this CreateThirdPartySoftwareSourceDetails.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+ :type arch_type: str
+
+ :param url:
+ The value to assign to the url property of this CreateThirdPartySoftwareSourceDetails.
+ :type url: str
+
+ :param gpg_key_url:
+ The value to assign to the gpg_key_url property of this CreateThirdPartySoftwareSourceDetails.
+ :type gpg_key_url: str
+
+ :param is_gpg_check_enabled:
+ The value to assign to the is_gpg_check_enabled property of this CreateThirdPartySoftwareSourceDetails.
+ :type is_gpg_check_enabled: bool
+
+ :param is_ssl_verify_enabled:
+ The value to assign to the is_ssl_verify_enabled property of this CreateThirdPartySoftwareSourceDetails.
+ :type is_ssl_verify_enabled: bool
+
+ :param advanced_repo_options:
+ The value to assign to the advanced_repo_options property of this CreateThirdPartySoftwareSourceDetails.
+ :type advanced_repo_options: str
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this CreateThirdPartySoftwareSourceDetails.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'os_family': 'str',
+ 'arch_type': 'str',
+ 'url': 'str',
+ 'gpg_key_url': 'str',
+ 'is_gpg_check_enabled': 'bool',
+ 'is_ssl_verify_enabled': 'bool',
+ 'advanced_repo_options': 'str',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType',
+ 'url': 'url',
+ 'gpg_key_url': 'gpgKeyUrl',
+ 'is_gpg_check_enabled': 'isGpgCheckEnabled',
+ 'is_ssl_verify_enabled': 'isSslVerifyEnabled',
+ 'advanced_repo_options': 'advancedRepoOptions',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._compartment_id = None
+ self._display_name = None
+ self._description = None
+ self._software_source_type = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._os_family = None
+ self._arch_type = None
+ self._url = None
+ self._gpg_key_url = None
+ self._is_gpg_check_enabled = None
+ self._is_ssl_verify_enabled = None
+ self._advanced_repo_options = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'THIRD_PARTY'
+
+ @property
+ def os_family(self):
+ """
+ **[Required]** Gets the os_family of this CreateThirdPartySoftwareSourceDetails.
+ The OS family for the third-party software source.
+
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+
+
+ :return: The os_family of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._os_family
+
+ @os_family.setter
+ def os_family(self, os_family):
+ """
+ Sets the os_family of this CreateThirdPartySoftwareSourceDetails.
+ The OS family for the third-party software source.
+
+
+ :param os_family: The os_family of this CreateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
+ if not value_allowed_none_or_none_sentinel(os_family, allowed_values):
+ raise ValueError(
+ f"Invalid value for `os_family`, must be None or one of {allowed_values}"
+ )
+ self._os_family = os_family
+
+ @property
+ def arch_type(self):
+ """
+ **[Required]** Gets the arch_type of this CreateThirdPartySoftwareSourceDetails.
+ The architecture type supported by the third-party software source.
+
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+
+
+ :return: The arch_type of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._arch_type
+
+ @arch_type.setter
+ def arch_type(self, arch_type):
+ """
+ Sets the arch_type of this CreateThirdPartySoftwareSourceDetails.
+ The architecture type supported by the third-party software source.
+
+
+ :param arch_type: The arch_type of this CreateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
+ if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `arch_type`, must be None or one of {allowed_values}"
+ )
+ self._arch_type = arch_type
+
+ @property
+ def url(self):
+ """
+ **[Required]** Gets the url of this CreateThirdPartySoftwareSourceDetails.
+ URL for the third-party software source.
+
+
+ :return: The url of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._url
+
+ @url.setter
+ def url(self, url):
+ """
+ Sets the url of this CreateThirdPartySoftwareSourceDetails.
+ URL for the third-party software source.
+
+
+ :param url: The url of this CreateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ self._url = url
+
+ @property
+ def gpg_key_url(self):
+ """
+ Gets the gpg_key_url of this CreateThirdPartySoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :return: The gpg_key_url of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._gpg_key_url
+
+ @gpg_key_url.setter
+ def gpg_key_url(self, gpg_key_url):
+ """
+ Sets the gpg_key_url of this CreateThirdPartySoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :param gpg_key_url: The gpg_key_url of this CreateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ self._gpg_key_url = gpg_key_url
+
+ @property
+ def is_gpg_check_enabled(self):
+ """
+ Gets the is_gpg_check_enabled of this CreateThirdPartySoftwareSourceDetails.
+ Whether signature verification should be done for the software source.
+
+
+ :return: The is_gpg_check_enabled of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_gpg_check_enabled
+
+ @is_gpg_check_enabled.setter
+ def is_gpg_check_enabled(self, is_gpg_check_enabled):
+ """
+ Sets the is_gpg_check_enabled of this CreateThirdPartySoftwareSourceDetails.
+ Whether signature verification should be done for the software source.
+
+
+ :param is_gpg_check_enabled: The is_gpg_check_enabled of this CreateThirdPartySoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_gpg_check_enabled = is_gpg_check_enabled
+
+ @property
+ def is_ssl_verify_enabled(self):
+ """
+ Gets the is_ssl_verify_enabled of this CreateThirdPartySoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :return: The is_ssl_verify_enabled of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_ssl_verify_enabled
+
+ @is_ssl_verify_enabled.setter
+ def is_ssl_verify_enabled(self, is_ssl_verify_enabled):
+ """
+ Sets the is_ssl_verify_enabled of this CreateThirdPartySoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :param is_ssl_verify_enabled: The is_ssl_verify_enabled of this CreateThirdPartySoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_ssl_verify_enabled = is_ssl_verify_enabled
+
+ @property
+ def advanced_repo_options(self):
+ """
+ Gets the advanced_repo_options of this CreateThirdPartySoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :return: The advanced_repo_options of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._advanced_repo_options
+
+ @advanced_repo_options.setter
+ def advanced_repo_options(self, advanced_repo_options):
+ """
+ Sets the advanced_repo_options of this CreateThirdPartySoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :param advanced_repo_options: The advanced_repo_options of this CreateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ self._advanced_repo_options = advanced_repo_options
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this CreateThirdPartySoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :return: The is_mirror_sync_allowed of this CreateThirdPartySoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this CreateThirdPartySoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this CreateThirdPartySoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/create_vendor_software_source_details.py b/src/oci/os_management_hub/models/create_vendor_software_source_details.py
index 770112f271..bc3ed7df77 100644
--- a/src/oci/os_management_hub/models/create_vendor_software_source_details.py
+++ b/src/oci/os_management_hub/models/create_vendor_software_source_details.py
@@ -35,7 +35,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this CreateVendorSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
diff --git a/src/oci/os_management_hub/models/create_versioned_custom_software_source_details.py b/src/oci/os_management_hub/models/create_versioned_custom_software_source_details.py
index c0fd40f5f4..80e5e060d5 100644
--- a/src/oci/os_management_hub/models/create_versioned_custom_software_source_details.py
+++ b/src/oci/os_management_hub/models/create_versioned_custom_software_source_details.py
@@ -15,6 +15,18 @@ class CreateVersionedCustomSoftwareSourceDetails(CreateSoftwareSourceDetails):
Provides the information used to create a versioned custom software source.
"""
+ #: A constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails.
+ #: This constant has a value of "FILTER"
+ SOFTWARE_SOURCE_SUB_TYPE_FILTER = "FILTER"
+
+ #: A constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails.
+ #: This constant has a value of "MANIFEST"
+ SOFTWARE_SOURCE_SUB_TYPE_MANIFEST = "MANIFEST"
+
+ #: A constant which can be used with the software_source_sub_type property of a CreateVersionedCustomSoftwareSourceDetails.
+ #: This constant has a value of "SNAPSHOT"
+ SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT = "SNAPSHOT"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateVersionedCustomSoftwareSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CreateVersionedCustomSoftwareSourceDetails.software_source_type` attribute
@@ -35,7 +47,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this CreateVersionedCustomSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
@@ -74,6 +86,11 @@ def __init__(self, **kwargs):
The value to assign to the packages property of this CreateVersionedCustomSoftwareSourceDetails.
:type packages: list[str]
+ :param software_source_sub_type:
+ The value to assign to the software_source_sub_type property of this CreateVersionedCustomSoftwareSourceDetails.
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT"
+ :type software_source_sub_type: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -88,7 +105,8 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'bool',
'is_created_from_package_list': 'bool',
'is_latest_content_only': 'bool',
- 'packages': 'list[str]'
+ 'packages': 'list[str]',
+ 'software_source_sub_type': 'str'
}
self.attribute_map = {
@@ -104,7 +122,8 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'isAutoResolveDependencies',
'is_created_from_package_list': 'isCreatedFromPackageList',
'is_latest_content_only': 'isLatestContentOnly',
- 'packages': 'packages'
+ 'packages': 'packages',
+ 'software_source_sub_type': 'softwareSourceSubType'
}
self._compartment_id = None
@@ -120,6 +139,7 @@ def __init__(self, **kwargs):
self._is_created_from_package_list = None
self._is_latest_content_only = None
self._packages = None
+ self._software_source_sub_type = None
self._software_source_type = 'VERSIONED'
@property
@@ -296,6 +316,37 @@ def packages(self, packages):
"""
self._packages = packages
+ @property
+ def software_source_sub_type(self):
+ """
+ Gets the software_source_sub_type of this CreateVersionedCustomSoftwareSourceDetails.
+ The creation type of a software source.
+
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT"
+
+
+ :return: The software_source_sub_type of this CreateVersionedCustomSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._software_source_sub_type
+
+ @software_source_sub_type.setter
+ def software_source_sub_type(self, software_source_sub_type):
+ """
+ Sets the software_source_sub_type of this CreateVersionedCustomSoftwareSourceDetails.
+ The creation type of a software source.
+
+
+ :param software_source_sub_type: The software_source_sub_type of this CreateVersionedCustomSoftwareSourceDetails.
+ :type: str
+ """
+ allowed_values = ["FILTER", "MANIFEST", "SNAPSHOT"]
+ if not value_allowed_none_or_none_sentinel(software_source_sub_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `software_source_sub_type`, must be None or one of {allowed_values}"
+ )
+ self._software_source_sub_type = software_source_sub_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/create_windows_stand_alone_profile_details.py b/src/oci/os_management_hub/models/create_windows_stand_alone_profile_details.py
new file mode 100644
index 0000000000..7950ad64ad
--- /dev/null
+++ b/src/oci/os_management_hub/models/create_windows_stand_alone_profile_details.py
@@ -0,0 +1,288 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .create_profile_details import CreateProfileDetails
+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 CreateWindowsStandAloneProfileDetails(CreateProfileDetails):
+ """
+ Provides the information used to create a Windows standalone registration profile.
+ """
+
+ #: A constant which can be used with the vendor_name property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "ORACLE"
+ VENDOR_NAME_ORACLE = "ORACLE"
+
+ #: A constant which can be used with the vendor_name property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "MICROSOFT"
+ VENDOR_NAME_MICROSOFT = "MICROSOFT"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "ORACLE_LINUX_9"
+ OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "ORACLE_LINUX_8"
+ OS_FAMILY_ORACLE_LINUX_8 = "ORACLE_LINUX_8"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "ORACLE_LINUX_7"
+ OS_FAMILY_ORACLE_LINUX_7 = "ORACLE_LINUX_7"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "ORACLE_LINUX_6"
+ OS_FAMILY_ORACLE_LINUX_6 = "ORACLE_LINUX_6"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2016"
+ OS_FAMILY_WINDOWS_SERVER_2016 = "WINDOWS_SERVER_2016"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2019"
+ OS_FAMILY_WINDOWS_SERVER_2019 = "WINDOWS_SERVER_2019"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "WINDOWS_SERVER_2022"
+ OS_FAMILY_WINDOWS_SERVER_2022 = "WINDOWS_SERVER_2022"
+
+ #: A constant which can be used with the os_family property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "ALL"
+ OS_FAMILY_ALL = "ALL"
+
+ #: A constant which can be used with the arch_type property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "X86_64"
+ ARCH_TYPE_X86_64 = "X86_64"
+
+ #: A constant which can be used with the arch_type property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "AARCH64"
+ ARCH_TYPE_AARCH64 = "AARCH64"
+
+ #: A constant which can be used with the arch_type property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "I686"
+ ARCH_TYPE_I686 = "I686"
+
+ #: A constant which can be used with the arch_type property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "NOARCH"
+ ARCH_TYPE_NOARCH = "NOARCH"
+
+ #: A constant which can be used with the arch_type property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "SRC"
+ ARCH_TYPE_SRC = "SRC"
+
+ #: A constant which can be used with the arch_type property of a CreateWindowsStandAloneProfileDetails.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateWindowsStandAloneProfileDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CreateWindowsStandAloneProfileDetails.profile_type` attribute
+ of this class is ``WINDOWS_STANDALONE`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param display_name:
+ The value to assign to the display_name property of this CreateWindowsStandAloneProfileDetails.
+ :type display_name: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CreateWindowsStandAloneProfileDetails.
+ :type compartment_id: str
+
+ :param description:
+ The value to assign to the description property of this CreateWindowsStandAloneProfileDetails.
+ :type description: str
+
+ :param management_station_id:
+ The value to assign to the management_station_id property of this CreateWindowsStandAloneProfileDetails.
+ :type management_station_id: str
+
+ :param profile_type:
+ The value to assign to the profile_type property of this CreateWindowsStandAloneProfileDetails.
+ Allowed values for this property are: "SOFTWARESOURCE", "GROUP", "LIFECYCLE", "STATION", "WINDOWS_STANDALONE"
+ :type profile_type: str
+
+ :param registration_type:
+ The value to assign to the registration_type property of this CreateWindowsStandAloneProfileDetails.
+ :type registration_type: str
+
+ :param is_default_profile:
+ The value to assign to the is_default_profile property of this CreateWindowsStandAloneProfileDetails.
+ :type is_default_profile: bool
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateWindowsStandAloneProfileDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateWindowsStandAloneProfileDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param vendor_name:
+ The value to assign to the vendor_name property of this CreateWindowsStandAloneProfileDetails.
+ Allowed values for this property are: "ORACLE", "MICROSOFT"
+ :type vendor_name: str
+
+ :param os_family:
+ The value to assign to the os_family property of this CreateWindowsStandAloneProfileDetails.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this CreateWindowsStandAloneProfileDetails.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+ :type arch_type: str
+
+ """
+ self.swagger_types = {
+ 'display_name': 'str',
+ 'compartment_id': 'str',
+ 'description': 'str',
+ 'management_station_id': 'str',
+ 'profile_type': 'str',
+ 'registration_type': 'str',
+ 'is_default_profile': 'bool',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'vendor_name': 'str',
+ 'os_family': 'str',
+ 'arch_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'display_name': 'displayName',
+ 'compartment_id': 'compartmentId',
+ 'description': 'description',
+ 'management_station_id': 'managementStationId',
+ 'profile_type': 'profileType',
+ 'registration_type': 'registrationType',
+ 'is_default_profile': 'isDefaultProfile',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'vendor_name': 'vendorName',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType'
+ }
+
+ self._display_name = None
+ self._compartment_id = None
+ self._description = None
+ self._management_station_id = None
+ self._profile_type = None
+ self._registration_type = None
+ self._is_default_profile = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._vendor_name = None
+ self._os_family = None
+ self._arch_type = None
+ self._profile_type = 'WINDOWS_STANDALONE'
+
+ @property
+ def vendor_name(self):
+ """
+ **[Required]** Gets the vendor_name of this CreateWindowsStandAloneProfileDetails.
+ The vendor of the operating system for the instance.
+
+ Allowed values for this property are: "ORACLE", "MICROSOFT"
+
+
+ :return: The vendor_name of this CreateWindowsStandAloneProfileDetails.
+ :rtype: str
+ """
+ return self._vendor_name
+
+ @vendor_name.setter
+ def vendor_name(self, vendor_name):
+ """
+ Sets the vendor_name of this CreateWindowsStandAloneProfileDetails.
+ The vendor of the operating system for the instance.
+
+
+ :param vendor_name: The vendor_name of this CreateWindowsStandAloneProfileDetails.
+ :type: str
+ """
+ allowed_values = ["ORACLE", "MICROSOFT"]
+ if not value_allowed_none_or_none_sentinel(vendor_name, allowed_values):
+ raise ValueError(
+ f"Invalid value for `vendor_name`, must be None or one of {allowed_values}"
+ )
+ self._vendor_name = vendor_name
+
+ @property
+ def os_family(self):
+ """
+ **[Required]** Gets the os_family of this CreateWindowsStandAloneProfileDetails.
+ The operating system family.
+
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+
+
+ :return: The os_family of this CreateWindowsStandAloneProfileDetails.
+ :rtype: str
+ """
+ return self._os_family
+
+ @os_family.setter
+ def os_family(self, os_family):
+ """
+ Sets the os_family of this CreateWindowsStandAloneProfileDetails.
+ The operating system family.
+
+
+ :param os_family: The os_family of this CreateWindowsStandAloneProfileDetails.
+ :type: str
+ """
+ allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
+ if not value_allowed_none_or_none_sentinel(os_family, allowed_values):
+ raise ValueError(
+ f"Invalid value for `os_family`, must be None or one of {allowed_values}"
+ )
+ self._os_family = os_family
+
+ @property
+ def arch_type(self):
+ """
+ **[Required]** Gets the arch_type of this CreateWindowsStandAloneProfileDetails.
+ The architecture type.
+
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+
+
+ :return: The arch_type of this CreateWindowsStandAloneProfileDetails.
+ :rtype: str
+ """
+ return self._arch_type
+
+ @arch_type.setter
+ def arch_type(self, arch_type):
+ """
+ Sets the arch_type of this CreateWindowsStandAloneProfileDetails.
+ The architecture type.
+
+
+ :param arch_type: The arch_type of this CreateWindowsStandAloneProfileDetails.
+ :type: str
+ """
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
+ if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `arch_type`, must be None or one of {allowed_values}"
+ )
+ self._arch_type = arch_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/os_management_hub/models/custom_software_source.py b/src/oci/os_management_hub/models/custom_software_source.py
index f942414014..7a4dd65748 100644
--- a/src/oci/os_management_hub/models/custom_software_source.py
+++ b/src/oci/os_management_hub/models/custom_software_source.py
@@ -17,6 +17,18 @@ class CustomSoftwareSource(SoftwareSource):
__ https://docs.cloud.oracle.com/iaas/osmh/doc/software-sources.htm
"""
+ #: A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource.
+ #: This constant has a value of "FILTER"
+ SOFTWARE_SOURCE_SUB_TYPE_FILTER = "FILTER"
+
+ #: A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource.
+ #: This constant has a value of "MANIFEST"
+ SOFTWARE_SOURCE_SUB_TYPE_MANIFEST = "MANIFEST"
+
+ #: A constant which can be used with the software_source_sub_type property of a CustomSoftwareSource.
+ #: This constant has a value of "SNAPSHOT"
+ SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT = "SNAPSHOT"
+
def __init__(self, **kwargs):
"""
Initializes a new CustomSoftwareSource object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CustomSoftwareSource.software_source_type` attribute
@@ -45,17 +57,20 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this CustomSoftwareSource.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
:param availability:
The value to assign to the availability property of this CustomSoftwareSource.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability: str
:param availability_at_oci:
The value to assign to the availability_at_oci property of this CustomSoftwareSource.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability_at_oci: str
:param repo_id:
@@ -64,17 +79,20 @@ def __init__(self, **kwargs):
:param os_family:
The value to assign to the os_family property of this CustomSoftwareSource.
- Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type os_family: str
:param arch_type:
The value to assign to the arch_type property of this CustomSoftwareSource.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this CustomSoftwareSource.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
:param package_count:
@@ -87,7 +105,8 @@ def __init__(self, **kwargs):
:param checksum_type:
The value to assign to the checksum_type property of this CustomSoftwareSource.
- Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512"
+ Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type checksum_type: str
:param gpg_key_url:
@@ -146,6 +165,16 @@ def __init__(self, **kwargs):
The value to assign to the packages property of this CustomSoftwareSource.
:type packages: list[str]
+ :param software_source_sub_type:
+ The value to assign to the software_source_sub_type property of this CustomSoftwareSource.
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type software_source_sub_type: str
+
+ :param time_metadata_updated:
+ The value to assign to the time_metadata_updated property of this CustomSoftwareSource.
+ :type time_metadata_updated: datetime
+
"""
self.swagger_types = {
'id': 'str',
@@ -176,7 +205,9 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'bool',
'is_created_from_package_list': 'bool',
'is_latest_content_only': 'bool',
- 'packages': 'list[str]'
+ 'packages': 'list[str]',
+ 'software_source_sub_type': 'str',
+ 'time_metadata_updated': 'datetime'
}
self.attribute_map = {
@@ -208,7 +239,9 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'isAutoResolveDependencies',
'is_created_from_package_list': 'isCreatedFromPackageList',
'is_latest_content_only': 'isLatestContentOnly',
- 'packages': 'packages'
+ 'packages': 'packages',
+ 'software_source_sub_type': 'softwareSourceSubType',
+ 'time_metadata_updated': 'timeMetadataUpdated'
}
self._id = None
@@ -240,6 +273,8 @@ def __init__(self, **kwargs):
self._is_created_from_package_list = None
self._is_latest_content_only = None
self._packages = None
+ self._software_source_sub_type = None
+ self._time_metadata_updated = None
self._software_source_type = 'CUSTOM'
@property
@@ -416,6 +451,64 @@ def packages(self, packages):
"""
self._packages = packages
+ @property
+ def software_source_sub_type(self):
+ """
+ Gets the software_source_sub_type of this CustomSoftwareSource.
+ Identifies how the custom software source was created.
+
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The software_source_sub_type of this CustomSoftwareSource.
+ :rtype: str
+ """
+ return self._software_source_sub_type
+
+ @software_source_sub_type.setter
+ def software_source_sub_type(self, software_source_sub_type):
+ """
+ Sets the software_source_sub_type of this CustomSoftwareSource.
+ Identifies how the custom software source was created.
+
+
+ :param software_source_sub_type: The software_source_sub_type of this CustomSoftwareSource.
+ :type: str
+ """
+ allowed_values = ["FILTER", "MANIFEST", "SNAPSHOT"]
+ if not value_allowed_none_or_none_sentinel(software_source_sub_type, allowed_values):
+ software_source_sub_type = 'UNKNOWN_ENUM_VALUE'
+ self._software_source_sub_type = software_source_sub_type
+
+ @property
+ def time_metadata_updated(self):
+ """
+ Gets the time_metadata_updated of this CustomSoftwareSource.
+ The date and time the metadata for this software source was last updated (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_metadata_updated of this CustomSoftwareSource.
+ :rtype: datetime
+ """
+ return self._time_metadata_updated
+
+ @time_metadata_updated.setter
+ def time_metadata_updated(self, time_metadata_updated):
+ """
+ Sets the time_metadata_updated of this CustomSoftwareSource.
+ The date and time the metadata for this software source was last updated (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_metadata_updated: The time_metadata_updated of this CustomSoftwareSource.
+ :type: datetime
+ """
+ self._time_metadata_updated = time_metadata_updated
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/custom_software_source_summary.py b/src/oci/os_management_hub/models/custom_software_source_summary.py
index c707052352..9def9c4891 100644
--- a/src/oci/os_management_hub/models/custom_software_source_summary.py
+++ b/src/oci/os_management_hub/models/custom_software_source_summary.py
@@ -12,9 +12,21 @@
@init_model_state_from_kwargs
class CustomSoftwareSourceSummary(SoftwareSourceSummary):
"""
- Indicates whether the service should create the software source from a list of packages provided by the user.
+ Provides summary information for a custom software source.
"""
+ #: A constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary.
+ #: This constant has a value of "FILTER"
+ SOFTWARE_SOURCE_SUB_TYPE_FILTER = "FILTER"
+
+ #: A constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary.
+ #: This constant has a value of "MANIFEST"
+ SOFTWARE_SOURCE_SUB_TYPE_MANIFEST = "MANIFEST"
+
+ #: A constant which can be used with the software_source_sub_type property of a CustomSoftwareSourceSummary.
+ #: This constant has a value of "SNAPSHOT"
+ SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT = "SNAPSHOT"
+
def __init__(self, **kwargs):
"""
Initializes a new CustomSoftwareSourceSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.CustomSoftwareSourceSummary.software_source_type` attribute
@@ -55,27 +67,32 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this CustomSoftwareSourceSummary.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
:param availability:
The value to assign to the availability property of this CustomSoftwareSourceSummary.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability: str
:param availability_at_oci:
The value to assign to the availability_at_oci property of this CustomSoftwareSourceSummary.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability_at_oci: str
:param os_family:
The value to assign to the os_family property of this CustomSoftwareSourceSummary.
- Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type os_family: str
:param arch_type:
The value to assign to the arch_type property of this CustomSoftwareSourceSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
:param package_count:
@@ -106,6 +123,12 @@ def __init__(self, **kwargs):
The value to assign to the vendor_software_sources property of this CustomSoftwareSourceSummary.
:type vendor_software_sources: list[oci.os_management_hub.models.Id]
+ :param software_source_sub_type:
+ The value to assign to the software_source_sub_type property of this CustomSoftwareSourceSummary.
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type software_source_sub_type: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -127,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))',
- 'vendor_software_sources': 'list[Id]'
+ 'vendor_software_sources': 'list[Id]',
+ 'software_source_sub_type': 'str'
}
self.attribute_map = {
@@ -150,7 +174,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
- 'vendor_software_sources': 'vendorSoftwareSources'
+ 'vendor_software_sources': 'vendorSoftwareSources',
+ 'software_source_sub_type': 'softwareSourceSubType'
}
self._id = None
@@ -173,6 +198,7 @@ def __init__(self, **kwargs):
self._defined_tags = None
self._system_tags = None
self._vendor_software_sources = None
+ self._software_source_sub_type = None
self._software_source_type = 'CUSTOM'
@property
@@ -199,6 +225,36 @@ def vendor_software_sources(self, vendor_software_sources):
"""
self._vendor_software_sources = vendor_software_sources
+ @property
+ def software_source_sub_type(self):
+ """
+ Gets the software_source_sub_type of this CustomSoftwareSourceSummary.
+ Identifies how the custom software source was created.
+
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The software_source_sub_type of this CustomSoftwareSourceSummary.
+ :rtype: str
+ """
+ return self._software_source_sub_type
+
+ @software_source_sub_type.setter
+ def software_source_sub_type(self, software_source_sub_type):
+ """
+ Sets the software_source_sub_type of this CustomSoftwareSourceSummary.
+ Identifies how the custom software source was created.
+
+
+ :param software_source_sub_type: The software_source_sub_type of this CustomSoftwareSourceSummary.
+ :type: str
+ """
+ allowed_values = ["FILTER", "MANIFEST", "SNAPSHOT"]
+ if not value_allowed_none_or_none_sentinel(software_source_sub_type, allowed_values):
+ software_source_sub_type = 'UNKNOWN_ENUM_VALUE'
+ self._software_source_sub_type = software_source_sub_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py b/src/oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py
index 3a503f0e89..df2018e3ae 100644
--- a/src/oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py
+++ b/src/oci/os_management_hub/models/detach_managed_instances_from_lifecycle_stage_details.py
@@ -38,7 +38,7 @@ def __init__(self, **kwargs):
@property
def managed_instance_details(self):
"""
- Gets the managed_instance_details of this DetachManagedInstancesFromLifecycleStageDetails.
+ **[Required]** Gets the managed_instance_details of this DetachManagedInstancesFromLifecycleStageDetails.
:return: The managed_instance_details of this DetachManagedInstancesFromLifecycleStageDetails.
:rtype: oci.os_management_hub.models.ManagedInstancesDetails
diff --git a/src/oci/os_management_hub/models/detach_software_sources_from_profile_details.py b/src/oci/os_management_hub/models/detach_software_sources_from_profile_details.py
new file mode 100644
index 0000000000..4212e16f1b
--- /dev/null
+++ b/src/oci/os_management_hub/models/detach_software_sources_from_profile_details.py
@@ -0,0 +1,76 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 DetachSoftwareSourcesFromProfileDetails(object):
+ """
+ Provides the information used to detach software sources from a profile.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DetachSoftwareSourcesFromProfileDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param software_sources:
+ The value to assign to the software_sources property of this DetachSoftwareSourcesFromProfileDetails.
+ :type software_sources: list[str]
+
+ """
+ self.swagger_types = {
+ 'software_sources': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'software_sources': 'softwareSources'
+ }
+
+ self._software_sources = None
+
+ @property
+ def software_sources(self):
+ """
+ **[Required]** Gets the software_sources of this DetachSoftwareSourcesFromProfileDetails.
+ List of software source `OCIDs`__ to detach from the profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The software_sources of this DetachSoftwareSourcesFromProfileDetails.
+ :rtype: list[str]
+ """
+ return self._software_sources
+
+ @software_sources.setter
+ def software_sources(self, software_sources):
+ """
+ Sets the software_sources of this DetachSoftwareSourcesFromProfileDetails.
+ List of software source `OCIDs`__ to detach from the profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param software_sources: The software_sources of this DetachSoftwareSourcesFromProfileDetails.
+ :type: list[str]
+ """
+ self._software_sources = software_sources
+
+ 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/os_management_hub/models/event.py b/src/oci/os_management_hub/models/event.py
index 3d68f482c8..ca154f4593 100644
--- a/src/oci/os_management_hub/models/event.py
+++ b/src/oci/os_management_hub/models/event.py
@@ -49,6 +49,14 @@ class Event(object):
#: This constant has a value of "MANAGEMENT_STATION"
TYPE_MANAGEMENT_STATION = "MANAGEMENT_STATION"
+ #: A constant which can be used with the type property of a Event.
+ #: This constant has a value of "SYSADMIN"
+ TYPE_SYSADMIN = "SYSADMIN"
+
+ #: A constant which can be used with the type property of a Event.
+ #: This constant has a value of "REBOOT"
+ TYPE_REBOOT = "REBOOT"
+
#: A constant which can be used with the lifecycle_state property of a Event.
#: This constant has a value of "CREATING"
LIFECYCLE_STATE_CREATING = "CREATING"
@@ -83,6 +91,8 @@ def __init__(self, **kwargs):
* :class:`~oci.os_management_hub.models.ManagementStationEvent`
* :class:`~oci.os_management_hub.models.SoftwareSourceEvent`
* :class:`~oci.os_management_hub.models.KernelCrashEvent`
+ * :class:`~oci.os_management_hub.models.SysadminEvent`
+ * :class:`~oci.os_management_hub.models.RebootEvent`
* :class:`~oci.os_management_hub.models.ExploitAttemptEvent`
* :class:`~oci.os_management_hub.models.AgentEvent`
* :class:`~oci.os_management_hub.models.KspliceUpdateEvent`
@@ -95,7 +105,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this Event.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type type: str
@@ -236,6 +246,12 @@ def get_subtype(object_dictionary):
if type == 'KERNEL_CRASH':
return 'KernelCrashEvent'
+ if type == 'SYSADMIN':
+ return 'SysadminEvent'
+
+ if type == 'REBOOT':
+ return 'RebootEvent'
+
if type == 'EXPLOIT_ATTEMPT':
return 'ExploitAttemptEvent'
@@ -288,8 +304,10 @@ def type(self):
* `SOFTWARE_SOURCE` - Software source
* `AGENT` - Agent
* `MANAGEMENT_STATION` - Management Station
+ * `SYSADMIN` - Used to identify attempts on fixing agent errors on the instance
+ * `REBOOT` - Reboot
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -311,12 +329,14 @@ def type(self, type):
* `SOFTWARE_SOURCE` - Software source
* `AGENT` - Agent
* `MANAGEMENT_STATION` - Management Station
+ * `SYSADMIN` - Used to identify attempts on fixing agent errors on the instance
+ * `REBOOT` - Reboot
:param type: The type of this Event.
:type: str
"""
- allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"]
+ allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"]
if not value_allowed_none_or_none_sentinel(type, allowed_values):
type = 'UNKNOWN_ENUM_VALUE'
self._type = type
diff --git a/src/oci/os_management_hub/models/event_summary.py b/src/oci/os_management_hub/models/event_summary.py
index 14c68d2c3c..32f13f54a0 100644
--- a/src/oci/os_management_hub/models/event_summary.py
+++ b/src/oci/os_management_hub/models/event_summary.py
@@ -47,6 +47,14 @@ class EventSummary(object):
#: This constant has a value of "MANAGEMENT_STATION"
TYPE_MANAGEMENT_STATION = "MANAGEMENT_STATION"
+ #: A constant which can be used with the type property of a EventSummary.
+ #: This constant has a value of "SYSADMIN"
+ TYPE_SYSADMIN = "SYSADMIN"
+
+ #: A constant which can be used with the type property of a EventSummary.
+ #: This constant has a value of "REBOOT"
+ TYPE_REBOOT = "REBOOT"
+
def __init__(self, **kwargs):
"""
Initializes a new EventSummary object with values from keyword arguments.
@@ -66,7 +74,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this EventSummary.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type type: str
@@ -246,7 +254,7 @@ def type(self):
**[Required]** Gets the type of this EventSummary.
Type of event.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -265,7 +273,7 @@ def type(self, type):
:param type: The type of this EventSummary.
:type: str
"""
- allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"]
+ allowed_values = ["KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"]
if not value_allowed_none_or_none_sentinel(type, allowed_values):
type = 'UNKNOWN_ENUM_VALUE'
self._type = type
diff --git a/src/oci/os_management_hub/models/exploit_attempt_event.py b/src/oci/os_management_hub/models/exploit_attempt_event.py
index f4e4fb792f..baddae980f 100644
--- a/src/oci/os_management_hub/models/exploit_attempt_event.py
+++ b/src/oci/os_management_hub/models/exploit_attempt_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this ExploitAttemptEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/group_profile.py b/src/oci/os_management_hub/models/group_profile.py
index a957f7c793..a7c0eeb45a 100644
--- a/src/oci/os_management_hub/models/group_profile.py
+++ b/src/oci/os_management_hub/models/group_profile.py
@@ -58,16 +58,24 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this GroupProfile.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param time_created:
The value to assign to the time_created property of this GroupProfile.
:type time_created: datetime
+ :param time_modified:
+ The value to assign to the time_modified property of this GroupProfile.
+ :type time_modified: datetime
+
+ :param profile_version:
+ The value to assign to the profile_version property of this GroupProfile.
+ :type profile_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this GroupProfile.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
:type lifecycle_state: str
:param registration_type:
@@ -111,6 +119,8 @@ def __init__(self, **kwargs):
'os_family': 'str',
'arch_type': 'str',
'time_created': 'datetime',
+ 'time_modified': 'datetime',
+ 'profile_version': 'str',
'lifecycle_state': 'str',
'registration_type': 'str',
'is_default_profile': 'bool',
@@ -132,6 +142,8 @@ def __init__(self, **kwargs):
'os_family': 'osFamily',
'arch_type': 'archType',
'time_created': 'timeCreated',
+ 'time_modified': 'timeModified',
+ 'profile_version': 'profileVersion',
'lifecycle_state': 'lifecycleState',
'registration_type': 'registrationType',
'is_default_profile': 'isDefaultProfile',
@@ -152,6 +164,8 @@ def __init__(self, **kwargs):
self._os_family = None
self._arch_type = None
self._time_created = None
+ self._time_modified = None
+ self._profile_version = None
self._lifecycle_state = None
self._registration_type = None
self._is_default_profile = None
diff --git a/src/oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py b/src/oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py
index de13e893cc..21c0082d2c 100644
--- a/src/oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py
+++ b/src/oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py
@@ -28,19 +28,26 @@ def __init__(self, **kwargs):
The value to assign to the work_request_details property of this InstallPackagesOnManagedInstanceGroupDetails.
:type work_request_details: oci.os_management_hub.models.WorkRequestDetails
+ :param is_latest:
+ The value to assign to the is_latest property of this InstallPackagesOnManagedInstanceGroupDetails.
+ :type is_latest: bool
+
"""
self.swagger_types = {
'package_names': 'list[str]',
- 'work_request_details': 'WorkRequestDetails'
+ 'work_request_details': 'WorkRequestDetails',
+ 'is_latest': 'bool'
}
self.attribute_map = {
'package_names': 'packageNames',
- 'work_request_details': 'workRequestDetails'
+ 'work_request_details': 'workRequestDetails',
+ 'is_latest': 'isLatest'
}
self._package_names = None
self._work_request_details = None
+ self._is_latest = None
@property
def package_names(self):
@@ -86,6 +93,30 @@ def work_request_details(self, work_request_details):
"""
self._work_request_details = work_request_details
+ @property
+ def is_latest(self):
+ """
+ Gets the is_latest of this InstallPackagesOnManagedInstanceGroupDetails.
+ Indicates whether this is the latest package version.
+
+
+ :return: The is_latest of this InstallPackagesOnManagedInstanceGroupDetails.
+ :rtype: bool
+ """
+ return self._is_latest
+
+ @is_latest.setter
+ def is_latest(self, is_latest):
+ """
+ Sets the is_latest of this InstallPackagesOnManagedInstanceGroupDetails.
+ Indicates whether this is the latest package version.
+
+
+ :param is_latest: The is_latest of this InstallPackagesOnManagedInstanceGroupDetails.
+ :type: bool
+ """
+ self._is_latest = is_latest
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/installed_package_summary.py b/src/oci/os_management_hub/models/installed_package_summary.py
index 9b1ae3df1a..4c48f168af 100644
--- a/src/oci/os_management_hub/models/installed_package_summary.py
+++ b/src/oci/os_management_hub/models/installed_package_summary.py
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this InstalledPackageSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
diff --git a/src/oci/os_management_hub/models/kernel_crash_event.py b/src/oci/os_management_hub/models/kernel_crash_event.py
index deb1f1783b..464b7b8061 100644
--- a/src/oci/os_management_hub/models/kernel_crash_event.py
+++ b/src/oci/os_management_hub/models/kernel_crash_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this KernelCrashEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/kernel_oops_event.py b/src/oci/os_management_hub/models/kernel_oops_event.py
index f611d0a917..2209f01313 100644
--- a/src/oci/os_management_hub/models/kernel_oops_event.py
+++ b/src/oci/os_management_hub/models/kernel_oops_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this KernelOopsEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/ksplice_update_event.py b/src/oci/os_management_hub/models/ksplice_update_event.py
index 30c2036bfb..7c8bcdc4a6 100644
--- a/src/oci/os_management_hub/models/ksplice_update_event.py
+++ b/src/oci/os_management_hub/models/ksplice_update_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this KspliceUpdateEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/lifecycle_environment.py b/src/oci/os_management_hub/models/lifecycle_environment.py
index 9c16b3c970..7a9f9d0b05 100644
--- a/src/oci/os_management_hub/models/lifecycle_environment.py
+++ b/src/oci/os_management_hub/models/lifecycle_environment.py
@@ -91,6 +91,10 @@ class LifecycleEnvironment(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a LifecycleEnvironment.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the vendor_name property of a LifecycleEnvironment.
#: This constant has a value of "ORACLE"
VENDOR_NAME_ORACLE = "ORACLE"
@@ -162,7 +166,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this LifecycleEnvironment.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -476,7 +480,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this LifecycleEnvironment.
The CPU architecture of the managed instances in the lifecycle environment.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -495,7 +499,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this LifecycleEnvironment.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
diff --git a/src/oci/os_management_hub/models/lifecycle_environment_summary.py b/src/oci/os_management_hub/models/lifecycle_environment_summary.py
index 5604153bfd..aa2f67cb35 100644
--- a/src/oci/os_management_hub/models/lifecycle_environment_summary.py
+++ b/src/oci/os_management_hub/models/lifecycle_environment_summary.py
@@ -35,6 +35,10 @@ class LifecycleEnvironmentSummary(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a LifecycleEnvironmentSummary.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the os_family property of a LifecycleEnvironmentSummary.
#: This constant has a value of "ORACLE_LINUX_9"
OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
@@ -126,7 +130,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this LifecycleEnvironmentSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -379,7 +383,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this LifecycleEnvironmentSummary.
The CPU architecture of the managed instances in the lifecycle environment.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -398,7 +402,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this LifecycleEnvironmentSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
diff --git a/src/oci/os_management_hub/models/lifecycle_profile.py b/src/oci/os_management_hub/models/lifecycle_profile.py
index 74f24cc0c8..6fa6065778 100644
--- a/src/oci/os_management_hub/models/lifecycle_profile.py
+++ b/src/oci/os_management_hub/models/lifecycle_profile.py
@@ -58,16 +58,24 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this LifecycleProfile.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param time_created:
The value to assign to the time_created property of this LifecycleProfile.
:type time_created: datetime
+ :param time_modified:
+ The value to assign to the time_modified property of this LifecycleProfile.
+ :type time_modified: datetime
+
+ :param profile_version:
+ The value to assign to the profile_version property of this LifecycleProfile.
+ :type profile_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this LifecycleProfile.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
:type lifecycle_state: str
:param registration_type:
@@ -115,6 +123,8 @@ def __init__(self, **kwargs):
'os_family': 'str',
'arch_type': 'str',
'time_created': 'datetime',
+ 'time_modified': 'datetime',
+ 'profile_version': 'str',
'lifecycle_state': 'str',
'registration_type': 'str',
'is_default_profile': 'bool',
@@ -137,6 +147,8 @@ def __init__(self, **kwargs):
'os_family': 'osFamily',
'arch_type': 'archType',
'time_created': 'timeCreated',
+ 'time_modified': 'timeModified',
+ 'profile_version': 'profileVersion',
'lifecycle_state': 'lifecycleState',
'registration_type': 'registrationType',
'is_default_profile': 'isDefaultProfile',
@@ -158,6 +170,8 @@ def __init__(self, **kwargs):
self._os_family = None
self._arch_type = None
self._time_created = None
+ self._time_modified = None
+ self._profile_version = None
self._lifecycle_state = None
self._registration_type = None
self._is_default_profile = None
diff --git a/src/oci/os_management_hub/models/lifecycle_stage.py b/src/oci/os_management_hub/models/lifecycle_stage.py
index 374cb1cab4..01e2c0a1ac 100644
--- a/src/oci/os_management_hub/models/lifecycle_stage.py
+++ b/src/oci/os_management_hub/models/lifecycle_stage.py
@@ -67,6 +67,10 @@ class LifecycleStage(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a LifecycleStage.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the vendor_name property of a LifecycleStage.
#: This constant has a value of "ORACLE"
VENDOR_NAME_ORACLE = "ORACLE"
@@ -152,7 +156,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this LifecycleStage.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -429,7 +433,7 @@ def arch_type(self):
Gets the arch_type of this LifecycleStage.
The CPU architecture of the managed instances in the lifecycle stage.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -448,7 +452,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this LifecycleStage.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
diff --git a/src/oci/os_management_hub/models/lifecycle_stage_summary.py b/src/oci/os_management_hub/models/lifecycle_stage_summary.py
index 5740af76dd..aac2eded80 100644
--- a/src/oci/os_management_hub/models/lifecycle_stage_summary.py
+++ b/src/oci/os_management_hub/models/lifecycle_stage_summary.py
@@ -67,6 +67,10 @@ class LifecycleStageSummary(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a LifecycleStageSummary.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the vendor_name property of a LifecycleStageSummary.
#: This constant has a value of "ORACLE"
VENDOR_NAME_ORACLE = "ORACLE"
@@ -132,7 +136,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this LifecycleStageSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -434,7 +438,7 @@ def arch_type(self):
Gets the arch_type of this LifecycleStageSummary.
The CPU architecture of the managed instances in the lifecycle stage.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -453,7 +457,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this LifecycleStageSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
diff --git a/src/oci/os_management_hub/models/managed_instance.py b/src/oci/os_management_hub/models/managed_instance.py
index d1e83abe03..6ad2f02450 100644
--- a/src/oci/os_management_hub/models/managed_instance.py
+++ b/src/oci/os_management_hub/models/managed_instance.py
@@ -55,6 +55,10 @@ class ManagedInstance(object):
#: This constant has a value of "SRC"
ARCHITECTURE_SRC = "SRC"
+ #: A constant which can be used with the architecture property of a ManagedInstance.
+ #: This constant has a value of "I386"
+ ARCHITECTURE_I386 = "I386"
+
#: A constant which can be used with the os_family property of a ManagedInstance.
#: This constant has a value of "ORACLE_LINUX_9"
OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
@@ -115,6 +119,10 @@ class ManagedInstance(object):
#: This constant has a value of "ONBOARDING"
STATUS_ONBOARDING = "ONBOARDING"
+ #: A constant which can be used with the status property of a ManagedInstance.
+ #: This constant has a value of "REBOOTING"
+ STATUS_REBOOTING = "REBOOTING"
+
def __init__(self, **kwargs):
"""
Initializes a new ManagedInstance object with values from keyword arguments.
@@ -172,7 +180,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this ManagedInstance.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
@@ -184,7 +192,7 @@ def __init__(self, **kwargs):
:param status:
The value to assign to the status property of this ManagedInstance.
- Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type status: str
@@ -192,6 +200,10 @@ def __init__(self, **kwargs):
The value to assign to the profile property of this ManagedInstance.
:type profile: str
+ :param profile_version:
+ The value to assign to the profile_version property of this ManagedInstance.
+ :type profile_version: str
+
:param is_management_station:
The value to assign to the is_management_station property of this ManagedInstance.
:type is_management_station: bool
@@ -280,6 +292,10 @@ def __init__(self, **kwargs):
The value to assign to the is_managed_by_autonomous_linux property of this ManagedInstance.
:type is_managed_by_autonomous_linux: bool
+ :param agent_version:
+ The value to assign to the agent_version property of this ManagedInstance.
+ :type agent_version: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -298,6 +314,7 @@ def __init__(self, **kwargs):
'os_family': 'str',
'status': 'str',
'profile': 'str',
+ 'profile_version': 'str',
'is_management_station': 'bool',
'primary_management_station_id': 'str',
'secondary_management_station_id': 'str',
@@ -319,7 +336,8 @@ def __init__(self, **kwargs):
'time_updated': 'datetime',
'notification_topic_id': 'str',
'autonomous_settings': 'AutonomousSettings',
- 'is_managed_by_autonomous_linux': 'bool'
+ 'is_managed_by_autonomous_linux': 'bool',
+ 'agent_version': 'str'
}
self.attribute_map = {
@@ -339,6 +357,7 @@ def __init__(self, **kwargs):
'os_family': 'osFamily',
'status': 'status',
'profile': 'profile',
+ 'profile_version': 'profileVersion',
'is_management_station': 'isManagementStation',
'primary_management_station_id': 'primaryManagementStationId',
'secondary_management_station_id': 'secondaryManagementStationId',
@@ -360,7 +379,8 @@ def __init__(self, **kwargs):
'time_updated': 'timeUpdated',
'notification_topic_id': 'notificationTopicId',
'autonomous_settings': 'autonomousSettings',
- 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux'
+ 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux',
+ 'agent_version': 'agentVersion'
}
self._id = None
@@ -379,6 +399,7 @@ def __init__(self, **kwargs):
self._os_family = None
self._status = None
self._profile = None
+ self._profile_version = None
self._is_management_station = None
self._primary_management_station_id = None
self._secondary_management_station_id = None
@@ -401,6 +422,7 @@ def __init__(self, **kwargs):
self._notification_topic_id = None
self._autonomous_settings = None
self._is_managed_by_autonomous_linux = None
+ self._agent_version = None
@property
def id(self):
@@ -722,7 +744,7 @@ def architecture(self):
Gets the architecture of this ManagedInstance.
The CPU architecture type of the managed instance.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -741,7 +763,7 @@ def architecture(self, architecture):
:param architecture: The architecture of this ManagedInstance.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(architecture, allowed_values):
architecture = 'UNKNOWN_ENUM_VALUE'
self._architecture = architecture
@@ -782,7 +804,7 @@ def status(self):
**[Required]** Gets the status of this ManagedInstance.
Current status of the managed instance.
- Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -801,7 +823,7 @@ def status(self, status):
:param status: The status of this ManagedInstance.
:type: str
"""
- allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"]
+ allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"]
if not value_allowed_none_or_none_sentinel(status, allowed_values):
status = 'UNKNOWN_ENUM_VALUE'
self._status = status
@@ -830,6 +852,30 @@ def profile(self, profile):
"""
self._profile = profile
+ @property
+ def profile_version(self):
+ """
+ Gets the profile_version of this ManagedInstance.
+ The version of the profile that was used to register this instance with the service.
+
+
+ :return: The profile_version of this ManagedInstance.
+ :rtype: str
+ """
+ return self._profile_version
+
+ @profile_version.setter
+ def profile_version(self, profile_version):
+ """
+ Sets the profile_version of this ManagedInstance.
+ The version of the profile that was used to register this instance with the service.
+
+
+ :param profile_version: The profile_version of this ManagedInstance.
+ :type: str
+ """
+ self._profile_version = profile_version
+
@property
def is_management_station(self):
"""
@@ -886,7 +932,7 @@ def primary_management_station_id(self, primary_management_station_id):
def secondary_management_station_id(self):
"""
Gets the secondary_management_station_id of this ManagedInstance.
- The `OCID`__ of the management station for the instance to use as secondary managment station.
+ The `OCID`__ of the management station for the instance to use as secondary management station.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -900,7 +946,7 @@ def secondary_management_station_id(self):
def secondary_management_station_id(self, secondary_management_station_id):
"""
Sets the secondary_management_station_id of this ManagedInstance.
- The `OCID`__ of the management station for the instance to use as secondary managment station.
+ The `OCID`__ of the management station for the instance to use as secondary management station.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -1362,6 +1408,30 @@ def is_managed_by_autonomous_linux(self, is_managed_by_autonomous_linux):
"""
self._is_managed_by_autonomous_linux = is_managed_by_autonomous_linux
+ @property
+ def agent_version(self):
+ """
+ Gets the agent_version of this ManagedInstance.
+ The version of osmh-agent running on the managed instance
+
+
+ :return: The agent_version of this ManagedInstance.
+ :rtype: str
+ """
+ return self._agent_version
+
+ @agent_version.setter
+ def agent_version(self, agent_version):
+ """
+ Sets the agent_version of this ManagedInstance.
+ The version of osmh-agent running on the managed instance
+
+
+ :param agent_version: The agent_version of this ManagedInstance.
+ :type: str
+ """
+ self._agent_version = agent_version
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/managed_instance_analytic_summary.py b/src/oci/os_management_hub/models/managed_instance_analytic_summary.py
index 8b15e79047..eb7cf745f8 100644
--- a/src/oci/os_management_hub/models/managed_instance_analytic_summary.py
+++ b/src/oci/os_management_hub/models/managed_instance_analytic_summary.py
@@ -71,6 +71,14 @@ class ManagedInstanceAnalyticSummary(object):
#: This constant has a value of "INSTANCE_BUGFIX_ADVISORY_COUNT"
NAME_INSTANCE_BUGFIX_ADVISORY_COUNT = "INSTANCE_BUGFIX_ADVISORY_COUNT"
+ #: A constant which can be used with the name property of a ManagedInstanceAnalyticSummary.
+ #: This constant has a value of "REBOOTING_INSTANCE_COUNT"
+ NAME_REBOOTING_INSTANCE_COUNT = "REBOOTING_INSTANCE_COUNT"
+
+ #: A constant which can be used with the name property of a ManagedInstanceAnalyticSummary.
+ #: This constant has a value of "NEEDS_REBOOTING_INSTANCE_COUNT"
+ NAME_NEEDS_REBOOTING_INSTANCE_COUNT = "NEEDS_REBOOTING_INSTANCE_COUNT"
+
def __init__(self, **kwargs):
"""
Initializes a new ManagedInstanceAnalyticSummary object with values from keyword arguments.
@@ -78,7 +86,7 @@ def __init__(self, **kwargs):
:param name:
The value to assign to the name property of this ManagedInstanceAnalyticSummary.
- Allowed values for this property are: "TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT", "REBOOTING_INSTANCE_COUNT", "NEEDS_REBOOTING_INSTANCE_COUNT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type name: str
@@ -113,7 +121,7 @@ def name(self):
**[Required]** Gets the name of this ManagedInstanceAnalyticSummary.
The name of this metric.
- Allowed values for this property are: "TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT", "REBOOTING_INSTANCE_COUNT", "NEEDS_REBOOTING_INSTANCE_COUNT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -132,7 +140,7 @@ def name(self, name):
:param name: The name of this ManagedInstanceAnalyticSummary.
:type: str
"""
- allowed_values = ["TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT"]
+ allowed_values = ["TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT", "REBOOTING_INSTANCE_COUNT", "NEEDS_REBOOTING_INSTANCE_COUNT"]
if not value_allowed_none_or_none_sentinel(name, allowed_values):
name = 'UNKNOWN_ENUM_VALUE'
self._name = name
diff --git a/src/oci/os_management_hub/models/managed_instance_group.py b/src/oci/os_management_hub/models/managed_instance_group.py
index eea7e4e29a..18159db484 100644
--- a/src/oci/os_management_hub/models/managed_instance_group.py
+++ b/src/oci/os_management_hub/models/managed_instance_group.py
@@ -91,6 +91,10 @@ class ManagedInstanceGroup(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a ManagedInstanceGroup.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the vendor_name property of a ManagedInstanceGroup.
#: This constant has a value of "ORACLE"
VENDOR_NAME_ORACLE = "ORACLE"
@@ -162,7 +166,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this ManagedInstanceGroup.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -522,7 +526,7 @@ def arch_type(self):
Gets the arch_type of this ManagedInstanceGroup.
The CPU architecture of the instances in the managed instance group.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -541,7 +545,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this ManagedInstanceGroup.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
diff --git a/src/oci/os_management_hub/models/managed_instance_group_available_package_summary.py b/src/oci/os_management_hub/models/managed_instance_group_available_package_summary.py
index 827b811bd3..4e152eaeb5 100644
--- a/src/oci/os_management_hub/models/managed_instance_group_available_package_summary.py
+++ b/src/oci/os_management_hub/models/managed_instance_group_available_package_summary.py
@@ -35,6 +35,10 @@ class ManagedInstanceGroupAvailablePackageSummary(object):
#: This constant has a value of "SRC"
ARCHITECTURE_SRC = "SRC"
+ #: A constant which can be used with the architecture property of a ManagedInstanceGroupAvailablePackageSummary.
+ #: This constant has a value of "I386"
+ ARCHITECTURE_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new ManagedInstanceGroupAvailablePackageSummary object with values from keyword arguments.
@@ -58,7 +62,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this ManagedInstanceGroupAvailablePackageSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
@@ -201,7 +205,7 @@ def architecture(self):
Gets the architecture of this ManagedInstanceGroupAvailablePackageSummary.
The architecture for which this package was built.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -220,7 +224,7 @@ def architecture(self, architecture):
:param architecture: The architecture of this ManagedInstanceGroupAvailablePackageSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(architecture, allowed_values):
architecture = 'UNKNOWN_ENUM_VALUE'
self._architecture = architecture
diff --git a/src/oci/os_management_hub/models/managed_instance_group_summary.py b/src/oci/os_management_hub/models/managed_instance_group_summary.py
index 7d3ea181a3..04b38fbc41 100644
--- a/src/oci/os_management_hub/models/managed_instance_group_summary.py
+++ b/src/oci/os_management_hub/models/managed_instance_group_summary.py
@@ -87,6 +87,10 @@ class ManagedInstanceGroupSummary(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a ManagedInstanceGroupSummary.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the vendor_name property of a ManagedInstanceGroupSummary.
#: This constant has a value of "ORACLE"
VENDOR_NAME_ORACLE = "ORACLE"
@@ -146,7 +150,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this ManagedInstanceGroupSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -516,7 +520,7 @@ def arch_type(self):
Gets the arch_type of this ManagedInstanceGroupSummary.
The CPU architecture of the instances in the managed instance group.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -535,7 +539,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this ManagedInstanceGroupSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
diff --git a/src/oci/os_management_hub/models/managed_instance_summary.py b/src/oci/os_management_hub/models/managed_instance_summary.py
index 489df0f062..c6ecbd4b8a 100644
--- a/src/oci/os_management_hub/models/managed_instance_summary.py
+++ b/src/oci/os_management_hub/models/managed_instance_summary.py
@@ -55,6 +55,10 @@ class ManagedInstanceSummary(object):
#: This constant has a value of "SRC"
ARCHITECTURE_SRC = "SRC"
+ #: A constant which can be used with the architecture property of a ManagedInstanceSummary.
+ #: This constant has a value of "I386"
+ ARCHITECTURE_I386 = "I386"
+
#: A constant which can be used with the os_family property of a ManagedInstanceSummary.
#: This constant has a value of "ORACLE_LINUX_9"
OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
@@ -115,6 +119,10 @@ class ManagedInstanceSummary(object):
#: This constant has a value of "ONBOARDING"
STATUS_ONBOARDING = "ONBOARDING"
+ #: A constant which can be used with the status property of a ManagedInstanceSummary.
+ #: This constant has a value of "REBOOTING"
+ STATUS_REBOOTING = "REBOOTING"
+
def __init__(self, **kwargs):
"""
Initializes a new ManagedInstanceSummary object with values from keyword arguments.
@@ -148,7 +156,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this ManagedInstanceSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
@@ -160,7 +168,7 @@ def __init__(self, **kwargs):
:param status:
The value to assign to the status property of this ManagedInstanceSummary.
- Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type status: str
@@ -200,6 +208,10 @@ def __init__(self, **kwargs):
The value to assign to the is_managed_by_autonomous_linux property of this ManagedInstanceSummary.
:type is_managed_by_autonomous_linux: bool
+ :param agent_version:
+ The value to assign to the agent_version property of this ManagedInstanceSummary.
+ :type agent_version: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -219,7 +231,8 @@ def __init__(self, **kwargs):
'is_management_station': 'bool',
'notification_topic_id': 'str',
'autonomous_settings': 'AutonomousSettings',
- 'is_managed_by_autonomous_linux': 'bool'
+ 'is_managed_by_autonomous_linux': 'bool',
+ 'agent_version': 'str'
}
self.attribute_map = {
@@ -240,7 +253,8 @@ def __init__(self, **kwargs):
'is_management_station': 'isManagementStation',
'notification_topic_id': 'notificationTopicId',
'autonomous_settings': 'autonomousSettings',
- 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux'
+ 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux',
+ 'agent_version': 'agentVersion'
}
self._id = None
@@ -261,6 +275,7 @@ def __init__(self, **kwargs):
self._notification_topic_id = None
self._autonomous_settings = None
self._is_managed_by_autonomous_linux = None
+ self._agent_version = None
@property
def id(self):
@@ -430,7 +445,7 @@ def architecture(self):
Gets the architecture of this ManagedInstanceSummary.
The CPU architecture type of the managed instance.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -449,7 +464,7 @@ def architecture(self, architecture):
:param architecture: The architecture of this ManagedInstanceSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(architecture, allowed_values):
architecture = 'UNKNOWN_ENUM_VALUE'
self._architecture = architecture
@@ -490,7 +505,7 @@ def status(self):
**[Required]** Gets the status of this ManagedInstanceSummary.
Current status of the managed instance.
- Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -509,7 +524,7 @@ def status(self, status):
:param status: The status of this ManagedInstanceSummary.
:type: str
"""
- allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"]
+ allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"]
if not value_allowed_none_or_none_sentinel(status, allowed_values):
status = 'UNKNOWN_ENUM_VALUE'
self._status = status
@@ -718,6 +733,30 @@ def is_managed_by_autonomous_linux(self, is_managed_by_autonomous_linux):
"""
self._is_managed_by_autonomous_linux = is_managed_by_autonomous_linux
+ @property
+ def agent_version(self):
+ """
+ Gets the agent_version of this ManagedInstanceSummary.
+ The version of osmh-agent running on the managed instance
+
+
+ :return: The agent_version of this ManagedInstanceSummary.
+ :rtype: str
+ """
+ return self._agent_version
+
+ @agent_version.setter
+ def agent_version(self, agent_version):
+ """
+ Sets the agent_version of this ManagedInstanceSummary.
+ The version of osmh-agent running on the managed instance
+
+
+ :param agent_version: The agent_version of this ManagedInstanceSummary.
+ :type: str
+ """
+ self._agent_version = agent_version
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/management_station.py b/src/oci/os_management_hub/models/management_station.py
index 13ef56a673..ddb0ab2c49 100644
--- a/src/oci/os_management_hub/models/management_station.py
+++ b/src/oci/os_management_hub/models/management_station.py
@@ -67,6 +67,26 @@ class ManagementStation(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the location property of a ManagementStation.
+ #: This constant has a value of "ON_PREMISE"
+ LOCATION_ON_PREMISE = "ON_PREMISE"
+
+ #: A constant which can be used with the location property of a ManagementStation.
+ #: This constant has a value of "OCI_COMPUTE"
+ LOCATION_OCI_COMPUTE = "OCI_COMPUTE"
+
+ #: A constant which can be used with the location property of a ManagementStation.
+ #: This constant has a value of "AZURE"
+ LOCATION_AZURE = "AZURE"
+
+ #: A constant which can be used with the location property of a ManagementStation.
+ #: This constant has a value of "EC2"
+ LOCATION_EC2 = "EC2"
+
+ #: A constant which can be used with the location property of a ManagementStation.
+ #: This constant has a value of "GCP"
+ LOCATION_GCP = "GCP"
+
def __init__(self, **kwargs):
"""
Initializes a new ManagementStation object with values from keyword arguments.
@@ -144,6 +164,40 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param is_auto_config_enabled:
+ The value to assign to the is_auto_config_enabled property of this ManagementStation.
+ :type is_auto_config_enabled: bool
+
+ :param peer_management_stations:
+ The value to assign to the peer_management_stations property of this ManagementStation.
+ :type peer_management_stations: list[oci.os_management_hub.models.PeerManagementStation]
+
+ :param location:
+ The value to assign to the location property of this ManagementStation.
+ Allowed values for this property are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type location: str
+
+ :param mirror_storage_available_size:
+ The value to assign to the mirror_storage_available_size property of this ManagementStation.
+ :type mirror_storage_available_size: int
+
+ :param mirror_storage_size:
+ The value to assign to the mirror_storage_size property of this ManagementStation.
+ :type mirror_storage_size: int
+
+ :param mirror_size:
+ The value to assign to the mirror_size property of this ManagementStation.
+ :type mirror_size: int
+
+ :param mirror_unique_package_count:
+ The value to assign to the mirror_unique_package_count property of this ManagementStation.
+ :type mirror_unique_package_count: int
+
+ :param mirror_package_count:
+ The value to assign to the mirror_package_count property of this ManagementStation.
+ :type mirror_package_count: int
+
:param freeform_tags:
The value to assign to the freeform_tags property of this ManagementStation.
:type freeform_tags: dict(str, str)
@@ -175,6 +229,14 @@ def __init__(self, **kwargs):
'mirror': 'MirrorConfiguration',
'health': 'StationHealth',
'lifecycle_state': 'str',
+ 'is_auto_config_enabled': 'bool',
+ 'peer_management_stations': 'list[PeerManagementStation]',
+ 'location': 'str',
+ 'mirror_storage_available_size': 'int',
+ 'mirror_storage_size': 'int',
+ 'mirror_size': 'int',
+ 'mirror_unique_package_count': 'int',
+ 'mirror_package_count': 'int',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
@@ -198,6 +260,14 @@ def __init__(self, **kwargs):
'mirror': 'mirror',
'health': 'health',
'lifecycle_state': 'lifecycleState',
+ 'is_auto_config_enabled': 'isAutoConfigEnabled',
+ 'peer_management_stations': 'peerManagementStations',
+ 'location': 'location',
+ 'mirror_storage_available_size': 'mirrorStorageAvailableSize',
+ 'mirror_storage_size': 'mirrorStorageSize',
+ 'mirror_size': 'mirrorSize',
+ 'mirror_unique_package_count': 'mirrorUniquePackageCount',
+ 'mirror_package_count': 'mirrorPackageCount',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
@@ -220,6 +290,14 @@ def __init__(self, **kwargs):
self._mirror = None
self._health = None
self._lifecycle_state = None
+ self._is_auto_config_enabled = None
+ self._peer_management_stations = None
+ self._location = None
+ self._mirror_storage_available_size = None
+ self._mirror_storage_size = None
+ self._mirror_size = None
+ self._mirror_unique_package_count = None
+ self._mirror_package_count = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -648,6 +726,204 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def is_auto_config_enabled(self):
+ """
+ Gets the is_auto_config_enabled of this ManagementStation.
+ When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
+
+
+ :return: The is_auto_config_enabled of this ManagementStation.
+ :rtype: bool
+ """
+ return self._is_auto_config_enabled
+
+ @is_auto_config_enabled.setter
+ def is_auto_config_enabled(self, is_auto_config_enabled):
+ """
+ Sets the is_auto_config_enabled of this ManagementStation.
+ When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
+
+
+ :param is_auto_config_enabled: The is_auto_config_enabled of this ManagementStation.
+ :type: bool
+ """
+ self._is_auto_config_enabled = is_auto_config_enabled
+
+ @property
+ def peer_management_stations(self):
+ """
+ **[Required]** Gets the peer_management_stations of this ManagementStation.
+ A list of other management stations that are behind the same load balancer within a high availability configuration. Stations are identified as peers if they have the same hostname and compartment.
+
+
+ :return: The peer_management_stations of this ManagementStation.
+ :rtype: list[oci.os_management_hub.models.PeerManagementStation]
+ """
+ return self._peer_management_stations
+
+ @peer_management_stations.setter
+ def peer_management_stations(self, peer_management_stations):
+ """
+ Sets the peer_management_stations of this ManagementStation.
+ A list of other management stations that are behind the same load balancer within a high availability configuration. Stations are identified as peers if they have the same hostname and compartment.
+
+
+ :param peer_management_stations: The peer_management_stations of this ManagementStation.
+ :type: list[oci.os_management_hub.models.PeerManagementStation]
+ """
+ self._peer_management_stations = peer_management_stations
+
+ @property
+ def location(self):
+ """
+ Gets the location of this ManagementStation.
+ The location of the instance that is acting as the management station.
+
+ Allowed values for this property are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The location of this ManagementStation.
+ :rtype: str
+ """
+ return self._location
+
+ @location.setter
+ def location(self, location):
+ """
+ Sets the location of this ManagementStation.
+ The location of the instance that is acting as the management station.
+
+
+ :param location: The location of this ManagementStation.
+ :type: str
+ """
+ allowed_values = ["ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"]
+ if not value_allowed_none_or_none_sentinel(location, allowed_values):
+ location = 'UNKNOWN_ENUM_VALUE'
+ self._location = location
+
+ @property
+ def mirror_storage_available_size(self):
+ """
+ Gets the mirror_storage_available_size of this ManagementStation.
+ Amount of available mirror storage in bytes.
+
+
+ :return: The mirror_storage_available_size of this ManagementStation.
+ :rtype: int
+ """
+ return self._mirror_storage_available_size
+
+ @mirror_storage_available_size.setter
+ def mirror_storage_available_size(self, mirror_storage_available_size):
+ """
+ Sets the mirror_storage_available_size of this ManagementStation.
+ Amount of available mirror storage in bytes.
+
+
+ :param mirror_storage_available_size: The mirror_storage_available_size of this ManagementStation.
+ :type: int
+ """
+ self._mirror_storage_available_size = mirror_storage_available_size
+
+ @property
+ def mirror_storage_size(self):
+ """
+ Gets the mirror_storage_size of this ManagementStation.
+ Total mirror storage size in bytes.
+
+
+ :return: The mirror_storage_size of this ManagementStation.
+ :rtype: int
+ """
+ return self._mirror_storage_size
+
+ @mirror_storage_size.setter
+ def mirror_storage_size(self, mirror_storage_size):
+ """
+ Sets the mirror_storage_size of this ManagementStation.
+ Total mirror storage size in bytes.
+
+
+ :param mirror_storage_size: The mirror_storage_size of this ManagementStation.
+ :type: int
+ """
+ self._mirror_storage_size = mirror_storage_size
+
+ @property
+ def mirror_size(self):
+ """
+ Gets the mirror_size of this ManagementStation.
+ The total size of all software source mirrors in bytes.
+
+
+ :return: The mirror_size of this ManagementStation.
+ :rtype: int
+ """
+ return self._mirror_size
+
+ @mirror_size.setter
+ def mirror_size(self, mirror_size):
+ """
+ Sets the mirror_size of this ManagementStation.
+ The total size of all software source mirrors in bytes.
+
+
+ :param mirror_size: The mirror_size of this ManagementStation.
+ :type: int
+ """
+ self._mirror_size = mirror_size
+
+ @property
+ def mirror_unique_package_count(self):
+ """
+ Gets the mirror_unique_package_count of this ManagementStation.
+ The total number of unique packages within the mirrored software sources on the station. Each package is counted only once, regardless of how many versions it has.
+
+
+ :return: The mirror_unique_package_count of this ManagementStation.
+ :rtype: int
+ """
+ return self._mirror_unique_package_count
+
+ @mirror_unique_package_count.setter
+ def mirror_unique_package_count(self, mirror_unique_package_count):
+ """
+ Sets the mirror_unique_package_count of this ManagementStation.
+ The total number of unique packages within the mirrored software sources on the station. Each package is counted only once, regardless of how many versions it has.
+
+
+ :param mirror_unique_package_count: The mirror_unique_package_count of this ManagementStation.
+ :type: int
+ """
+ self._mirror_unique_package_count = mirror_unique_package_count
+
+ @property
+ def mirror_package_count(self):
+ """
+ Gets the mirror_package_count of this ManagementStation.
+ The total number of all packages within the mirrored software sources.
+
+
+ :return: The mirror_package_count of this ManagementStation.
+ :rtype: int
+ """
+ return self._mirror_package_count
+
+ @mirror_package_count.setter
+ def mirror_package_count(self, mirror_package_count):
+ """
+ Sets the mirror_package_count of this ManagementStation.
+ The total number of all packages within the mirrored software sources.
+
+
+ :param mirror_package_count: The mirror_package_count of this ManagementStation.
+ :type: int
+ """
+ self._mirror_package_count = mirror_package_count
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/os_management_hub/models/management_station_event.py b/src/oci/os_management_hub/models/management_station_event.py
index 574b1534ab..cb6f4c9ed7 100644
--- a/src/oci/os_management_hub/models/management_station_event.py
+++ b/src/oci/os_management_hub/models/management_station_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this ManagementStationEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/management_station_event_data.py b/src/oci/os_management_hub/models/management_station_event_data.py
index 55bb59d749..21a1ea7195 100644
--- a/src/oci/os_management_hub/models/management_station_event_data.py
+++ b/src/oci/os_management_hub/models/management_station_event_data.py
@@ -27,6 +27,22 @@ class ManagementStationEventData(object):
#: This constant has a value of "UPDATE_MANAGEMENT_STATION_SOFTWARE"
OPERATION_TYPE_UPDATE_MANAGEMENT_STATION_SOFTWARE = "UPDATE_MANAGEMENT_STATION_SOFTWARE"
+ #: A constant which can be used with the operation_type property of a ManagementStationEventData.
+ #: This constant has a value of "SET_MANAGEMENT_STATION_HEALTH_STATE"
+ OPERATION_TYPE_SET_MANAGEMENT_STATION_HEALTH_STATE = "SET_MANAGEMENT_STATION_HEALTH_STATE"
+
+ #: A constant which can be used with the health_state property of a ManagementStationEventData.
+ #: This constant has a value of "HEALTHY"
+ HEALTH_STATE_HEALTHY = "HEALTHY"
+
+ #: A constant which can be used with the health_state property of a ManagementStationEventData.
+ #: This constant has a value of "UNHEALTHY"
+ HEALTH_STATE_UNHEALTHY = "UNHEALTHY"
+
+ #: A constant which can be used with the health_state property of a ManagementStationEventData.
+ #: This constant has a value of "UNAVAILABLE"
+ HEALTH_STATE_UNAVAILABLE = "UNAVAILABLE"
+
#: A constant which can be used with the status property of a ManagementStationEventData.
#: This constant has a value of "SUCCEEDED"
STATUS_SUCCEEDED = "SUCCEEDED"
@@ -42,10 +58,16 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this ManagementStationEventData.
- Allowed values for this property are: "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "SET_MANAGEMENT_STATION_HEALTH_STATE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
+ :param health_state:
+ The value to assign to the health_state property of this ManagementStationEventData.
+ Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type health_state: str
+
:param status:
The value to assign to the status property of this ManagementStationEventData.
Allowed values for this property are: "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -59,17 +81,20 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'operation_type': 'str',
+ 'health_state': 'str',
'status': 'str',
'additional_details': 'WorkRequestEventDataAdditionalDetails'
}
self.attribute_map = {
'operation_type': 'operationType',
+ 'health_state': 'healthState',
'status': 'status',
'additional_details': 'additionalDetails'
}
self._operation_type = None
+ self._health_state = None
self._status = None
self._additional_details = None
@@ -79,7 +104,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this ManagementStationEventData.
Type of management station operation.
- Allowed values for this property are: "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "SET_MANAGEMENT_STATION_HEALTH_STATE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -98,11 +123,41 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this ManagementStationEventData.
:type: str
"""
- allowed_values = ["SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE"]
+ allowed_values = ["SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "SET_MANAGEMENT_STATION_HEALTH_STATE"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
+ @property
+ def health_state(self):
+ """
+ Gets the health_state of this ManagementStationEventData.
+ Health state of the management station
+
+ Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The health_state of this ManagementStationEventData.
+ :rtype: str
+ """
+ return self._health_state
+
+ @health_state.setter
+ def health_state(self, health_state):
+ """
+ Sets the health_state of this ManagementStationEventData.
+ Health state of the management station
+
+
+ :param health_state: The health_state of this ManagementStationEventData.
+ :type: str
+ """
+ allowed_values = ["HEALTHY", "UNHEALTHY", "UNAVAILABLE"]
+ if not value_allowed_none_or_none_sentinel(health_state, allowed_values):
+ health_state = 'UNKNOWN_ENUM_VALUE'
+ self._health_state = health_state
+
@property
def status(self):
"""
diff --git a/src/oci/os_management_hub/models/management_station_summary.py b/src/oci/os_management_hub/models/management_station_summary.py
index 185ed21a15..4541cba764 100644
--- a/src/oci/os_management_hub/models/management_station_summary.py
+++ b/src/oci/os_management_hub/models/management_station_summary.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class ManagementStationSummary(object):
"""
- Summary of the Management Station.
+ Provides summary information for a management station.
"""
#: A constant which can be used with the overall_state property of a ManagementStationSummary.
@@ -51,6 +51,30 @@ class ManagementStationSummary(object):
#: This constant has a value of "UNHEALTHY"
HEALTH_STATE_UNHEALTHY = "UNHEALTHY"
+ #: A constant which can be used with the health_state property of a ManagementStationSummary.
+ #: This constant has a value of "UNAVAILABLE"
+ HEALTH_STATE_UNAVAILABLE = "UNAVAILABLE"
+
+ #: A constant which can be used with the location property of a ManagementStationSummary.
+ #: This constant has a value of "ON_PREMISE"
+ LOCATION_ON_PREMISE = "ON_PREMISE"
+
+ #: A constant which can be used with the location property of a ManagementStationSummary.
+ #: This constant has a value of "OCI_COMPUTE"
+ LOCATION_OCI_COMPUTE = "OCI_COMPUTE"
+
+ #: A constant which can be used with the location property of a ManagementStationSummary.
+ #: This constant has a value of "AZURE"
+ LOCATION_AZURE = "AZURE"
+
+ #: A constant which can be used with the location property of a ManagementStationSummary.
+ #: This constant has a value of "EC2"
+ LOCATION_EC2 = "EC2"
+
+ #: A constant which can be used with the location property of a ManagementStationSummary.
+ #: This constant has a value of "GCP"
+ LOCATION_GCP = "GCP"
+
def __init__(self, **kwargs):
"""
Initializes a new ManagementStationSummary object with values from keyword arguments.
@@ -100,7 +124,7 @@ def __init__(self, **kwargs):
:param health_state:
The value to assign to the health_state property of this ManagementStationSummary.
- Allowed values for this property are: "HEALTHY", "UNHEALTHY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type health_state: str
@@ -116,6 +140,12 @@ def __init__(self, **kwargs):
The value to assign to the lifecycle_state property of this ManagementStationSummary.
:type lifecycle_state: str
+ :param location:
+ The value to assign to the location property of this ManagementStationSummary.
+ Allowed values for this property are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type location: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this ManagementStationSummary.
:type freeform_tags: dict(str, str)
@@ -144,6 +174,7 @@ def __init__(self, **kwargs):
'overall_percentage': 'int',
'mirror_capacity': 'int',
'lifecycle_state': 'str',
+ 'location': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
@@ -164,6 +195,7 @@ def __init__(self, **kwargs):
'overall_percentage': 'overallPercentage',
'mirror_capacity': 'mirrorCapacity',
'lifecycle_state': 'lifecycleState',
+ 'location': 'location',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
@@ -183,6 +215,7 @@ def __init__(self, **kwargs):
self._overall_percentage = None
self._mirror_capacity = None
self._lifecycle_state = None
+ self._location = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -463,7 +496,7 @@ def health_state(self):
Gets the health_state of this ManagementStationSummary.
Overall health status of the managment station.
- Allowed values for this property are: "HEALTHY", "UNHEALTHY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -482,7 +515,7 @@ def health_state(self, health_state):
:param health_state: The health_state of this ManagementStationSummary.
:type: str
"""
- allowed_values = ["HEALTHY", "UNHEALTHY"]
+ allowed_values = ["HEALTHY", "UNHEALTHY", "UNAVAILABLE"]
if not value_allowed_none_or_none_sentinel(health_state, allowed_values):
health_state = 'UNKNOWN_ENUM_VALUE'
self._health_state = health_state
@@ -559,6 +592,36 @@ def lifecycle_state(self, lifecycle_state):
"""
self._lifecycle_state = lifecycle_state
+ @property
+ def location(self):
+ """
+ Gets the location of this ManagementStationSummary.
+ The location of the instance that is acting as the management station.
+
+ Allowed values for this property are: "ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The location of this ManagementStationSummary.
+ :rtype: str
+ """
+ return self._location
+
+ @location.setter
+ def location(self, location):
+ """
+ Sets the location of this ManagementStationSummary.
+ The location of the instance that is acting as the management station.
+
+
+ :param location: The location of this ManagementStationSummary.
+ :type: str
+ """
+ allowed_values = ["ON_PREMISE", "OCI_COMPUTE", "AZURE", "EC2", "GCP"]
+ if not value_allowed_none_or_none_sentinel(location, allowed_values):
+ location = 'UNKNOWN_ENUM_VALUE'
+ self._location = location
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/os_management_hub/models/mirror_configuration.py b/src/oci/os_management_hub/models/mirror_configuration.py
index b5ef501050..87c90fd796 100644
--- a/src/oci/os_management_hub/models/mirror_configuration.py
+++ b/src/oci/os_management_hub/models/mirror_configuration.py
@@ -36,25 +36,32 @@ def __init__(self, **kwargs):
The value to assign to the sslcert property of this MirrorConfiguration.
:type sslcert: str
+ :param is_sslverify_enabled:
+ The value to assign to the is_sslverify_enabled property of this MirrorConfiguration.
+ :type is_sslverify_enabled: bool
+
"""
self.swagger_types = {
'directory': 'str',
'port': 'str',
'sslport': 'str',
- 'sslcert': 'str'
+ 'sslcert': 'str',
+ 'is_sslverify_enabled': 'bool'
}
self.attribute_map = {
'directory': 'directory',
'port': 'port',
'sslport': 'sslport',
- 'sslcert': 'sslcert'
+ 'sslcert': 'sslcert',
+ 'is_sslverify_enabled': 'isSslverifyEnabled'
}
self._directory = None
self._port = None
self._sslport = None
self._sslcert = None
+ self._is_sslverify_enabled = None
@property
def directory(self):
@@ -152,6 +159,30 @@ def sslcert(self, sslcert):
"""
self._sslcert = sslcert
+ @property
+ def is_sslverify_enabled(self):
+ """
+ Gets the is_sslverify_enabled of this MirrorConfiguration.
+ When enabled, the SSL certificate is verified whenever an instance installs or updates a package from a software source that is mirrored on the management station.
+
+
+ :return: The is_sslverify_enabled of this MirrorConfiguration.
+ :rtype: bool
+ """
+ return self._is_sslverify_enabled
+
+ @is_sslverify_enabled.setter
+ def is_sslverify_enabled(self, is_sslverify_enabled):
+ """
+ Sets the is_sslverify_enabled of this MirrorConfiguration.
+ When enabled, the SSL certificate is verified whenever an instance installs or updates a package from a software source that is mirrored on the management station.
+
+
+ :param is_sslverify_enabled: The is_sslverify_enabled of this MirrorConfiguration.
+ :type: bool
+ """
+ self._is_sslverify_enabled = is_sslverify_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/mirror_summary.py b/src/oci/os_management_hub/models/mirror_summary.py
index 140e00e44c..2bdefb938d 100644
--- a/src/oci/os_management_hub/models/mirror_summary.py
+++ b/src/oci/os_management_hub/models/mirror_summary.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class MirrorSummary(object):
"""
- Summary of a Mirror
+ Provides summary information for a software source mirror.
"""
#: A constant which can be used with the type property of a MirrorSummary.
@@ -27,6 +27,14 @@ class MirrorSummary(object):
#: This constant has a value of "VERSIONED"
TYPE_VERSIONED = "VERSIONED"
+ #: A constant which can be used with the type property of a MirrorSummary.
+ #: This constant has a value of "PRIVATE"
+ TYPE_PRIVATE = "PRIVATE"
+
+ #: A constant which can be used with the type property of a MirrorSummary.
+ #: This constant has a value of "THIRD_PARTY"
+ TYPE_THIRD_PARTY = "THIRD_PARTY"
+
#: A constant which can be used with the os_family property of a MirrorSummary.
#: This constant has a value of "ORACLE_LINUX_9"
OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
@@ -79,6 +87,10 @@ class MirrorSummary(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a MirrorSummary.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the state property of a MirrorSummary.
#: This constant has a value of "UNSYNCED"
STATE_UNSYNCED = "UNSYNCED"
@@ -114,7 +126,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this MirrorSummary.
- Allowed values for this property are: "CUSTOM", "VENDOR", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CUSTOM", "VENDOR", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type type: str
@@ -126,7 +138,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this MirrorSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -148,6 +160,14 @@ def __init__(self, **kwargs):
The value to assign to the log property of this MirrorSummary.
:type log: str
+ :param package_count:
+ The value to assign to the package_count property of this MirrorSummary.
+ :type package_count: int
+
+ :param size:
+ The value to assign to the size property of this MirrorSummary.
+ :type size: int
+
"""
self.swagger_types = {
'id': 'str',
@@ -158,7 +178,9 @@ def __init__(self, **kwargs):
'state': 'str',
'percentage': 'int',
'time_last_synced': 'datetime',
- 'log': 'str'
+ 'log': 'str',
+ 'package_count': 'int',
+ 'size': 'int'
}
self.attribute_map = {
@@ -170,7 +192,9 @@ def __init__(self, **kwargs):
'state': 'state',
'percentage': 'percentage',
'time_last_synced': 'timeLastSynced',
- 'log': 'log'
+ 'log': 'log',
+ 'package_count': 'packageCount',
+ 'size': 'size'
}
self._id = None
@@ -182,12 +206,16 @@ def __init__(self, **kwargs):
self._percentage = None
self._time_last_synced = None
self._log = None
+ self._package_count = None
+ self._size = None
@property
def id(self):
"""
**[Required]** Gets the id of this MirrorSummary.
- OCID of a software source
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:return: The id of this MirrorSummary.
@@ -199,7 +227,9 @@ def id(self):
def id(self, id):
"""
Sets the id of this MirrorSummary.
- OCID of a software source
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param id: The id of this MirrorSummary.
@@ -211,7 +241,7 @@ def id(self, id):
def display_name(self):
"""
Gets the display_name of this MirrorSummary.
- Display name of the mirror
+ Display name of the mirror.
:return: The display_name of this MirrorSummary.
@@ -223,7 +253,7 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this MirrorSummary.
- Display name of the mirror
+ Display name of the mirror.
:param display_name: The display_name of this MirrorSummary.
@@ -235,9 +265,9 @@ def display_name(self, display_name):
def type(self):
"""
Gets the type of this MirrorSummary.
- Type of the mirror
+ Type of software source.
- Allowed values for this property are: "CUSTOM", "VENDOR", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CUSTOM", "VENDOR", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -250,13 +280,13 @@ def type(self):
def type(self, type):
"""
Sets the type of this MirrorSummary.
- Type of the mirror
+ Type of software source.
:param type: The type of this MirrorSummary.
:type: str
"""
- allowed_values = ["CUSTOM", "VENDOR", "VERSIONED"]
+ allowed_values = ["CUSTOM", "VENDOR", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
if not value_allowed_none_or_none_sentinel(type, allowed_values):
type = 'UNKNOWN_ENUM_VALUE'
self._type = type
@@ -265,7 +295,7 @@ def type(self, type):
def os_family(self):
"""
Gets the os_family of this MirrorSummary.
- The OS family the Software Source belongs to
+ The OS family of the software source.
Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -280,7 +310,7 @@ def os_family(self):
def os_family(self, os_family):
"""
Sets the os_family of this MirrorSummary.
- The OS family the Software Source belongs to
+ The OS family of the software source.
:param os_family: The os_family of this MirrorSummary.
@@ -295,9 +325,9 @@ def os_family(self, os_family):
def arch_type(self):
"""
Gets the arch_type of this MirrorSummary.
- The architecture type supported by the Software Source
+ The architecture type supported by the software source.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -310,13 +340,13 @@ def arch_type(self):
def arch_type(self, arch_type):
"""
Sets the arch_type of this MirrorSummary.
- The architecture type supported by the Software Source
+ The architecture type supported by the software source.
:param arch_type: The arch_type of this MirrorSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
@@ -325,7 +355,7 @@ def arch_type(self, arch_type):
def state(self):
"""
**[Required]** Gets the state of this MirrorSummary.
- Current state of the mirror
+ Current state of the software source mirror.
Allowed values for this property are: "UNSYNCED", "QUEUED", "SYNCING", "SYNCED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -340,7 +370,7 @@ def state(self):
def state(self, state):
"""
Sets the state of this MirrorSummary.
- Current state of the mirror
+ Current state of the software source mirror.
:param state: The state of this MirrorSummary.
@@ -355,7 +385,7 @@ def state(self, state):
def percentage(self):
"""
**[Required]** Gets the percentage of this MirrorSummary.
- A decimal number representing the completness percentage
+ A decimal number representing the percentage of the software source that has been synced.
:return: The percentage of this MirrorSummary.
@@ -367,7 +397,7 @@ def percentage(self):
def percentage(self, percentage):
"""
Sets the percentage of this MirrorSummary.
- A decimal number representing the completness percentage
+ A decimal number representing the percentage of the software source that has been synced.
:param percentage: The percentage of this MirrorSummary.
@@ -379,7 +409,9 @@ def percentage(self, percentage):
def time_last_synced(self):
"""
**[Required]** Gets the time_last_synced of this MirrorSummary.
- Timestamp of the last time the mirror was sync
+ Time that the software source was last synced (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
:return: The time_last_synced of this MirrorSummary.
@@ -391,7 +423,9 @@ def time_last_synced(self):
def time_last_synced(self, time_last_synced):
"""
Sets the time_last_synced of this MirrorSummary.
- Timestamp of the last time the mirror was sync
+ Time that the software source was last synced (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
:param time_last_synced: The time_last_synced of this MirrorSummary.
@@ -423,6 +457,54 @@ def log(self, log):
"""
self._log = log
+ @property
+ def package_count(self):
+ """
+ **[Required]** Gets the package_count of this MirrorSummary.
+ The number of packages within the mirrored software source.
+
+
+ :return: The package_count of this MirrorSummary.
+ :rtype: int
+ """
+ return self._package_count
+
+ @package_count.setter
+ def package_count(self, package_count):
+ """
+ Sets the package_count of this MirrorSummary.
+ The number of packages within the mirrored software source.
+
+
+ :param package_count: The package_count of this MirrorSummary.
+ :type: int
+ """
+ self._package_count = package_count
+
+ @property
+ def size(self):
+ """
+ **[Required]** Gets the size of this MirrorSummary.
+ The size the mirrored software source in bytes.
+
+
+ :return: The size of this MirrorSummary.
+ :rtype: int
+ """
+ return self._size
+
+ @size.setter
+ def size(self, size):
+ """
+ Sets the size of this MirrorSummary.
+ The size the mirrored software source in bytes.
+
+
+ :param size: The size of this MirrorSummary.
+ :type: int
+ """
+ self._size = size
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/mirrors_collection.py b/src/oci/os_management_hub/models/mirrors_collection.py
index c507a7137a..18a003dbf6 100644
--- a/src/oci/os_management_hub/models/mirrors_collection.py
+++ b/src/oci/os_management_hub/models/mirrors_collection.py
@@ -12,7 +12,8 @@
@init_model_state_from_kwargs
class MirrorsCollection(object):
"""
- List of mirrors associated with a Management Station
+ The set of software source mirrors returned for the
+ :func:`list_mirrors` operation.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/os_management_hub/models/module_stream.py b/src/oci/os_management_hub/models/module_stream.py
index 3eb855153c..0f08158eab 100644
--- a/src/oci/os_management_hub/models/module_stream.py
+++ b/src/oci/os_management_hub/models/module_stream.py
@@ -35,6 +35,10 @@ class ModuleStream(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a ModuleStream.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new ModuleStream object with values from keyword arguments.
@@ -58,7 +62,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this ModuleStream.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -219,7 +223,7 @@ def arch_type(self):
Gets the arch_type of this ModuleStream.
The architecture for which the packages in this module stream were built.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -238,7 +242,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this ModuleStream.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
diff --git a/src/oci/os_management_hub/models/package_name_summary.py b/src/oci/os_management_hub/models/package_name_summary.py
index 20a2d9174d..e6c7c8f0c6 100644
--- a/src/oci/os_management_hub/models/package_name_summary.py
+++ b/src/oci/os_management_hub/models/package_name_summary.py
@@ -35,6 +35,10 @@ class PackageNameSummary(object):
#: This constant has a value of "SRC"
ARCHITECTURE_SRC = "SRC"
+ #: A constant which can be used with the architecture property of a PackageNameSummary.
+ #: This constant has a value of "I386"
+ ARCHITECTURE_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new PackageNameSummary object with values from keyword arguments.
@@ -58,7 +62,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this PackageNameSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
@@ -187,7 +191,7 @@ def architecture(self):
Gets the architecture of this PackageNameSummary.
The CPU architecture type for which this package was built.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -206,7 +210,7 @@ def architecture(self, architecture):
:param architecture: The architecture of this PackageNameSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(architecture, allowed_values):
architecture = 'UNKNOWN_ENUM_VALUE'
self._architecture = architecture
diff --git a/src/oci/os_management_hub/models/package_summary.py b/src/oci/os_management_hub/models/package_summary.py
index 386c4b1895..295098d8ef 100644
--- a/src/oci/os_management_hub/models/package_summary.py
+++ b/src/oci/os_management_hub/models/package_summary.py
@@ -35,6 +35,10 @@ class PackageSummary(object):
#: This constant has a value of "SRC"
ARCHITECTURE_SRC = "SRC"
+ #: A constant which can be used with the architecture property of a PackageSummary.
+ #: This constant has a value of "I386"
+ ARCHITECTURE_I386 = "I386"
+
#: A constant which can be used with the package_classification property of a PackageSummary.
#: This constant has a value of "INSTALLED"
PACKAGE_CLASSIFICATION_INSTALLED = "INSTALLED"
@@ -76,7 +80,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this PackageSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
@@ -240,7 +244,7 @@ def architecture(self):
Gets the architecture of this PackageSummary.
The architecture for which this package was built.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -259,7 +263,7 @@ def architecture(self, architecture):
:param architecture: The architecture of this PackageSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(architecture, allowed_values):
architecture = 'UNKNOWN_ENUM_VALUE'
self._architecture = architecture
diff --git a/src/oci/os_management_hub/models/peer_management_station.py b/src/oci/os_management_hub/models/peer_management_station.py
new file mode 100644
index 0000000000..6f4bd47504
--- /dev/null
+++ b/src/oci/os_management_hub/models/peer_management_station.py
@@ -0,0 +1,108 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 PeerManagementStation(object):
+ """
+ A list of other management stations that are behind the same load balancer within a high availability
+ configuration. Stations are identified as peers if they have the same hostname and compartment.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PeerManagementStation 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 PeerManagementStation.
+ :type id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this PeerManagementStation.
+ :type display_name: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'display_name': 'str'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'display_name': 'displayName'
+ }
+
+ self._id = None
+ self._display_name = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this PeerManagementStation.
+ The `OCID`__ of the management station.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this PeerManagementStation.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this PeerManagementStation.
+ The `OCID`__ of the management station.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this PeerManagementStation.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def display_name(self):
+ """
+ **[Required]** Gets the display_name of this PeerManagementStation.
+ User-friendly name for the management station.
+
+
+ :return: The display_name of this PeerManagementStation.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this PeerManagementStation.
+ User-friendly name for the management station.
+
+
+ :param display_name: The display_name of this PeerManagementStation.
+ :type: str
+ """
+ self._display_name = display_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/os_management_hub/models/private_software_source.py b/src/oci/os_management_hub/models/private_software_source.py
new file mode 100644
index 0000000000..a72c7a70ab
--- /dev/null
+++ b/src/oci/os_management_hub/models/private_software_source.py
@@ -0,0 +1,330 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .software_source import SoftwareSource
+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 PrivateSoftwareSource(SoftwareSource):
+ """
+ The object that defines a private software source. A software source is a collection of packages. For more information, see `Managing Software Sources`__.
+
+ __ https://docs.cloud.oracle.com/iaas/osmh/doc/software-sources.htm
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PrivateSoftwareSource object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.PrivateSoftwareSource.software_source_type` attribute
+ of this class is ``PRIVATE`` and it should not be changed.
+ 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 PrivateSoftwareSource.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this PrivateSoftwareSource.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this PrivateSoftwareSource.
+ :type display_name: str
+
+ :param time_created:
+ The value to assign to the time_created property of this PrivateSoftwareSource.
+ :type time_created: datetime
+
+ :param description:
+ The value to assign to the description property of this PrivateSoftwareSource.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this PrivateSoftwareSource.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param availability:
+ The value to assign to the availability property of this PrivateSoftwareSource.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability: str
+
+ :param availability_at_oci:
+ The value to assign to the availability_at_oci property of this PrivateSoftwareSource.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability_at_oci: str
+
+ :param repo_id:
+ The value to assign to the repo_id property of this PrivateSoftwareSource.
+ :type repo_id: str
+
+ :param os_family:
+ The value to assign to the os_family property of this PrivateSoftwareSource.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this PrivateSoftwareSource.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+ :type arch_type: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this PrivateSoftwareSource.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION"
+ :type lifecycle_state: str
+
+ :param package_count:
+ The value to assign to the package_count property of this PrivateSoftwareSource.
+ :type package_count: int
+
+ :param url:
+ The value to assign to the url property of this PrivateSoftwareSource.
+ :type url: str
+
+ :param checksum_type:
+ The value to assign to the checksum_type property of this PrivateSoftwareSource.
+ Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512"
+ :type checksum_type: str
+
+ :param gpg_key_url:
+ The value to assign to the gpg_key_url property of this PrivateSoftwareSource.
+ :type gpg_key_url: str
+
+ :param gpg_key_id:
+ The value to assign to the gpg_key_id property of this PrivateSoftwareSource.
+ :type gpg_key_id: str
+
+ :param gpg_key_fingerprint:
+ The value to assign to the gpg_key_fingerprint property of this PrivateSoftwareSource.
+ :type gpg_key_fingerprint: str
+
+ :param size:
+ The value to assign to the size property of this PrivateSoftwareSource.
+ :type size: float
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this PrivateSoftwareSource.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this PrivateSoftwareSource.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this PrivateSoftwareSource.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param is_gpg_check_enabled:
+ The value to assign to the is_gpg_check_enabled property of this PrivateSoftwareSource.
+ :type is_gpg_check_enabled: bool
+
+ :param is_ssl_verify_enabled:
+ The value to assign to the is_ssl_verify_enabled property of this PrivateSoftwareSource.
+ :type is_ssl_verify_enabled: bool
+
+ :param advanced_repo_options:
+ The value to assign to the advanced_repo_options property of this PrivateSoftwareSource.
+ :type advanced_repo_options: str
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this PrivateSoftwareSource.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'time_created': 'datetime',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'availability': 'str',
+ 'availability_at_oci': 'str',
+ 'repo_id': 'str',
+ 'os_family': 'str',
+ 'arch_type': 'str',
+ 'lifecycle_state': 'str',
+ 'package_count': 'int',
+ 'url': 'str',
+ 'checksum_type': 'str',
+ 'gpg_key_url': 'str',
+ 'gpg_key_id': 'str',
+ 'gpg_key_fingerprint': 'str',
+ 'size': 'float',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'is_gpg_check_enabled': 'bool',
+ 'is_ssl_verify_enabled': 'bool',
+ 'advanced_repo_options': 'str',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'time_created': 'timeCreated',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'availability': 'availability',
+ 'availability_at_oci': 'availabilityAtOci',
+ 'repo_id': 'repoId',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType',
+ 'lifecycle_state': 'lifecycleState',
+ 'package_count': 'packageCount',
+ 'url': 'url',
+ 'checksum_type': 'checksumType',
+ 'gpg_key_url': 'gpgKeyUrl',
+ 'gpg_key_id': 'gpgKeyId',
+ 'gpg_key_fingerprint': 'gpgKeyFingerprint',
+ 'size': 'size',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'is_gpg_check_enabled': 'isGpgCheckEnabled',
+ 'is_ssl_verify_enabled': 'isSslVerifyEnabled',
+ 'advanced_repo_options': 'advancedRepoOptions',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._id = None
+ self._compartment_id = None
+ self._display_name = None
+ self._time_created = None
+ self._description = None
+ self._software_source_type = None
+ self._availability = None
+ self._availability_at_oci = None
+ self._repo_id = None
+ self._os_family = None
+ self._arch_type = None
+ self._lifecycle_state = None
+ self._package_count = None
+ self._url = None
+ self._checksum_type = None
+ self._gpg_key_url = None
+ self._gpg_key_id = None
+ self._gpg_key_fingerprint = None
+ self._size = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._is_gpg_check_enabled = None
+ self._is_ssl_verify_enabled = None
+ self._advanced_repo_options = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'PRIVATE'
+
+ @property
+ def is_gpg_check_enabled(self):
+ """
+ Gets the is_gpg_check_enabled of this PrivateSoftwareSource.
+ Indicates if GPG verification is enabled for the software source.
+
+
+ :return: The is_gpg_check_enabled of this PrivateSoftwareSource.
+ :rtype: bool
+ """
+ return self._is_gpg_check_enabled
+
+ @is_gpg_check_enabled.setter
+ def is_gpg_check_enabled(self, is_gpg_check_enabled):
+ """
+ Sets the is_gpg_check_enabled of this PrivateSoftwareSource.
+ Indicates if GPG verification is enabled for the software source.
+
+
+ :param is_gpg_check_enabled: The is_gpg_check_enabled of this PrivateSoftwareSource.
+ :type: bool
+ """
+ self._is_gpg_check_enabled = is_gpg_check_enabled
+
+ @property
+ def is_ssl_verify_enabled(self):
+ """
+ Gets the is_ssl_verify_enabled of this PrivateSoftwareSource.
+ Indicates if SSL validation is enabled for the software source.
+
+
+ :return: The is_ssl_verify_enabled of this PrivateSoftwareSource.
+ :rtype: bool
+ """
+ return self._is_ssl_verify_enabled
+
+ @is_ssl_verify_enabled.setter
+ def is_ssl_verify_enabled(self, is_ssl_verify_enabled):
+ """
+ Sets the is_ssl_verify_enabled of this PrivateSoftwareSource.
+ Indicates if SSL validation is enabled for the software source.
+
+
+ :param is_ssl_verify_enabled: The is_ssl_verify_enabled of this PrivateSoftwareSource.
+ :type: bool
+ """
+ self._is_ssl_verify_enabled = is_ssl_verify_enabled
+
+ @property
+ def advanced_repo_options(self):
+ """
+ Gets the advanced_repo_options of this PrivateSoftwareSource.
+ Advanced repository options for the software source
+
+
+ :return: The advanced_repo_options of this PrivateSoftwareSource.
+ :rtype: str
+ """
+ return self._advanced_repo_options
+
+ @advanced_repo_options.setter
+ def advanced_repo_options(self, advanced_repo_options):
+ """
+ Sets the advanced_repo_options of this PrivateSoftwareSource.
+ Advanced repository options for the software source
+
+
+ :param advanced_repo_options: The advanced_repo_options of this PrivateSoftwareSource.
+ :type: str
+ """
+ self._advanced_repo_options = advanced_repo_options
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this PrivateSoftwareSource.
+ Indicates if this software source can be mirrored to a management station.
+
+
+ :return: The is_mirror_sync_allowed of this PrivateSoftwareSource.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this PrivateSoftwareSource.
+ Indicates if this software source can be mirrored to a management station.
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this PrivateSoftwareSource.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/private_software_source_summary.py b/src/oci/os_management_hub/models/private_software_source_summary.py
new file mode 100644
index 0000000000..a32e79a0c6
--- /dev/null
+++ b/src/oci/os_management_hub/models/private_software_source_summary.py
@@ -0,0 +1,212 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .software_source_summary import SoftwareSourceSummary
+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 PrivateSoftwareSourceSummary(SoftwareSourceSummary):
+ """
+ Provides summary information for a private software source.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new PrivateSoftwareSourceSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.PrivateSoftwareSourceSummary.software_source_type` attribute
+ of this class is ``PRIVATE`` and it should not be changed.
+ 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 PrivateSoftwareSourceSummary.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this PrivateSoftwareSourceSummary.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this PrivateSoftwareSourceSummary.
+ :type display_name: str
+
+ :param repo_id:
+ The value to assign to the repo_id property of this PrivateSoftwareSourceSummary.
+ :type repo_id: str
+
+ :param url:
+ The value to assign to the url property of this PrivateSoftwareSourceSummary.
+ :type url: str
+
+ :param time_created:
+ The value to assign to the time_created property of this PrivateSoftwareSourceSummary.
+ :type time_created: datetime
+
+ :param time_updated:
+ The value to assign to the time_updated property of this PrivateSoftwareSourceSummary.
+ :type time_updated: datetime
+
+ :param description:
+ The value to assign to the description property of this PrivateSoftwareSourceSummary.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this PrivateSoftwareSourceSummary.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param availability:
+ The value to assign to the availability property of this PrivateSoftwareSourceSummary.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability: str
+
+ :param availability_at_oci:
+ The value to assign to the availability_at_oci property of this PrivateSoftwareSourceSummary.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability_at_oci: str
+
+ :param os_family:
+ The value to assign to the os_family property of this PrivateSoftwareSourceSummary.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this PrivateSoftwareSourceSummary.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+ :type arch_type: str
+
+ :param package_count:
+ The value to assign to the package_count property of this PrivateSoftwareSourceSummary.
+ :type package_count: int
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this PrivateSoftwareSourceSummary.
+ :type lifecycle_state: str
+
+ :param size:
+ The value to assign to the size property of this PrivateSoftwareSourceSummary.
+ :type size: float
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this PrivateSoftwareSourceSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this PrivateSoftwareSourceSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this PrivateSoftwareSourceSummary.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this PrivateSoftwareSourceSummary.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'repo_id': 'str',
+ 'url': 'str',
+ 'time_created': 'datetime',
+ 'time_updated': 'datetime',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'availability': 'str',
+ 'availability_at_oci': 'str',
+ 'os_family': 'str',
+ 'arch_type': 'str',
+ 'package_count': 'int',
+ 'lifecycle_state': 'str',
+ 'size': 'float',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'repo_id': 'repoId',
+ 'url': 'url',
+ 'time_created': 'timeCreated',
+ 'time_updated': 'timeUpdated',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'availability': 'availability',
+ 'availability_at_oci': 'availabilityAtOci',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType',
+ 'package_count': 'packageCount',
+ 'lifecycle_state': 'lifecycleState',
+ 'size': 'size',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._id = None
+ self._compartment_id = None
+ self._display_name = None
+ self._repo_id = None
+ self._url = None
+ self._time_created = None
+ self._time_updated = None
+ self._description = None
+ self._software_source_type = None
+ self._availability = None
+ self._availability_at_oci = None
+ self._os_family = None
+ self._arch_type = None
+ self._package_count = None
+ self._lifecycle_state = None
+ self._size = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'PRIVATE'
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this PrivateSoftwareSourceSummary.
+ Indicates if this software source can be mirrored to a management station.
+
+
+ :return: The is_mirror_sync_allowed of this PrivateSoftwareSourceSummary.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this PrivateSoftwareSourceSummary.
+ Indicates if this software source can be mirrored to a management station.
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this PrivateSoftwareSourceSummary.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/profile.py b/src/oci/os_management_hub/models/profile.py
index 12fc4e6e90..42c4a6ae98 100644
--- a/src/oci/os_management_hub/models/profile.py
+++ b/src/oci/os_management_hub/models/profile.py
@@ -95,6 +95,10 @@ class Profile(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a Profile.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the lifecycle_state property of a Profile.
#: This constant has a value of "CREATING"
LIFECYCLE_STATE_CREATING = "CREATING"
@@ -107,6 +111,10 @@ class Profile(object):
#: This constant has a value of "ACTIVE"
LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+ #: A constant which can be used with the lifecycle_state property of a Profile.
+ #: This constant has a value of "INACTIVE"
+ LIFECYCLE_STATE_INACTIVE = "INACTIVE"
+
#: A constant which can be used with the lifecycle_state property of a Profile.
#: This constant has a value of "DELETING"
LIFECYCLE_STATE_DELETING = "DELETING"
@@ -188,7 +196,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this Profile.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -196,9 +204,17 @@ def __init__(self, **kwargs):
The value to assign to the time_created property of this Profile.
:type time_created: datetime
+ :param time_modified:
+ The value to assign to the time_modified property of this Profile.
+ :type time_modified: datetime
+
+ :param profile_version:
+ The value to assign to the profile_version property of this Profile.
+ :type profile_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this Profile.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
@@ -240,6 +256,8 @@ def __init__(self, **kwargs):
'os_family': 'str',
'arch_type': 'str',
'time_created': 'datetime',
+ 'time_modified': 'datetime',
+ 'profile_version': 'str',
'lifecycle_state': 'str',
'registration_type': 'str',
'is_default_profile': 'bool',
@@ -260,6 +278,8 @@ def __init__(self, **kwargs):
'os_family': 'osFamily',
'arch_type': 'archType',
'time_created': 'timeCreated',
+ 'time_modified': 'timeModified',
+ 'profile_version': 'profileVersion',
'lifecycle_state': 'lifecycleState',
'registration_type': 'registrationType',
'is_default_profile': 'isDefaultProfile',
@@ -279,6 +299,8 @@ def __init__(self, **kwargs):
self._os_family = None
self._arch_type = None
self._time_created = None
+ self._time_modified = None
+ self._profile_version = None
self._lifecycle_state = None
self._registration_type = None
self._is_default_profile = None
@@ -420,7 +442,8 @@ def description(self, description):
def management_station_id(self):
"""
Gets the management_station_id of this Profile.
- The `OCID`__ of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
+ The `OCID`__ of the management station to associate with an
+ instance once registered. Management stations are only used by non-OCI instances.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -434,7 +457,8 @@ def management_station_id(self):
def management_station_id(self, management_station_id):
"""
Sets the management_station_id of this Profile.
- The `OCID`__ of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
+ The `OCID`__ of the management station to associate with an
+ instance once registered. Management stations are only used by non-OCI instances.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -540,7 +564,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this Profile.
The architecture type.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -559,7 +583,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this Profile.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
@@ -592,13 +616,65 @@ def time_created(self, time_created):
"""
self._time_created = time_created
+ @property
+ def time_modified(self):
+ """
+ Gets the time_modified of this Profile.
+ The time the registration profile was last modified (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_modified of this Profile.
+ :rtype: datetime
+ """
+ return self._time_modified
+
+ @time_modified.setter
+ def time_modified(self, time_modified):
+ """
+ Sets the time_modified of this Profile.
+ The time the registration profile was last modified (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_modified: The time_modified of this Profile.
+ :type: datetime
+ """
+ self._time_modified = time_modified
+
+ @property
+ def profile_version(self):
+ """
+ Gets the profile_version of this Profile.
+ The version of the profile. The version is automatically incremented each time the profiled is edited.
+
+
+ :return: The profile_version of this Profile.
+ :rtype: str
+ """
+ return self._profile_version
+
+ @profile_version.setter
+ def profile_version(self, profile_version):
+ """
+ Sets the profile_version of this Profile.
+ The version of the profile. The version is automatically incremented each time the profiled is edited.
+
+
+ :param profile_version: The profile_version of this Profile.
+ :type: str
+ """
+ self._profile_version = profile_version
+
@property
def lifecycle_state(self):
"""
Gets the lifecycle_state of this Profile.
The current state of the registration profile.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -617,7 +693,7 @@ def lifecycle_state(self, lifecycle_state):
:param lifecycle_state: The lifecycle_state of this Profile.
:type: str
"""
- allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
+ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"]
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
diff --git a/src/oci/os_management_hub/models/profile_collection.py b/src/oci/os_management_hub/models/profile_collection.py
index 4e0bd6a2a9..230dbbe1cc 100644
--- a/src/oci/os_management_hub/models/profile_collection.py
+++ b/src/oci/os_management_hub/models/profile_collection.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class ProfileCollection(object):
"""
- Results of a registration profile search. Contains both registration profile summary items and other data.
+ The set of registration profiles returned for the :func:`list_profiles` operation.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/os_management_hub/models/profile_summary.py b/src/oci/os_management_hub/models/profile_summary.py
index 73f111b3a2..ed2f5ad449 100644
--- a/src/oci/os_management_hub/models/profile_summary.py
+++ b/src/oci/os_management_hub/models/profile_summary.py
@@ -95,6 +95,10 @@ class ProfileSummary(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a ProfileSummary.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new ProfileSummary object with values from keyword arguments.
@@ -144,7 +148,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this ProfileSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -343,7 +347,8 @@ def compartment_id(self, compartment_id):
def management_station_id(self):
"""
Gets the management_station_id of this ProfileSummary.
- The `OCID`__ of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
+ The `OCID`__ of the management station to associate with an
+ instance once registered. Management stations are only used with non-OCI instances.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -357,7 +362,8 @@ def management_station_id(self):
def management_station_id(self, management_station_id):
"""
Sets the management_station_id of this ProfileSummary.
- The `OCID`__ of the management station to associate with an instance once registered. Associating with a management station applies only to non-OCI instances.
+ The `OCID`__ of the management station to associate with an
+ instance once registered. Management stations are only used with non-OCI instances.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -487,7 +493,7 @@ def arch_type(self):
Gets the arch_type of this ProfileSummary.
The architecture type.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -506,7 +512,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this ProfileSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
@@ -515,7 +521,9 @@ def arch_type(self, arch_type):
def time_created(self):
"""
Gets the time_created of this ProfileSummary.
- The time the the Onboarding was created. An RFC3339 formatted datetime string
+ The time the registration profile was created (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
:return: The time_created of this ProfileSummary.
@@ -527,7 +535,9 @@ def time_created(self):
def time_created(self, time_created):
"""
Sets the time_created of this ProfileSummary.
- The time the the Onboarding was created. An RFC3339 formatted datetime string
+ The time the registration profile was created (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
:param time_created: The time_created of this ProfileSummary.
diff --git a/src/oci/os_management_hub/models/profile_version.py b/src/oci/os_management_hub/models/profile_version.py
new file mode 100644
index 0000000000..43da43eaf6
--- /dev/null
+++ b/src/oci/os_management_hub/models/profile_version.py
@@ -0,0 +1,811 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 ProfileVersion(object):
+ """
+ Represents a specific version of a registration profile.
+ """
+
+ #: A constant which can be used with the profile_type property of a ProfileVersion.
+ #: This constant has a value of "SOFTWARESOURCE"
+ PROFILE_TYPE_SOFTWARESOURCE = "SOFTWARESOURCE"
+
+ #: A constant which can be used with the profile_type property of a ProfileVersion.
+ #: This constant has a value of "GROUP"
+ PROFILE_TYPE_GROUP = "GROUP"
+
+ #: A constant which can be used with the profile_type property of a ProfileVersion.
+ #: This constant has a value of "LIFECYCLE"
+ PROFILE_TYPE_LIFECYCLE = "LIFECYCLE"
+
+ #: A constant which can be used with the profile_type property of a ProfileVersion.
+ #: This constant has a value of "STATION"
+ PROFILE_TYPE_STATION = "STATION"
+
+ #: A constant which can be used with the profile_type property of a ProfileVersion.
+ #: This constant has a value of "WINDOWS_STANDALONE"
+ PROFILE_TYPE_WINDOWS_STANDALONE = "WINDOWS_STANDALONE"
+
+ #: A constant which can be used with the vendor_name property of a ProfileVersion.
+ #: This constant has a value of "ORACLE"
+ VENDOR_NAME_ORACLE = "ORACLE"
+
+ #: A constant which can be used with the vendor_name property of a ProfileVersion.
+ #: This constant has a value of "MICROSOFT"
+ VENDOR_NAME_MICROSOFT = "MICROSOFT"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "ORACLE_LINUX_9"
+ OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "ORACLE_LINUX_8"
+ OS_FAMILY_ORACLE_LINUX_8 = "ORACLE_LINUX_8"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "ORACLE_LINUX_7"
+ OS_FAMILY_ORACLE_LINUX_7 = "ORACLE_LINUX_7"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "ORACLE_LINUX_6"
+ OS_FAMILY_ORACLE_LINUX_6 = "ORACLE_LINUX_6"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "WINDOWS_SERVER_2016"
+ OS_FAMILY_WINDOWS_SERVER_2016 = "WINDOWS_SERVER_2016"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "WINDOWS_SERVER_2019"
+ OS_FAMILY_WINDOWS_SERVER_2019 = "WINDOWS_SERVER_2019"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "WINDOWS_SERVER_2022"
+ OS_FAMILY_WINDOWS_SERVER_2022 = "WINDOWS_SERVER_2022"
+
+ #: A constant which can be used with the os_family property of a ProfileVersion.
+ #: This constant has a value of "ALL"
+ OS_FAMILY_ALL = "ALL"
+
+ #: A constant which can be used with the arch_type property of a ProfileVersion.
+ #: This constant has a value of "X86_64"
+ ARCH_TYPE_X86_64 = "X86_64"
+
+ #: A constant which can be used with the arch_type property of a ProfileVersion.
+ #: This constant has a value of "AARCH64"
+ ARCH_TYPE_AARCH64 = "AARCH64"
+
+ #: A constant which can be used with the arch_type property of a ProfileVersion.
+ #: This constant has a value of "I686"
+ ARCH_TYPE_I686 = "I686"
+
+ #: A constant which can be used with the arch_type property of a ProfileVersion.
+ #: This constant has a value of "NOARCH"
+ ARCH_TYPE_NOARCH = "NOARCH"
+
+ #: A constant which can be used with the arch_type property of a ProfileVersion.
+ #: This constant has a value of "SRC"
+ ARCH_TYPE_SRC = "SRC"
+
+ #: A constant which can be used with the arch_type property of a ProfileVersion.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
+ #: A constant which can be used with the registration_type property of a ProfileVersion.
+ #: This constant has a value of "OCI_LINUX"
+ REGISTRATION_TYPE_OCI_LINUX = "OCI_LINUX"
+
+ #: A constant which can be used with the registration_type property of a ProfileVersion.
+ #: This constant has a value of "NON_OCI_LINUX"
+ REGISTRATION_TYPE_NON_OCI_LINUX = "NON_OCI_LINUX"
+
+ #: A constant which can be used with the registration_type property of a ProfileVersion.
+ #: This constant has a value of "OCI_WINDOWS"
+ REGISTRATION_TYPE_OCI_WINDOWS = "OCI_WINDOWS"
+
+ #: A constant which can be used with the registration_type property of a ProfileVersion.
+ #: This constant has a value of "AUTONOMOUS_LINUX"
+ REGISTRATION_TYPE_AUTONOMOUS_LINUX = "AUTONOMOUS_LINUX"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ProfileVersion 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 ProfileVersion.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this ProfileVersion.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this ProfileVersion.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this ProfileVersion.
+ :type description: str
+
+ :param management_station_id:
+ The value to assign to the management_station_id property of this ProfileVersion.
+ :type management_station_id: str
+
+ :param software_sources:
+ The value to assign to the software_sources property of this ProfileVersion.
+ :type software_sources: list[oci.os_management_hub.models.SoftwareSourceDetails]
+
+ :param managed_instance_group:
+ The value to assign to the managed_instance_group property of this ProfileVersion.
+ :type managed_instance_group: oci.os_management_hub.models.ManagedInstanceGroupDetails
+
+ :param lifecycle_environment:
+ The value to assign to the lifecycle_environment property of this ProfileVersion.
+ :type lifecycle_environment: oci.os_management_hub.models.LifecycleEnvironmentDetails
+
+ :param lifecycle_stage:
+ The value to assign to the lifecycle_stage property of this ProfileVersion.
+ :type lifecycle_stage: oci.os_management_hub.models.LifecycleStageDetails
+
+ :param profile_type:
+ The value to assign to the profile_type property of this ProfileVersion.
+ Allowed values for this property are: "SOFTWARESOURCE", "GROUP", "LIFECYCLE", "STATION", "WINDOWS_STANDALONE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type profile_type: str
+
+ :param vendor_name:
+ The value to assign to the vendor_name property of this ProfileVersion.
+ Allowed values for this property are: "ORACLE", "MICROSOFT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type vendor_name: str
+
+ :param os_family:
+ The value to assign to the os_family property of this ProfileVersion.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this ProfileVersion.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type arch_type: str
+
+ :param time_created:
+ The value to assign to the time_created property of this ProfileVersion.
+ :type time_created: datetime
+
+ :param time_modified:
+ The value to assign to the time_modified property of this ProfileVersion.
+ :type time_modified: datetime
+
+ :param profile_version:
+ The value to assign to the profile_version property of this ProfileVersion.
+ :type profile_version: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this ProfileVersion.
+ :type lifecycle_state: str
+
+ :param registration_type:
+ The value to assign to the registration_type property of this ProfileVersion.
+ Allowed values for this property are: "OCI_LINUX", "NON_OCI_LINUX", "OCI_WINDOWS", "AUTONOMOUS_LINUX", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type registration_type: str
+
+ :param is_default_profile:
+ The value to assign to the is_default_profile property of this ProfileVersion.
+ :type is_default_profile: bool
+
+ :param is_service_provided_profile:
+ The value to assign to the is_service_provided_profile property of this ProfileVersion.
+ :type is_service_provided_profile: bool
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'management_station_id': 'str',
+ 'software_sources': 'list[SoftwareSourceDetails]',
+ 'managed_instance_group': 'ManagedInstanceGroupDetails',
+ 'lifecycle_environment': 'LifecycleEnvironmentDetails',
+ 'lifecycle_stage': 'LifecycleStageDetails',
+ 'profile_type': 'str',
+ 'vendor_name': 'str',
+ 'os_family': 'str',
+ 'arch_type': 'str',
+ 'time_created': 'datetime',
+ 'time_modified': 'datetime',
+ 'profile_version': 'str',
+ 'lifecycle_state': 'str',
+ 'registration_type': 'str',
+ 'is_default_profile': 'bool',
+ 'is_service_provided_profile': 'bool'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'management_station_id': 'managementStationId',
+ 'software_sources': 'softwareSources',
+ 'managed_instance_group': 'managedInstanceGroup',
+ 'lifecycle_environment': 'lifecycleEnvironment',
+ 'lifecycle_stage': 'lifecycleStage',
+ 'profile_type': 'profileType',
+ 'vendor_name': 'vendorName',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType',
+ 'time_created': 'timeCreated',
+ 'time_modified': 'timeModified',
+ 'profile_version': 'profileVersion',
+ 'lifecycle_state': 'lifecycleState',
+ 'registration_type': 'registrationType',
+ 'is_default_profile': 'isDefaultProfile',
+ 'is_service_provided_profile': 'isServiceProvidedProfile'
+ }
+
+ self._id = None
+ self._compartment_id = None
+ self._display_name = None
+ self._description = None
+ self._management_station_id = None
+ self._software_sources = None
+ self._managed_instance_group = None
+ self._lifecycle_environment = None
+ self._lifecycle_stage = None
+ self._profile_type = None
+ self._vendor_name = None
+ self._os_family = None
+ self._arch_type = None
+ self._time_created = None
+ self._time_modified = None
+ self._profile_version = None
+ self._lifecycle_state = None
+ self._registration_type = None
+ self._is_default_profile = None
+ self._is_service_provided_profile = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this ProfileVersion.
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this ProfileVersion.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this ProfileVersion.
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this ProfileVersion.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this ProfileVersion.
+ The `OCID`__ of the compartment that contains the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this ProfileVersion.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this ProfileVersion.
+ The `OCID`__ of the compartment that contains the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this ProfileVersion.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def display_name(self):
+ """
+ **[Required]** Gets the display_name of this ProfileVersion.
+ A user-friendly name for the profile.
+
+
+ :return: The display_name of this ProfileVersion.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this ProfileVersion.
+ A user-friendly name for the profile.
+
+
+ :param display_name: The display_name of this ProfileVersion.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this ProfileVersion.
+ The description of the registration profile.
+
+
+ :return: The description of this ProfileVersion.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this ProfileVersion.
+ The description of the registration profile.
+
+
+ :param description: The description of this ProfileVersion.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def management_station_id(self):
+ """
+ Gets the management_station_id of this ProfileVersion.
+ The `OCID`__ of the management station to associate with an
+ instance once registered. Management stations are only used with non-OCI instances.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The management_station_id of this ProfileVersion.
+ :rtype: str
+ """
+ return self._management_station_id
+
+ @management_station_id.setter
+ def management_station_id(self, management_station_id):
+ """
+ Sets the management_station_id of this ProfileVersion.
+ The `OCID`__ of the management station to associate with an
+ instance once registered. Management stations are only used with non-OCI instances.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param management_station_id: The management_station_id of this ProfileVersion.
+ :type: str
+ """
+ self._management_station_id = management_station_id
+
+ @property
+ def software_sources(self):
+ """
+ Gets the software_sources of this ProfileVersion.
+ The list of software sources that the registration profile will use.
+
+
+ :return: The software_sources of this ProfileVersion.
+ :rtype: list[oci.os_management_hub.models.SoftwareSourceDetails]
+ """
+ return self._software_sources
+
+ @software_sources.setter
+ def software_sources(self, software_sources):
+ """
+ Sets the software_sources of this ProfileVersion.
+ The list of software sources that the registration profile will use.
+
+
+ :param software_sources: The software_sources of this ProfileVersion.
+ :type: list[oci.os_management_hub.models.SoftwareSourceDetails]
+ """
+ self._software_sources = software_sources
+
+ @property
+ def managed_instance_group(self):
+ """
+ Gets the managed_instance_group of this ProfileVersion.
+
+ :return: The managed_instance_group of this ProfileVersion.
+ :rtype: oci.os_management_hub.models.ManagedInstanceGroupDetails
+ """
+ return self._managed_instance_group
+
+ @managed_instance_group.setter
+ def managed_instance_group(self, managed_instance_group):
+ """
+ Sets the managed_instance_group of this ProfileVersion.
+
+ :param managed_instance_group: The managed_instance_group of this ProfileVersion.
+ :type: oci.os_management_hub.models.ManagedInstanceGroupDetails
+ """
+ self._managed_instance_group = managed_instance_group
+
+ @property
+ def lifecycle_environment(self):
+ """
+ Gets the lifecycle_environment of this ProfileVersion.
+
+ :return: The lifecycle_environment of this ProfileVersion.
+ :rtype: oci.os_management_hub.models.LifecycleEnvironmentDetails
+ """
+ return self._lifecycle_environment
+
+ @lifecycle_environment.setter
+ def lifecycle_environment(self, lifecycle_environment):
+ """
+ Sets the lifecycle_environment of this ProfileVersion.
+
+ :param lifecycle_environment: The lifecycle_environment of this ProfileVersion.
+ :type: oci.os_management_hub.models.LifecycleEnvironmentDetails
+ """
+ self._lifecycle_environment = lifecycle_environment
+
+ @property
+ def lifecycle_stage(self):
+ """
+ Gets the lifecycle_stage of this ProfileVersion.
+
+ :return: The lifecycle_stage of this ProfileVersion.
+ :rtype: oci.os_management_hub.models.LifecycleStageDetails
+ """
+ return self._lifecycle_stage
+
+ @lifecycle_stage.setter
+ def lifecycle_stage(self, lifecycle_stage):
+ """
+ Sets the lifecycle_stage of this ProfileVersion.
+
+ :param lifecycle_stage: The lifecycle_stage of this ProfileVersion.
+ :type: oci.os_management_hub.models.LifecycleStageDetails
+ """
+ self._lifecycle_stage = lifecycle_stage
+
+ @property
+ def profile_type(self):
+ """
+ Gets the profile_type of this ProfileVersion.
+ The type of profile.
+
+ Allowed values for this property are: "SOFTWARESOURCE", "GROUP", "LIFECYCLE", "STATION", "WINDOWS_STANDALONE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The profile_type of this ProfileVersion.
+ :rtype: str
+ """
+ return self._profile_type
+
+ @profile_type.setter
+ def profile_type(self, profile_type):
+ """
+ Sets the profile_type of this ProfileVersion.
+ The type of profile.
+
+
+ :param profile_type: The profile_type of this ProfileVersion.
+ :type: str
+ """
+ allowed_values = ["SOFTWARESOURCE", "GROUP", "LIFECYCLE", "STATION", "WINDOWS_STANDALONE"]
+ if not value_allowed_none_or_none_sentinel(profile_type, allowed_values):
+ profile_type = 'UNKNOWN_ENUM_VALUE'
+ self._profile_type = profile_type
+
+ @property
+ def vendor_name(self):
+ """
+ **[Required]** Gets the vendor_name of this ProfileVersion.
+ The vendor of the operating system for the instance.
+
+ Allowed values for this property are: "ORACLE", "MICROSOFT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The vendor_name of this ProfileVersion.
+ :rtype: str
+ """
+ return self._vendor_name
+
+ @vendor_name.setter
+ def vendor_name(self, vendor_name):
+ """
+ Sets the vendor_name of this ProfileVersion.
+ The vendor of the operating system for the instance.
+
+
+ :param vendor_name: The vendor_name of this ProfileVersion.
+ :type: str
+ """
+ allowed_values = ["ORACLE", "MICROSOFT"]
+ if not value_allowed_none_or_none_sentinel(vendor_name, allowed_values):
+ vendor_name = 'UNKNOWN_ENUM_VALUE'
+ self._vendor_name = vendor_name
+
+ @property
+ def os_family(self):
+ """
+ **[Required]** Gets the os_family of this ProfileVersion.
+ The operating system family.
+
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The os_family of this ProfileVersion.
+ :rtype: str
+ """
+ return self._os_family
+
+ @os_family.setter
+ def os_family(self, os_family):
+ """
+ Sets the os_family of this ProfileVersion.
+ The operating system family.
+
+
+ :param os_family: The os_family of this ProfileVersion.
+ :type: str
+ """
+ allowed_values = ["ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"]
+ if not value_allowed_none_or_none_sentinel(os_family, allowed_values):
+ os_family = 'UNKNOWN_ENUM_VALUE'
+ self._os_family = os_family
+
+ @property
+ def arch_type(self):
+ """
+ **[Required]** Gets the arch_type of this ProfileVersion.
+ The architecture type.
+
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The arch_type of this ProfileVersion.
+ :rtype: str
+ """
+ return self._arch_type
+
+ @arch_type.setter
+ def arch_type(self, arch_type):
+ """
+ Sets the arch_type of this ProfileVersion.
+ The architecture type.
+
+
+ :param arch_type: The arch_type of this ProfileVersion.
+ :type: str
+ """
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
+ if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
+ arch_type = 'UNKNOWN_ENUM_VALUE'
+ self._arch_type = arch_type
+
+ @property
+ def time_created(self):
+ """
+ Gets the time_created of this ProfileVersion.
+ The time the registration profile was created (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_created of this ProfileVersion.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this ProfileVersion.
+ The time the registration profile was created (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_created: The time_created of this ProfileVersion.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_modified(self):
+ """
+ Gets the time_modified of this ProfileVersion.
+ The time the registration profile was last modified (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_modified of this ProfileVersion.
+ :rtype: datetime
+ """
+ return self._time_modified
+
+ @time_modified.setter
+ def time_modified(self, time_modified):
+ """
+ Sets the time_modified of this ProfileVersion.
+ The time the registration profile was last modified (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_modified: The time_modified of this ProfileVersion.
+ :type: datetime
+ """
+ self._time_modified = time_modified
+
+ @property
+ def profile_version(self):
+ """
+ Gets the profile_version of this ProfileVersion.
+ The version of the profile.
+
+
+ :return: The profile_version of this ProfileVersion.
+ :rtype: str
+ """
+ return self._profile_version
+
+ @profile_version.setter
+ def profile_version(self, profile_version):
+ """
+ Sets the profile_version of this ProfileVersion.
+ The version of the profile.
+
+
+ :param profile_version: The profile_version of this ProfileVersion.
+ :type: str
+ """
+ self._profile_version = profile_version
+
+ @property
+ def lifecycle_state(self):
+ """
+ Gets the lifecycle_state of this ProfileVersion.
+ The current state of the registration profile.
+
+
+ :return: The lifecycle_state of this ProfileVersion.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this ProfileVersion.
+ The current state of the registration profile.
+
+
+ :param lifecycle_state: The lifecycle_state of this ProfileVersion.
+ :type: str
+ """
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def registration_type(self):
+ """
+ Gets the registration_type of this ProfileVersion.
+ The type of instance to register.
+
+ Allowed values for this property are: "OCI_LINUX", "NON_OCI_LINUX", "OCI_WINDOWS", "AUTONOMOUS_LINUX", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The registration_type of this ProfileVersion.
+ :rtype: str
+ """
+ return self._registration_type
+
+ @registration_type.setter
+ def registration_type(self, registration_type):
+ """
+ Sets the registration_type of this ProfileVersion.
+ The type of instance to register.
+
+
+ :param registration_type: The registration_type of this ProfileVersion.
+ :type: str
+ """
+ allowed_values = ["OCI_LINUX", "NON_OCI_LINUX", "OCI_WINDOWS", "AUTONOMOUS_LINUX"]
+ if not value_allowed_none_or_none_sentinel(registration_type, allowed_values):
+ registration_type = 'UNKNOWN_ENUM_VALUE'
+ self._registration_type = registration_type
+
+ @property
+ def is_default_profile(self):
+ """
+ Gets the is_default_profile of this ProfileVersion.
+ Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
+
+
+ :return: The is_default_profile of this ProfileVersion.
+ :rtype: bool
+ """
+ return self._is_default_profile
+
+ @is_default_profile.setter
+ def is_default_profile(self, is_default_profile):
+ """
+ Sets the is_default_profile of this ProfileVersion.
+ Indicates if the profile is set as the default. There is exactly one default profile for a specified architecture, OS family, registration type, and vendor. When registering an instance with the corresonding characteristics, the default profile is used, unless another profile is specified.
+
+
+ :param is_default_profile: The is_default_profile of this ProfileVersion.
+ :type: bool
+ """
+ self._is_default_profile = is_default_profile
+
+ @property
+ def is_service_provided_profile(self):
+ """
+ Gets the is_service_provided_profile of this ProfileVersion.
+ Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
+
+
+ :return: The is_service_provided_profile of this ProfileVersion.
+ :rtype: bool
+ """
+ return self._is_service_provided_profile
+
+ @is_service_provided_profile.setter
+ def is_service_provided_profile(self, is_service_provided_profile):
+ """
+ Sets the is_service_provided_profile of this ProfileVersion.
+ Indicates if the profile was created by the service. OS Management Hub provides a limited set of standardized profiles that can be used to register Autonomous Linux or Windows instances.
+
+
+ :param is_service_provided_profile: The is_service_provided_profile of this ProfileVersion.
+ :type: bool
+ """
+ self._is_service_provided_profile = is_service_provided_profile
+
+ 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/os_management_hub/models/reboot_event.py b/src/oci/os_management_hub/models/reboot_event.py
new file mode 100644
index 0000000000..b50a89c67c
--- /dev/null
+++ b/src/oci/os_management_hub/models/reboot_event.py
@@ -0,0 +1,184 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .event import Event
+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 RebootEvent(Event):
+ """
+ Provides information for a reboot event.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RebootEvent object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.RebootEvent.type` attribute
+ of this class is ``REBOOT`` and it should not be changed.
+ 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 RebootEvent.
+ :type id: str
+
+ :param type:
+ The value to assign to the type property of this RebootEvent.
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
+ :type type: str
+
+ :param event_summary:
+ The value to assign to the event_summary property of this RebootEvent.
+ :type event_summary: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this RebootEvent.
+ :type compartment_id: str
+
+ :param event_details:
+ The value to assign to the event_details property of this RebootEvent.
+ :type event_details: str
+
+ :param resource_id:
+ The value to assign to the resource_id property of this RebootEvent.
+ :type resource_id: str
+
+ :param system_details:
+ The value to assign to the system_details property of this RebootEvent.
+ :type system_details: oci.os_management_hub.models.SystemDetails
+
+ :param time_occurred:
+ The value to assign to the time_occurred property of this RebootEvent.
+ :type time_occurred: datetime
+
+ :param time_created:
+ The value to assign to the time_created property of this RebootEvent.
+ :type time_created: datetime
+
+ :param time_updated:
+ The value to assign to the time_updated property of this RebootEvent.
+ :type time_updated: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this RebootEvent.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ :type lifecycle_state: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this RebootEvent.
+ :type lifecycle_details: str
+
+ :param is_managed_by_autonomous_linux:
+ The value to assign to the is_managed_by_autonomous_linux property of this RebootEvent.
+ :type is_managed_by_autonomous_linux: bool
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this RebootEvent.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this RebootEvent.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this RebootEvent.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param data:
+ The value to assign to the data property of this RebootEvent.
+ :type data: oci.os_management_hub.models.RebootEventData
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'type': 'str',
+ 'event_summary': 'str',
+ 'compartment_id': 'str',
+ 'event_details': 'str',
+ 'resource_id': 'str',
+ 'system_details': 'SystemDetails',
+ 'time_occurred': 'datetime',
+ 'time_created': 'datetime',
+ 'time_updated': 'datetime',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'is_managed_by_autonomous_linux': 'bool',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'data': 'RebootEventData'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'type': 'type',
+ 'event_summary': 'eventSummary',
+ 'compartment_id': 'compartmentId',
+ 'event_details': 'eventDetails',
+ 'resource_id': 'resourceId',
+ 'system_details': 'systemDetails',
+ 'time_occurred': 'timeOccurred',
+ 'time_created': 'timeCreated',
+ 'time_updated': 'timeUpdated',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'data': 'data'
+ }
+
+ self._id = None
+ self._type = None
+ self._event_summary = None
+ self._compartment_id = None
+ self._event_details = None
+ self._resource_id = None
+ self._system_details = None
+ self._time_occurred = None
+ self._time_created = None
+ self._time_updated = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._is_managed_by_autonomous_linux = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._data = None
+ self._type = 'REBOOT'
+
+ @property
+ def data(self):
+ """
+ **[Required]** Gets the data of this RebootEvent.
+
+ :return: The data of this RebootEvent.
+ :rtype: oci.os_management_hub.models.RebootEventData
+ """
+ return self._data
+
+ @data.setter
+ def data(self, data):
+ """
+ Sets the data of this RebootEvent.
+
+ :param data: The data of this RebootEvent.
+ :type: oci.os_management_hub.models.RebootEventData
+ """
+ self._data = data
+
+ 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/os_management_hub/models/reboot_event_data.py b/src/oci/os_management_hub/models/reboot_event_data.py
new file mode 100644
index 0000000000..cc6ac82fe1
--- /dev/null
+++ b/src/oci/os_management_hub/models/reboot_event_data.py
@@ -0,0 +1,123 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 RebootEventData(object):
+ """
+ Provides additional information for a reboot event.
+ """
+
+ #: A constant which can be used with the reboot_status property of a RebootEventData.
+ #: This constant has a value of "REBOOT_STARTED"
+ REBOOT_STATUS_REBOOT_STARTED = "REBOOT_STARTED"
+
+ #: A constant which can be used with the reboot_status property of a RebootEventData.
+ #: This constant has a value of "REBOOT_SUCCEEDED"
+ REBOOT_STATUS_REBOOT_SUCCEEDED = "REBOOT_SUCCEEDED"
+
+ #: A constant which can be used with the reboot_status property of a RebootEventData.
+ #: This constant has a value of "REBOOT_FAILED"
+ REBOOT_STATUS_REBOOT_FAILED = "REBOOT_FAILED"
+
+ #: A constant which can be used with the reboot_status property of a RebootEventData.
+ #: This constant has a value of "REBOOT_SUCCEEDED_AFTER_TIMEOUT"
+ REBOOT_STATUS_REBOOT_SUCCEEDED_AFTER_TIMEOUT = "REBOOT_SUCCEEDED_AFTER_TIMEOUT"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RebootEventData object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param reboot_status:
+ The value to assign to the reboot_status property of this RebootEventData.
+ Allowed values for this property are: "REBOOT_STARTED", "REBOOT_SUCCEEDED", "REBOOT_FAILED", "REBOOT_SUCCEEDED_AFTER_TIMEOUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type reboot_status: str
+
+ :param additional_details:
+ The value to assign to the additional_details property of this RebootEventData.
+ :type additional_details: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
+
+ """
+ self.swagger_types = {
+ 'reboot_status': 'str',
+ 'additional_details': 'WorkRequestEventDataAdditionalDetails'
+ }
+
+ self.attribute_map = {
+ 'reboot_status': 'rebootStatus',
+ 'additional_details': 'additionalDetails'
+ }
+
+ self._reboot_status = None
+ self._additional_details = None
+
+ @property
+ def reboot_status(self):
+ """
+ **[Required]** Gets the reboot_status of this RebootEventData.
+ Reboot status for the current event
+
+ Allowed values for this property are: "REBOOT_STARTED", "REBOOT_SUCCEEDED", "REBOOT_FAILED", "REBOOT_SUCCEEDED_AFTER_TIMEOUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The reboot_status of this RebootEventData.
+ :rtype: str
+ """
+ return self._reboot_status
+
+ @reboot_status.setter
+ def reboot_status(self, reboot_status):
+ """
+ Sets the reboot_status of this RebootEventData.
+ Reboot status for the current event
+
+
+ :param reboot_status: The reboot_status of this RebootEventData.
+ :type: str
+ """
+ allowed_values = ["REBOOT_STARTED", "REBOOT_SUCCEEDED", "REBOOT_FAILED", "REBOOT_SUCCEEDED_AFTER_TIMEOUT"]
+ if not value_allowed_none_or_none_sentinel(reboot_status, allowed_values):
+ reboot_status = 'UNKNOWN_ENUM_VALUE'
+ self._reboot_status = reboot_status
+
+ @property
+ def additional_details(self):
+ """
+ Gets the additional_details of this RebootEventData.
+
+ :return: The additional_details of this RebootEventData.
+ :rtype: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
+ """
+ return self._additional_details
+
+ @additional_details.setter
+ def additional_details(self, additional_details):
+ """
+ Sets the additional_details of this RebootEventData.
+
+ :param additional_details: The additional_details of this RebootEventData.
+ :type: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
+ """
+ self._additional_details = additional_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/os_management_hub/models/reboot_lifecycle_stage_details.py b/src/oci/os_management_hub/models/reboot_lifecycle_stage_details.py
new file mode 100644
index 0000000000..99109abcd1
--- /dev/null
+++ b/src/oci/os_management_hub/models/reboot_lifecycle_stage_details.py
@@ -0,0 +1,101 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 RebootLifecycleStageDetails(object):
+ """
+ PProvides the information used for the reboot job.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RebootLifecycleStageDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param reboot_timeout_in_mins:
+ The value to assign to the reboot_timeout_in_mins property of this RebootLifecycleStageDetails.
+ :type reboot_timeout_in_mins: int
+
+ :param work_request_details:
+ The value to assign to the work_request_details property of this RebootLifecycleStageDetails.
+ :type work_request_details: oci.os_management_hub.models.WorkRequestDetails
+
+ """
+ self.swagger_types = {
+ 'reboot_timeout_in_mins': 'int',
+ 'work_request_details': 'WorkRequestDetails'
+ }
+
+ self.attribute_map = {
+ 'reboot_timeout_in_mins': 'rebootTimeoutInMins',
+ 'work_request_details': 'workRequestDetails'
+ }
+
+ self._reboot_timeout_in_mins = None
+ self._work_request_details = None
+
+ @property
+ def reboot_timeout_in_mins(self):
+ """
+ Gets the reboot_timeout_in_mins of this RebootLifecycleStageDetails.
+ The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot
+ within this time, the reboot job status is set to failed.
+
+
+ :return: The reboot_timeout_in_mins of this RebootLifecycleStageDetails.
+ :rtype: int
+ """
+ return self._reboot_timeout_in_mins
+
+ @reboot_timeout_in_mins.setter
+ def reboot_timeout_in_mins(self, reboot_timeout_in_mins):
+ """
+ Sets the reboot_timeout_in_mins of this RebootLifecycleStageDetails.
+ The number of minutes the service waits for the reboot to complete. If the instances in the stage don't reboot
+ within this time, the reboot job status is set to failed.
+
+
+ :param reboot_timeout_in_mins: The reboot_timeout_in_mins of this RebootLifecycleStageDetails.
+ :type: int
+ """
+ self._reboot_timeout_in_mins = reboot_timeout_in_mins
+
+ @property
+ def work_request_details(self):
+ """
+ Gets the work_request_details of this RebootLifecycleStageDetails.
+
+ :return: The work_request_details of this RebootLifecycleStageDetails.
+ :rtype: oci.os_management_hub.models.WorkRequestDetails
+ """
+ return self._work_request_details
+
+ @work_request_details.setter
+ def work_request_details(self, work_request_details):
+ """
+ Sets the work_request_details of this RebootLifecycleStageDetails.
+
+ :param work_request_details: The work_request_details of this RebootLifecycleStageDetails.
+ :type: oci.os_management_hub.models.WorkRequestDetails
+ """
+ self._work_request_details = work_request_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/os_management_hub/models/reboot_managed_instance_details.py b/src/oci/os_management_hub/models/reboot_managed_instance_details.py
new file mode 100644
index 0000000000..731a726aa1
--- /dev/null
+++ b/src/oci/os_management_hub/models/reboot_managed_instance_details.py
@@ -0,0 +1,101 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 RebootManagedInstanceDetails(object):
+ """
+ Provides the information used for the reboot job.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RebootManagedInstanceDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param reboot_timeout_in_mins:
+ The value to assign to the reboot_timeout_in_mins property of this RebootManagedInstanceDetails.
+ :type reboot_timeout_in_mins: int
+
+ :param work_request_details:
+ The value to assign to the work_request_details property of this RebootManagedInstanceDetails.
+ :type work_request_details: oci.os_management_hub.models.WorkRequestDetails
+
+ """
+ self.swagger_types = {
+ 'reboot_timeout_in_mins': 'int',
+ 'work_request_details': 'WorkRequestDetails'
+ }
+
+ self.attribute_map = {
+ 'reboot_timeout_in_mins': 'rebootTimeoutInMins',
+ 'work_request_details': 'workRequestDetails'
+ }
+
+ self._reboot_timeout_in_mins = None
+ self._work_request_details = None
+
+ @property
+ def reboot_timeout_in_mins(self):
+ """
+ Gets the reboot_timeout_in_mins of this RebootManagedInstanceDetails.
+ The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within this
+ time, the reboot job status is set to failed.
+
+
+ :return: The reboot_timeout_in_mins of this RebootManagedInstanceDetails.
+ :rtype: int
+ """
+ return self._reboot_timeout_in_mins
+
+ @reboot_timeout_in_mins.setter
+ def reboot_timeout_in_mins(self, reboot_timeout_in_mins):
+ """
+ Sets the reboot_timeout_in_mins of this RebootManagedInstanceDetails.
+ The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within this
+ time, the reboot job status is set to failed.
+
+
+ :param reboot_timeout_in_mins: The reboot_timeout_in_mins of this RebootManagedInstanceDetails.
+ :type: int
+ """
+ self._reboot_timeout_in_mins = reboot_timeout_in_mins
+
+ @property
+ def work_request_details(self):
+ """
+ Gets the work_request_details of this RebootManagedInstanceDetails.
+
+ :return: The work_request_details of this RebootManagedInstanceDetails.
+ :rtype: oci.os_management_hub.models.WorkRequestDetails
+ """
+ return self._work_request_details
+
+ @work_request_details.setter
+ def work_request_details(self, work_request_details):
+ """
+ Sets the work_request_details of this RebootManagedInstanceDetails.
+
+ :param work_request_details: The work_request_details of this RebootManagedInstanceDetails.
+ :type: oci.os_management_hub.models.WorkRequestDetails
+ """
+ self._work_request_details = work_request_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/os_management_hub/models/reboot_managed_instance_group_details.py b/src/oci/os_management_hub/models/reboot_managed_instance_group_details.py
new file mode 100644
index 0000000000..b1e58e9543
--- /dev/null
+++ b/src/oci/os_management_hub/models/reboot_managed_instance_group_details.py
@@ -0,0 +1,101 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 RebootManagedInstanceGroupDetails(object):
+ """
+ Provides the information used for the reboot job.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RebootManagedInstanceGroupDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param reboot_timeout_in_mins:
+ The value to assign to the reboot_timeout_in_mins property of this RebootManagedInstanceGroupDetails.
+ :type reboot_timeout_in_mins: int
+
+ :param work_request_details:
+ The value to assign to the work_request_details property of this RebootManagedInstanceGroupDetails.
+ :type work_request_details: oci.os_management_hub.models.WorkRequestDetails
+
+ """
+ self.swagger_types = {
+ 'reboot_timeout_in_mins': 'int',
+ 'work_request_details': 'WorkRequestDetails'
+ }
+
+ self.attribute_map = {
+ 'reboot_timeout_in_mins': 'rebootTimeoutInMins',
+ 'work_request_details': 'workRequestDetails'
+ }
+
+ self._reboot_timeout_in_mins = None
+ self._work_request_details = None
+
+ @property
+ def reboot_timeout_in_mins(self):
+ """
+ Gets the reboot_timeout_in_mins of this RebootManagedInstanceGroupDetails.
+ The number of minutes the service waits for the reboot to complete. If the instances in the group don't reboot
+ within this time, the reboot job status is set to failed.
+
+
+ :return: The reboot_timeout_in_mins of this RebootManagedInstanceGroupDetails.
+ :rtype: int
+ """
+ return self._reboot_timeout_in_mins
+
+ @reboot_timeout_in_mins.setter
+ def reboot_timeout_in_mins(self, reboot_timeout_in_mins):
+ """
+ Sets the reboot_timeout_in_mins of this RebootManagedInstanceGroupDetails.
+ The number of minutes the service waits for the reboot to complete. If the instances in the group don't reboot
+ within this time, the reboot job status is set to failed.
+
+
+ :param reboot_timeout_in_mins: The reboot_timeout_in_mins of this RebootManagedInstanceGroupDetails.
+ :type: int
+ """
+ self._reboot_timeout_in_mins = reboot_timeout_in_mins
+
+ @property
+ def work_request_details(self):
+ """
+ Gets the work_request_details of this RebootManagedInstanceGroupDetails.
+
+ :return: The work_request_details of this RebootManagedInstanceGroupDetails.
+ :rtype: oci.os_management_hub.models.WorkRequestDetails
+ """
+ return self._work_request_details
+
+ @work_request_details.setter
+ def work_request_details(self, work_request_details):
+ """
+ Sets the work_request_details of this RebootManagedInstanceGroupDetails.
+
+ :param work_request_details: The work_request_details of this RebootManagedInstanceGroupDetails.
+ :type: oci.os_management_hub.models.WorkRequestDetails
+ """
+ self._work_request_details = work_request_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/os_management_hub/models/remove_packages_from_software_source_details.py b/src/oci/os_management_hub/models/remove_packages_from_software_source_details.py
new file mode 100644
index 0000000000..3076401835
--- /dev/null
+++ b/src/oci/os_management_hub/models/remove_packages_from_software_source_details.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 RemovePackagesFromSoftwareSourceDetails(object):
+ """
+ Provides a list of packages to be removed from the software source.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RemovePackagesFromSoftwareSourceDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param packages:
+ The value to assign to the packages property of this RemovePackagesFromSoftwareSourceDetails.
+ :type packages: list[str]
+
+ """
+ self.swagger_types = {
+ 'packages': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'packages': 'packages'
+ }
+
+ self._packages = None
+
+ @property
+ def packages(self):
+ """
+ **[Required]** Gets the packages of this RemovePackagesFromSoftwareSourceDetails.
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
+
+
+ :return: The packages of this RemovePackagesFromSoftwareSourceDetails.
+ :rtype: list[str]
+ """
+ return self._packages
+
+ @packages.setter
+ def packages(self, packages):
+ """
+ Sets the packages of this RemovePackagesFromSoftwareSourceDetails.
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
+
+
+ :param packages: The packages of this RemovePackagesFromSoftwareSourceDetails.
+ :type: list[str]
+ """
+ self._packages = packages
+
+ 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/os_management_hub/models/replace_packages_in_software_source_details.py b/src/oci/os_management_hub/models/replace_packages_in_software_source_details.py
new file mode 100644
index 0000000000..04eb382224
--- /dev/null
+++ b/src/oci/os_management_hub/models/replace_packages_in_software_source_details.py
@@ -0,0 +1,72 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 ReplacePackagesInSoftwareSourceDetails(object):
+ """
+ Provides a list of packages that will replace the existing packages in the software source.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ReplacePackagesInSoftwareSourceDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param packages:
+ The value to assign to the packages property of this ReplacePackagesInSoftwareSourceDetails.
+ :type packages: list[str]
+
+ """
+ self.swagger_types = {
+ 'packages': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'packages': 'packages'
+ }
+
+ self._packages = None
+
+ @property
+ def packages(self):
+ """
+ **[Required]** Gets the packages of this ReplacePackagesInSoftwareSourceDetails.
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
+
+
+ :return: The packages of this ReplacePackagesInSoftwareSourceDetails.
+ :rtype: list[str]
+ """
+ return self._packages
+
+ @packages.setter
+ def packages(self, packages):
+ """
+ Sets the packages of this ReplacePackagesInSoftwareSourceDetails.
+ List of packages specified by the name of the package (N) or the full package name (NVRA or NEVRA).
+
+
+ :param packages: The packages of this ReplacePackagesInSoftwareSourceDetails.
+ :type: list[str]
+ """
+ self._packages = packages
+
+ 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/os_management_hub/models/rerun_work_request_details.py b/src/oci/os_management_hub/models/rerun_work_request_details.py
new file mode 100644
index 0000000000..4617972b2c
--- /dev/null
+++ b/src/oci/os_management_hub/models/rerun_work_request_details.py
@@ -0,0 +1,103 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 RerunWorkRequestDetails(object):
+ """
+ Provides the information used to target specific resources for the rerun of a work request.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RerunWorkRequestDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param managed_instances:
+ The value to assign to the managed_instances property of this RerunWorkRequestDetails.
+ :type managed_instances: list[str]
+
+ :param work_request_details:
+ The value to assign to the work_request_details property of this RerunWorkRequestDetails.
+ :type work_request_details: oci.os_management_hub.models.WorkRequestDetails
+
+ """
+ self.swagger_types = {
+ 'managed_instances': 'list[str]',
+ 'work_request_details': 'WorkRequestDetails'
+ }
+
+ self.attribute_map = {
+ 'managed_instances': 'managedInstances',
+ 'work_request_details': 'workRequestDetails'
+ }
+
+ self._managed_instances = None
+ self._work_request_details = None
+
+ @property
+ def managed_instances(self):
+ """
+ Gets the managed_instances of this RerunWorkRequestDetails.
+ List of managed instance `OCIDs`__ to affected by the rerun of the work request.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The managed_instances of this RerunWorkRequestDetails.
+ :rtype: list[str]
+ """
+ return self._managed_instances
+
+ @managed_instances.setter
+ def managed_instances(self, managed_instances):
+ """
+ Sets the managed_instances of this RerunWorkRequestDetails.
+ List of managed instance `OCIDs`__ to affected by the rerun of the work request.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param managed_instances: The managed_instances of this RerunWorkRequestDetails.
+ :type: list[str]
+ """
+ self._managed_instances = managed_instances
+
+ @property
+ def work_request_details(self):
+ """
+ Gets the work_request_details of this RerunWorkRequestDetails.
+
+ :return: The work_request_details of this RerunWorkRequestDetails.
+ :rtype: oci.os_management_hub.models.WorkRequestDetails
+ """
+ return self._work_request_details
+
+ @work_request_details.setter
+ def work_request_details(self, work_request_details):
+ """
+ Sets the work_request_details of this RerunWorkRequestDetails.
+
+ :param work_request_details: The work_request_details of this RerunWorkRequestDetails.
+ :type: oci.os_management_hub.models.WorkRequestDetails
+ """
+ self._work_request_details = work_request_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/os_management_hub/models/scheduled_job.py b/src/oci/os_management_hub/models/scheduled_job.py
index 35b489fb1a..9ada3e8a2d 100644
--- a/src/oci/os_management_hub/models/scheduled_job.py
+++ b/src/oci/os_management_hub/models/scheduled_job.py
@@ -162,6 +162,10 @@ def __init__(self, **kwargs):
The value to assign to the retry_intervals property of this ScheduledJob.
:type retry_intervals: list[int]
+ :param work_request_id:
+ The value to assign to the work_request_id property of this ScheduledJob.
+ :type work_request_id: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -188,7 +192,8 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
'is_restricted': 'bool',
- 'retry_intervals': 'list[int]'
+ 'retry_intervals': 'list[int]',
+ 'work_request_id': 'str'
}
self.attribute_map = {
@@ -216,7 +221,8 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
'is_restricted': 'isRestricted',
- 'retry_intervals': 'retryIntervals'
+ 'retry_intervals': 'retryIntervals',
+ 'work_request_id': 'workRequestId'
}
self._id = None
@@ -244,6 +250,7 @@ def __init__(self, **kwargs):
self._system_tags = None
self._is_restricted = None
self._retry_intervals = None
+ self._work_request_id = None
@property
def id(self):
@@ -957,6 +964,34 @@ def retry_intervals(self, retry_intervals):
"""
self._retry_intervals = retry_intervals
+ @property
+ def work_request_id(self):
+ """
+ Gets the work_request_id of this ScheduledJob.
+ The `OCID`__ for the work request that will be rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The work_request_id of this ScheduledJob.
+ :rtype: str
+ """
+ return self._work_request_id
+
+ @work_request_id.setter
+ def work_request_id(self, work_request_id):
+ """
+ Sets the work_request_id of this ScheduledJob.
+ The `OCID`__ for the work request that will be rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param work_request_id: The work_request_id of this ScheduledJob.
+ :type: str
+ """
+ self._work_request_id = work_request_id
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/scheduled_job_operation.py b/src/oci/os_management_hub/models/scheduled_job_operation.py
index 52ee10b201..7d0f332f99 100644
--- a/src/oci/os_management_hub/models/scheduled_job_operation.py
+++ b/src/oci/os_management_hub/models/scheduled_job_operation.py
@@ -103,6 +103,14 @@ class ScheduledJobOperation(object):
#: This constant has a value of "INSTALL_OTHER_WINDOWS_UPDATES"
OPERATION_TYPE_INSTALL_OTHER_WINDOWS_UPDATES = "INSTALL_OTHER_WINDOWS_UPDATES"
+ #: A constant which can be used with the operation_type property of a ScheduledJobOperation.
+ #: This constant has a value of "REBOOT"
+ OPERATION_TYPE_REBOOT = "REBOOT"
+
+ #: A constant which can be used with the operation_type property of a ScheduledJobOperation.
+ #: This constant has a value of "RERUN_WORK_REQUEST"
+ OPERATION_TYPE_RERUN_WORK_REQUEST = "RERUN_WORK_REQUEST"
+
def __init__(self, **kwargs):
"""
Initializes a new ScheduledJobOperation object with values from keyword arguments.
@@ -110,7 +118,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this ScheduledJobOperation.
- Allowed values for this property are: "INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REBOOT", "RERUN_WORK_REQUEST", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -134,6 +142,10 @@ def __init__(self, **kwargs):
The value to assign to the software_source_ids property of this ScheduledJobOperation.
:type software_source_ids: list[str]
+ :param reboot_timeout_in_mins:
+ The value to assign to the reboot_timeout_in_mins property of this ScheduledJobOperation.
+ :type reboot_timeout_in_mins: int
+
"""
self.swagger_types = {
'operation_type': 'str',
@@ -141,7 +153,8 @@ def __init__(self, **kwargs):
'windows_update_names': 'list[str]',
'manage_module_streams_details': 'ManageModuleStreamsInScheduledJobDetails',
'switch_module_streams_details': 'ModuleStreamDetails',
- 'software_source_ids': 'list[str]'
+ 'software_source_ids': 'list[str]',
+ 'reboot_timeout_in_mins': 'int'
}
self.attribute_map = {
@@ -150,7 +163,8 @@ def __init__(self, **kwargs):
'windows_update_names': 'windowsUpdateNames',
'manage_module_streams_details': 'manageModuleStreamsDetails',
'switch_module_streams_details': 'switchModuleStreamsDetails',
- 'software_source_ids': 'softwareSourceIds'
+ 'software_source_ids': 'softwareSourceIds',
+ 'reboot_timeout_in_mins': 'rebootTimeoutInMins'
}
self._operation_type = None
@@ -159,6 +173,7 @@ def __init__(self, **kwargs):
self._manage_module_streams_details = None
self._switch_module_streams_details = None
self._software_source_ids = None
+ self._reboot_timeout_in_mins = None
@property
def operation_type(self):
@@ -166,7 +181,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this ScheduledJobOperation.
The type of operation this scheduled job performs.
- Allowed values for this property are: "INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REBOOT", "RERUN_WORK_REQUEST", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -185,7 +200,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this ScheduledJobOperation.
:type: str
"""
- allowed_values = ["INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES"]
+ allowed_values = ["INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REBOOT", "RERUN_WORK_REQUEST"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
@@ -312,6 +327,32 @@ def software_source_ids(self, software_source_ids):
"""
self._software_source_ids = software_source_ids
+ @property
+ def reboot_timeout_in_mins(self):
+ """
+ Gets the reboot_timeout_in_mins of this ScheduledJobOperation.
+ The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the
+ timeout, the service marks the reboot job as failed.
+
+
+ :return: The reboot_timeout_in_mins of this ScheduledJobOperation.
+ :rtype: int
+ """
+ return self._reboot_timeout_in_mins
+
+ @reboot_timeout_in_mins.setter
+ def reboot_timeout_in_mins(self, reboot_timeout_in_mins):
+ """
+ Sets the reboot_timeout_in_mins of this ScheduledJobOperation.
+ The number of minutes the service waits for the reboot to complete. If the instance doesn't reboot within the
+ timeout, the service marks the reboot job as failed.
+
+
+ :param reboot_timeout_in_mins: The reboot_timeout_in_mins of this ScheduledJobOperation.
+ :type: int
+ """
+ self._reboot_timeout_in_mins = reboot_timeout_in_mins
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/scheduled_job_summary.py b/src/oci/os_management_hub/models/scheduled_job_summary.py
index 62fc68b958..a1dfbac607 100644
--- a/src/oci/os_management_hub/models/scheduled_job_summary.py
+++ b/src/oci/os_management_hub/models/scheduled_job_summary.py
@@ -114,6 +114,10 @@ def __init__(self, **kwargs):
The value to assign to the retry_intervals property of this ScheduledJobSummary.
:type retry_intervals: list[int]
+ :param work_request_id:
+ The value to assign to the work_request_id property of this ScheduledJobSummary.
+ :type work_request_id: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -136,7 +140,8 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
'is_restricted': 'bool',
- 'retry_intervals': 'list[int]'
+ 'retry_intervals': 'list[int]',
+ 'work_request_id': 'str'
}
self.attribute_map = {
@@ -160,7 +165,8 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
'is_restricted': 'isRestricted',
- 'retry_intervals': 'retryIntervals'
+ 'retry_intervals': 'retryIntervals',
+ 'work_request_id': 'workRequestId'
}
self._id = None
@@ -184,6 +190,7 @@ def __init__(self, **kwargs):
self._system_tags = None
self._is_restricted = None
self._retry_intervals = None
+ self._work_request_id = None
@property
def id(self):
@@ -795,6 +802,34 @@ def retry_intervals(self, retry_intervals):
"""
self._retry_intervals = retry_intervals
+ @property
+ def work_request_id(self):
+ """
+ Gets the work_request_id of this ScheduledJobSummary.
+ The `OCID`__ for the work request that will be rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The work_request_id of this ScheduledJobSummary.
+ :rtype: str
+ """
+ return self._work_request_id
+
+ @work_request_id.setter
+ def work_request_id(self, work_request_id):
+ """
+ Sets the work_request_id of this ScheduledJobSummary.
+ The `OCID`__ for the work request that will be rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param work_request_id: The work_request_id of this ScheduledJobSummary.
+ :type: str
+ """
+ self._work_request_id = work_request_id
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/software_source.py b/src/oci/os_management_hub/models/software_source.py
index 4bc6741012..9e7e3ffc6e 100644
--- a/src/oci/os_management_hub/models/software_source.py
+++ b/src/oci/os_management_hub/models/software_source.py
@@ -29,6 +29,14 @@ class SoftwareSource(object):
#: This constant has a value of "VERSIONED"
SOFTWARE_SOURCE_TYPE_VERSIONED = "VERSIONED"
+ #: A constant which can be used with the software_source_type property of a SoftwareSource.
+ #: This constant has a value of "PRIVATE"
+ SOFTWARE_SOURCE_TYPE_PRIVATE = "PRIVATE"
+
+ #: A constant which can be used with the software_source_type property of a SoftwareSource.
+ #: This constant has a value of "THIRD_PARTY"
+ SOFTWARE_SOURCE_TYPE_THIRD_PARTY = "THIRD_PARTY"
+
#: A constant which can be used with the availability property of a SoftwareSource.
#: This constant has a value of "AVAILABLE"
AVAILABILITY_AVAILABLE = "AVAILABLE"
@@ -113,6 +121,10 @@ class SoftwareSource(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a SoftwareSource.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
#: A constant which can be used with the lifecycle_state property of a SoftwareSource.
#: This constant has a value of "CREATING"
LIFECYCLE_STATE_CREATING = "CREATING"
@@ -141,6 +153,10 @@ class SoftwareSource(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the lifecycle_state property of a SoftwareSource.
+ #: This constant has a value of "NEEDS_ATTENTION"
+ LIFECYCLE_STATE_NEEDS_ATTENTION = "NEEDS_ATTENTION"
+
#: A constant which can be used with the checksum_type property of a SoftwareSource.
#: This constant has a value of "SHA1"
CHECKSUM_TYPE_SHA1 = "SHA1"
@@ -163,8 +179,10 @@ def __init__(self, **kwargs):
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.os_management_hub.models.VendorSoftwareSource`
+ * :class:`~oci.os_management_hub.models.ThirdPartySoftwareSource`
* :class:`~oci.os_management_hub.models.CustomSoftwareSource`
* :class:`~oci.os_management_hub.models.VersionedCustomSoftwareSource`
+ * :class:`~oci.os_management_hub.models.PrivateSoftwareSource`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -190,7 +208,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this SoftwareSource.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
@@ -218,13 +236,13 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this SoftwareSource.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this SoftwareSource.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
@@ -355,11 +373,17 @@ def get_subtype(object_dictionary):
if type == 'VENDOR':
return 'VendorSoftwareSource'
+ if type == 'THIRD_PARTY':
+ return 'ThirdPartySoftwareSource'
+
if type == 'CUSTOM':
return 'CustomSoftwareSource'
if type == 'VERSIONED':
return 'VersionedCustomSoftwareSource'
+
+ if type == 'PRIVATE':
+ return 'PrivateSoftwareSource'
else:
return 'SoftwareSource'
@@ -501,7 +525,7 @@ def software_source_type(self):
**[Required]** Gets the software_source_type of this SoftwareSource.
Type of software source.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -520,7 +544,7 @@ def software_source_type(self, software_source_type):
:param software_source_type: The software_source_type of this SoftwareSource.
:type: str
"""
- allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
+ allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
if not value_allowed_none_or_none_sentinel(software_source_type, allowed_values):
software_source_type = 'UNKNOWN_ENUM_VALUE'
self._software_source_type = software_source_type
@@ -613,7 +637,7 @@ def repo_id(self, repo_id):
def os_family(self):
"""
**[Required]** Gets the os_family of this SoftwareSource.
- The OS family the software source belongs to.
+ The OS family of the software source.
Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -628,7 +652,7 @@ def os_family(self):
def os_family(self, os_family):
"""
Sets the os_family of this SoftwareSource.
- The OS family the software source belongs to.
+ The OS family of the software source.
:param os_family: The os_family of this SoftwareSource.
@@ -645,7 +669,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this SoftwareSource.
The architecture type supported by the software source.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -664,7 +688,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this SoftwareSource.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
@@ -675,7 +699,7 @@ def lifecycle_state(self):
Gets the lifecycle_state of this SoftwareSource.
The current state of the software source.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -694,7 +718,7 @@ def lifecycle_state(self, lifecycle_state):
:param lifecycle_state: The lifecycle_state of this SoftwareSource.
:type: str
"""
- allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"]
+ allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION"]
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
@@ -781,7 +805,7 @@ def checksum_type(self, checksum_type):
def gpg_key_url(self):
"""
Gets the gpg_key_url of this SoftwareSource.
- URL of the GPG key for this software source.
+ URI of the GPG key for this software source.
:return: The gpg_key_url of this SoftwareSource.
@@ -793,7 +817,7 @@ def gpg_key_url(self):
def gpg_key_url(self, gpg_key_url):
"""
Sets the gpg_key_url of this SoftwareSource.
- URL of the GPG key for this software source.
+ URI of the GPG key for this software source.
:param gpg_key_url: The gpg_key_url of this SoftwareSource.
@@ -853,7 +877,7 @@ def gpg_key_fingerprint(self, gpg_key_fingerprint):
def size(self):
"""
Gets the size of this SoftwareSource.
- The size of the software source in gigabytes (GB).
+ The size of the software source in bytes (B).
:return: The size of this SoftwareSource.
@@ -865,7 +889,7 @@ def size(self):
def size(self, size):
"""
Sets the size of this SoftwareSource.
- The size of the software source in gigabytes (GB).
+ The size of the software source in bytes (B).
:param size: The size of this SoftwareSource.
diff --git a/src/oci/os_management_hub/models/software_source_details.py b/src/oci/os_management_hub/models/software_source_details.py
index 00b788c079..83e2ba7101 100644
--- a/src/oci/os_management_hub/models/software_source_details.py
+++ b/src/oci/os_management_hub/models/software_source_details.py
@@ -27,6 +27,14 @@ class SoftwareSourceDetails(object):
#: This constant has a value of "VERSIONED"
SOFTWARE_SOURCE_TYPE_VERSIONED = "VERSIONED"
+ #: A constant which can be used with the software_source_type property of a SoftwareSourceDetails.
+ #: This constant has a value of "PRIVATE"
+ SOFTWARE_SOURCE_TYPE_PRIVATE = "PRIVATE"
+
+ #: A constant which can be used with the software_source_type property of a SoftwareSourceDetails.
+ #: This constant has a value of "THIRD_PARTY"
+ SOFTWARE_SOURCE_TYPE_THIRD_PARTY = "THIRD_PARTY"
+
def __init__(self, **kwargs):
"""
Initializes a new SoftwareSourceDetails object with values from keyword arguments.
@@ -46,7 +54,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this SoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
@@ -159,7 +167,7 @@ def software_source_type(self):
Gets the software_source_type of this SoftwareSourceDetails.
Type of the software source.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -178,7 +186,7 @@ def software_source_type(self, software_source_type):
:param software_source_type: The software_source_type of this SoftwareSourceDetails.
:type: str
"""
- allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
+ allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
if not value_allowed_none_or_none_sentinel(software_source_type, allowed_values):
software_source_type = 'UNKNOWN_ENUM_VALUE'
self._software_source_type = software_source_type
diff --git a/src/oci/os_management_hub/models/software_source_event.py b/src/oci/os_management_hub/models/software_source_event.py
index 020d20b581..f34499eeae 100644
--- a/src/oci/os_management_hub/models/software_source_event.py
+++ b/src/oci/os_management_hub/models/software_source_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this SoftwareSourceEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/software_source_profile.py b/src/oci/os_management_hub/models/software_source_profile.py
index 4d52aaaa0f..3f5d872412 100644
--- a/src/oci/os_management_hub/models/software_source_profile.py
+++ b/src/oci/os_management_hub/models/software_source_profile.py
@@ -58,16 +58,24 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this SoftwareSourceProfile.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param time_created:
The value to assign to the time_created property of this SoftwareSourceProfile.
:type time_created: datetime
+ :param time_modified:
+ The value to assign to the time_modified property of this SoftwareSourceProfile.
+ :type time_modified: datetime
+
+ :param profile_version:
+ The value to assign to the profile_version property of this SoftwareSourceProfile.
+ :type profile_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this SoftwareSourceProfile.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
:type lifecycle_state: str
:param registration_type:
@@ -111,6 +119,8 @@ def __init__(self, **kwargs):
'os_family': 'str',
'arch_type': 'str',
'time_created': 'datetime',
+ 'time_modified': 'datetime',
+ 'profile_version': 'str',
'lifecycle_state': 'str',
'registration_type': 'str',
'is_default_profile': 'bool',
@@ -132,6 +142,8 @@ def __init__(self, **kwargs):
'os_family': 'osFamily',
'arch_type': 'archType',
'time_created': 'timeCreated',
+ 'time_modified': 'timeModified',
+ 'profile_version': 'profileVersion',
'lifecycle_state': 'lifecycleState',
'registration_type': 'registrationType',
'is_default_profile': 'isDefaultProfile',
@@ -152,6 +164,8 @@ def __init__(self, **kwargs):
self._os_family = None
self._arch_type = None
self._time_created = None
+ self._time_modified = None
+ self._profile_version = None
self._lifecycle_state = None
self._registration_type = None
self._is_default_profile = None
diff --git a/src/oci/os_management_hub/models/software_source_summary.py b/src/oci/os_management_hub/models/software_source_summary.py
index c052e96a70..ccecfea9e6 100644
--- a/src/oci/os_management_hub/models/software_source_summary.py
+++ b/src/oci/os_management_hub/models/software_source_summary.py
@@ -29,6 +29,14 @@ class SoftwareSourceSummary(object):
#: This constant has a value of "VERSIONED"
SOFTWARE_SOURCE_TYPE_VERSIONED = "VERSIONED"
+ #: A constant which can be used with the software_source_type property of a SoftwareSourceSummary.
+ #: This constant has a value of "PRIVATE"
+ SOFTWARE_SOURCE_TYPE_PRIVATE = "PRIVATE"
+
+ #: A constant which can be used with the software_source_type property of a SoftwareSourceSummary.
+ #: This constant has a value of "THIRD_PARTY"
+ SOFTWARE_SOURCE_TYPE_THIRD_PARTY = "THIRD_PARTY"
+
#: A constant which can be used with the availability property of a SoftwareSourceSummary.
#: This constant has a value of "AVAILABLE"
AVAILABILITY_AVAILABLE = "AVAILABLE"
@@ -113,13 +121,19 @@ class SoftwareSourceSummary(object):
#: This constant has a value of "SRC"
ARCH_TYPE_SRC = "SRC"
+ #: A constant which can be used with the arch_type property of a SoftwareSourceSummary.
+ #: This constant has a value of "I386"
+ ARCH_TYPE_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new SoftwareSourceSummary 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.os_management_hub.models.PrivateSoftwareSourceSummary`
* :class:`~oci.os_management_hub.models.VendorSoftwareSourceSummary`
* :class:`~oci.os_management_hub.models.VersionedCustomSoftwareSourceSummary`
+ * :class:`~oci.os_management_hub.models.ThirdPartySoftwareSourceSummary`
* :class:`~oci.os_management_hub.models.CustomSoftwareSourceSummary`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -158,7 +172,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this SoftwareSourceSummary.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
@@ -182,7 +196,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this SoftwareSourceSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
@@ -283,12 +297,18 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['softwareSourceType']
+ if type == 'PRIVATE':
+ return 'PrivateSoftwareSourceSummary'
+
if type == 'VENDOR':
return 'VendorSoftwareSourceSummary'
if type == 'VERSIONED':
return 'VersionedCustomSoftwareSourceSummary'
+ if type == 'THIRD_PARTY':
+ return 'ThirdPartySoftwareSourceSummary'
+
if type == 'CUSTOM':
return 'CustomSoftwareSourceSummary'
else:
@@ -508,7 +528,7 @@ def software_source_type(self):
**[Required]** Gets the software_source_type of this SoftwareSourceSummary.
Type of software source.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -527,7 +547,7 @@ def software_source_type(self, software_source_type):
:param software_source_type: The software_source_type of this SoftwareSourceSummary.
:type: str
"""
- allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
+ allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
if not value_allowed_none_or_none_sentinel(software_source_type, allowed_values):
software_source_type = 'UNKNOWN_ENUM_VALUE'
self._software_source_type = software_source_type
@@ -596,7 +616,7 @@ def availability_at_oci(self, availability_at_oci):
def os_family(self):
"""
**[Required]** Gets the os_family of this SoftwareSourceSummary.
- The OS family the software source belongs to.
+ The OS family of the software source.
Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -611,7 +631,7 @@ def os_family(self):
def os_family(self, os_family):
"""
Sets the os_family of this SoftwareSourceSummary.
- The OS family the software source belongs to.
+ The OS family of the software source.
:param os_family: The os_family of this SoftwareSourceSummary.
@@ -628,7 +648,7 @@ def arch_type(self):
**[Required]** Gets the arch_type of this SoftwareSourceSummary.
The architecture type supported by the software source.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -647,7 +667,7 @@ def arch_type(self, arch_type):
:param arch_type: The arch_type of this SoftwareSourceSummary.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(arch_type, allowed_values):
arch_type = 'UNKNOWN_ENUM_VALUE'
self._arch_type = arch_type
@@ -704,7 +724,7 @@ def lifecycle_state(self, lifecycle_state):
def size(self):
"""
Gets the size of this SoftwareSourceSummary.
- The size of the software source in gigabytes (GB).
+ The size of the software source in bytes (B).
:return: The size of this SoftwareSourceSummary.
@@ -716,7 +736,7 @@ def size(self):
def size(self, size):
"""
Sets the size of this SoftwareSourceSummary.
- The size of the software source in gigabytes (GB).
+ The size of the software source in bytes (B).
:param size: The size of this SoftwareSourceSummary.
diff --git a/src/oci/os_management_hub/models/software_source_vendor_summary.py b/src/oci/os_management_hub/models/software_source_vendor_summary.py
index 44c21fe1f3..763ed82735 100644
--- a/src/oci/os_management_hub/models/software_source_vendor_summary.py
+++ b/src/oci/os_management_hub/models/software_source_vendor_summary.py
@@ -75,6 +75,10 @@ class SoftwareSourceVendorSummary(object):
#: This constant has a value of "SRC"
ARCH_TYPES_SRC = "SRC"
+ #: A constant which can be used with the arch_types property of a SoftwareSourceVendorSummary.
+ #: This constant has a value of "I386"
+ ARCH_TYPES_I386 = "I386"
+
def __init__(self, **kwargs):
"""
Initializes a new SoftwareSourceVendorSummary object with values from keyword arguments.
@@ -94,7 +98,7 @@ def __init__(self, **kwargs):
:param arch_types:
The value to assign to the arch_types property of this SoftwareSourceVendorSummary.
- Allowed values for items in this list are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for items in this list are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_types: list[str]
@@ -181,7 +185,7 @@ def arch_types(self):
**[Required]** Gets the arch_types of this SoftwareSourceVendorSummary.
List of corresponding architecture types.
- Allowed values for items in this list are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for items in this list are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -200,7 +204,7 @@ def arch_types(self, arch_types):
:param arch_types: The arch_types of this SoftwareSourceVendorSummary.
:type: list[str]
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if arch_types:
arch_types[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in arch_types]
self._arch_types = arch_types
diff --git a/src/oci/os_management_hub/models/software_update_event.py b/src/oci/os_management_hub/models/software_update_event.py
index 572d5855e8..66f3ef59cf 100644
--- a/src/oci/os_management_hub/models/software_update_event.py
+++ b/src/oci/os_management_hub/models/software_update_event.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this SoftwareUpdateEvent.
- Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION"
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
:type type: str
:param event_summary:
diff --git a/src/oci/os_management_hub/models/station_health.py b/src/oci/os_management_hub/models/station_health.py
index f9bf30d1ca..e0c15fb8d9 100644
--- a/src/oci/os_management_hub/models/station_health.py
+++ b/src/oci/os_management_hub/models/station_health.py
@@ -23,6 +23,10 @@ class StationHealth(object):
#: This constant has a value of "UNHEALTHY"
STATE_UNHEALTHY = "UNHEALTHY"
+ #: A constant which can be used with the state property of a StationHealth.
+ #: This constant has a value of "UNAVAILABLE"
+ STATE_UNAVAILABLE = "UNAVAILABLE"
+
def __init__(self, **kwargs):
"""
Initializes a new StationHealth object with values from keyword arguments.
@@ -30,7 +34,7 @@ def __init__(self, **kwargs):
:param state:
The value to assign to the state property of this StationHealth.
- Allowed values for this property are: "HEALTHY", "UNHEALTHY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type state: str
@@ -58,7 +62,7 @@ def state(self):
**[Required]** Gets the state of this StationHealth.
Overall health status of the management station.
- Allowed values for this property are: "HEALTHY", "UNHEALTHY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "UNHEALTHY", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -77,7 +81,7 @@ def state(self, state):
:param state: The state of this StationHealth.
:type: str
"""
- allowed_values = ["HEALTHY", "UNHEALTHY"]
+ allowed_values = ["HEALTHY", "UNHEALTHY", "UNAVAILABLE"]
if not value_allowed_none_or_none_sentinel(state, allowed_values):
state = 'UNKNOWN_ENUM_VALUE'
self._state = state
diff --git a/src/oci/os_management_hub/models/station_profile.py b/src/oci/os_management_hub/models/station_profile.py
index 4db28fffc8..a05af6e2ef 100644
--- a/src/oci/os_management_hub/models/station_profile.py
+++ b/src/oci/os_management_hub/models/station_profile.py
@@ -58,16 +58,24 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this StationProfile.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param time_created:
The value to assign to the time_created property of this StationProfile.
:type time_created: datetime
+ :param time_modified:
+ The value to assign to the time_modified property of this StationProfile.
+ :type time_modified: datetime
+
+ :param profile_version:
+ The value to assign to the profile_version property of this StationProfile.
+ :type profile_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this StationProfile.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
:type lifecycle_state: str
:param registration_type:
@@ -107,6 +115,8 @@ def __init__(self, **kwargs):
'os_family': 'str',
'arch_type': 'str',
'time_created': 'datetime',
+ 'time_modified': 'datetime',
+ 'profile_version': 'str',
'lifecycle_state': 'str',
'registration_type': 'str',
'is_default_profile': 'bool',
@@ -127,6 +137,8 @@ def __init__(self, **kwargs):
'os_family': 'osFamily',
'arch_type': 'archType',
'time_created': 'timeCreated',
+ 'time_modified': 'timeModified',
+ 'profile_version': 'profileVersion',
'lifecycle_state': 'lifecycleState',
'registration_type': 'registrationType',
'is_default_profile': 'isDefaultProfile',
@@ -146,6 +158,8 @@ def __init__(self, **kwargs):
self._os_family = None
self._arch_type = None
self._time_created = None
+ self._time_modified = None
+ self._profile_version = None
self._lifecycle_state = None
self._registration_type = None
self._is_default_profile = None
diff --git a/src/oci/os_management_hub/models/synchronize_mirrors_details.py b/src/oci/os_management_hub/models/synchronize_mirrors_details.py
index 60de44eb9c..4730a6ddd9 100644
--- a/src/oci/os_management_hub/models/synchronize_mirrors_details.py
+++ b/src/oci/os_management_hub/models/synchronize_mirrors_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class SynchronizeMirrorsDetails(object):
"""
- Details for syncing selected mirrors
+ Detailed information about software source mirrors to be synced.
"""
def __init__(self, **kwargs):
@@ -39,7 +39,9 @@ def __init__(self, **kwargs):
def software_source_list(self):
"""
**[Required]** Gets the software_source_list of this SynchronizeMirrorsDetails.
- List of Software Source OCIDs to synchronize
+ List of software source `OCIDs`__ to synchronize.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:return: The software_source_list of this SynchronizeMirrorsDetails.
@@ -51,7 +53,9 @@ def software_source_list(self):
def software_source_list(self, software_source_list):
"""
Sets the software_source_list of this SynchronizeMirrorsDetails.
- List of Software Source OCIDs to synchronize
+ List of software source `OCIDs`__ to synchronize.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param software_source_list: The software_source_list of this SynchronizeMirrorsDetails.
diff --git a/src/oci/os_management_hub/models/sysadmin_event.py b/src/oci/os_management_hub/models/sysadmin_event.py
new file mode 100644
index 0000000000..e7b96cb525
--- /dev/null
+++ b/src/oci/os_management_hub/models/sysadmin_event.py
@@ -0,0 +1,184 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .event import Event
+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 SysadminEvent(Event):
+ """
+ Information about the sysadmin event.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new SysadminEvent object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.SysadminEvent.type` attribute
+ of this class is ``SYSADMIN`` and it should not be changed.
+ 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 SysadminEvent.
+ :type id: str
+
+ :param type:
+ The value to assign to the type property of this SysadminEvent.
+ Allowed values for this property are: "KERNEL_OOPS", "KERNEL_CRASH", "EXPLOIT_ATTEMPT", "SOFTWARE_UPDATE", "KSPLICE_UPDATE", "SOFTWARE_SOURCE", "AGENT", "MANAGEMENT_STATION", "SYSADMIN", "REBOOT"
+ :type type: str
+
+ :param event_summary:
+ The value to assign to the event_summary property of this SysadminEvent.
+ :type event_summary: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this SysadminEvent.
+ :type compartment_id: str
+
+ :param event_details:
+ The value to assign to the event_details property of this SysadminEvent.
+ :type event_details: str
+
+ :param resource_id:
+ The value to assign to the resource_id property of this SysadminEvent.
+ :type resource_id: str
+
+ :param system_details:
+ The value to assign to the system_details property of this SysadminEvent.
+ :type system_details: oci.os_management_hub.models.SystemDetails
+
+ :param time_occurred:
+ The value to assign to the time_occurred property of this SysadminEvent.
+ :type time_occurred: datetime
+
+ :param time_created:
+ The value to assign to the time_created property of this SysadminEvent.
+ :type time_created: datetime
+
+ :param time_updated:
+ The value to assign to the time_updated property of this SysadminEvent.
+ :type time_updated: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this SysadminEvent.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ :type lifecycle_state: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this SysadminEvent.
+ :type lifecycle_details: str
+
+ :param is_managed_by_autonomous_linux:
+ The value to assign to the is_managed_by_autonomous_linux property of this SysadminEvent.
+ :type is_managed_by_autonomous_linux: bool
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this SysadminEvent.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this SysadminEvent.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this SysadminEvent.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param data:
+ The value to assign to the data property of this SysadminEvent.
+ :type data: oci.os_management_hub.models.SysadminEventData
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'type': 'str',
+ 'event_summary': 'str',
+ 'compartment_id': 'str',
+ 'event_details': 'str',
+ 'resource_id': 'str',
+ 'system_details': 'SystemDetails',
+ 'time_occurred': 'datetime',
+ 'time_created': 'datetime',
+ 'time_updated': 'datetime',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'is_managed_by_autonomous_linux': 'bool',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'data': 'SysadminEventData'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'type': 'type',
+ 'event_summary': 'eventSummary',
+ 'compartment_id': 'compartmentId',
+ 'event_details': 'eventDetails',
+ 'resource_id': 'resourceId',
+ 'system_details': 'systemDetails',
+ 'time_occurred': 'timeOccurred',
+ 'time_created': 'timeCreated',
+ 'time_updated': 'timeUpdated',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'data': 'data'
+ }
+
+ self._id = None
+ self._type = None
+ self._event_summary = None
+ self._compartment_id = None
+ self._event_details = None
+ self._resource_id = None
+ self._system_details = None
+ self._time_occurred = None
+ self._time_created = None
+ self._time_updated = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._is_managed_by_autonomous_linux = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._data = None
+ self._type = 'SYSADMIN'
+
+ @property
+ def data(self):
+ """
+ **[Required]** Gets the data of this SysadminEvent.
+
+ :return: The data of this SysadminEvent.
+ :rtype: oci.os_management_hub.models.SysadminEventData
+ """
+ return self._data
+
+ @data.setter
+ def data(self, data):
+ """
+ Sets the data of this SysadminEvent.
+
+ :param data: The data of this SysadminEvent.
+ :type: oci.os_management_hub.models.SysadminEventData
+ """
+ self._data = data
+
+ 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/os_management_hub/models/sysadmin_event_data.py b/src/oci/os_management_hub/models/sysadmin_event_data.py
new file mode 100644
index 0000000000..7a518b5820
--- /dev/null
+++ b/src/oci/os_management_hub/models/sysadmin_event_data.py
@@ -0,0 +1,239 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+
+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 SysadminEventData(object):
+ """
+ Data related to the sysadmin event.
+ """
+
+ #: A constant which can be used with the resolution_status property of a SysadminEventData.
+ #: This constant has a value of "SUCCEEDED"
+ RESOLUTION_STATUS_SUCCEEDED = "SUCCEEDED"
+
+ #: A constant which can be used with the resolution_status property of a SysadminEventData.
+ #: This constant has a value of "FAILED"
+ RESOLUTION_STATUS_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new SysadminEventData object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param error_cause:
+ The value to assign to the error_cause property of this SysadminEventData.
+ :type error_cause: str
+
+ :param error_log:
+ The value to assign to the error_log property of this SysadminEventData.
+ :type error_log: str
+
+ :param attempted_resolutions:
+ The value to assign to the attempted_resolutions property of this SysadminEventData.
+ :type attempted_resolutions: list[str]
+
+ :param resolution_status:
+ The value to assign to the resolution_status property of this SysadminEventData.
+ Allowed values for this property are: "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type resolution_status: str
+
+ :param resolution_log:
+ The value to assign to the resolution_log property of this SysadminEventData.
+ :type resolution_log: str
+
+ :param additional_details:
+ The value to assign to the additional_details property of this SysadminEventData.
+ :type additional_details: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
+
+ """
+ self.swagger_types = {
+ 'error_cause': 'str',
+ 'error_log': 'str',
+ 'attempted_resolutions': 'list[str]',
+ 'resolution_status': 'str',
+ 'resolution_log': 'str',
+ 'additional_details': 'WorkRequestEventDataAdditionalDetails'
+ }
+
+ self.attribute_map = {
+ 'error_cause': 'errorCause',
+ 'error_log': 'errorLog',
+ 'attempted_resolutions': 'attemptedResolutions',
+ 'resolution_status': 'resolutionStatus',
+ 'resolution_log': 'resolutionLog',
+ 'additional_details': 'additionalDetails'
+ }
+
+ self._error_cause = None
+ self._error_log = None
+ self._attempted_resolutions = None
+ self._resolution_status = None
+ self._resolution_log = None
+ self._additional_details = None
+
+ @property
+ def error_cause(self):
+ """
+ **[Required]** Gets the error_cause of this SysadminEventData.
+ The commands executed by the agent that caused the error.
+
+
+ :return: The error_cause of this SysadminEventData.
+ :rtype: str
+ """
+ return self._error_cause
+
+ @error_cause.setter
+ def error_cause(self, error_cause):
+ """
+ Sets the error_cause of this SysadminEventData.
+ The commands executed by the agent that caused the error.
+
+
+ :param error_cause: The error_cause of this SysadminEventData.
+ :type: str
+ """
+ self._error_cause = error_cause
+
+ @property
+ def error_log(self):
+ """
+ **[Required]** Gets the error_log of this SysadminEventData.
+ The output log of the error.
+
+
+ :return: The error_log of this SysadminEventData.
+ :rtype: str
+ """
+ return self._error_log
+
+ @error_log.setter
+ def error_log(self, error_log):
+ """
+ Sets the error_log of this SysadminEventData.
+ The output log of the error.
+
+
+ :param error_log: The error_log of this SysadminEventData.
+ :type: str
+ """
+ self._error_log = error_log
+
+ @property
+ def attempted_resolutions(self):
+ """
+ **[Required]** Gets the attempted_resolutions of this SysadminEventData.
+ The actions used to attempt fixing the error.
+
+
+ :return: The attempted_resolutions of this SysadminEventData.
+ :rtype: list[str]
+ """
+ return self._attempted_resolutions
+
+ @attempted_resolutions.setter
+ def attempted_resolutions(self, attempted_resolutions):
+ """
+ Sets the attempted_resolutions of this SysadminEventData.
+ The actions used to attempt fixing the error.
+
+
+ :param attempted_resolutions: The attempted_resolutions of this SysadminEventData.
+ :type: list[str]
+ """
+ self._attempted_resolutions = attempted_resolutions
+
+ @property
+ def resolution_status(self):
+ """
+ **[Required]** Gets the resolution_status of this SysadminEventData.
+ Indicates if the event succeeded.
+
+ Allowed values for this property are: "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The resolution_status of this SysadminEventData.
+ :rtype: str
+ """
+ return self._resolution_status
+
+ @resolution_status.setter
+ def resolution_status(self, resolution_status):
+ """
+ Sets the resolution_status of this SysadminEventData.
+ Indicates if the event succeeded.
+
+
+ :param resolution_status: The resolution_status of this SysadminEventData.
+ :type: str
+ """
+ allowed_values = ["SUCCEEDED", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(resolution_status, allowed_values):
+ resolution_status = 'UNKNOWN_ENUM_VALUE'
+ self._resolution_status = resolution_status
+
+ @property
+ def resolution_log(self):
+ """
+ **[Required]** Gets the resolution_log of this SysadminEventData.
+ The log output after the resolutions.
+
+
+ :return: The resolution_log of this SysadminEventData.
+ :rtype: str
+ """
+ return self._resolution_log
+
+ @resolution_log.setter
+ def resolution_log(self, resolution_log):
+ """
+ Sets the resolution_log of this SysadminEventData.
+ The log output after the resolutions.
+
+
+ :param resolution_log: The resolution_log of this SysadminEventData.
+ :type: str
+ """
+ self._resolution_log = resolution_log
+
+ @property
+ def additional_details(self):
+ """
+ Gets the additional_details of this SysadminEventData.
+
+ :return: The additional_details of this SysadminEventData.
+ :rtype: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
+ """
+ return self._additional_details
+
+ @additional_details.setter
+ def additional_details(self, additional_details):
+ """
+ Sets the additional_details of this SysadminEventData.
+
+ :param additional_details: The additional_details of this SysadminEventData.
+ :type: oci.os_management_hub.models.WorkRequestEventDataAdditionalDetails
+ """
+ self._additional_details = additional_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/os_management_hub/models/system_details.py b/src/oci/os_management_hub/models/system_details.py
index 86da79792c..ae3b1e4373 100644
--- a/src/oci/os_management_hub/models/system_details.py
+++ b/src/oci/os_management_hub/models/system_details.py
@@ -35,6 +35,10 @@ class SystemDetails(object):
#: This constant has a value of "SRC"
ARCHITECTURE_SRC = "SRC"
+ #: A constant which can be used with the architecture property of a SystemDetails.
+ #: This constant has a value of "I386"
+ ARCHITECTURE_I386 = "I386"
+
#: A constant which can be used with the os_family property of a SystemDetails.
#: This constant has a value of "ORACLE_LINUX_9"
OS_FAMILY_ORACLE_LINUX_9 = "ORACLE_LINUX_9"
@@ -74,7 +78,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this SystemDetails.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
@@ -139,7 +143,7 @@ def architecture(self):
**[Required]** Gets the architecture of this SystemDetails.
Architecture type.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -158,7 +162,7 @@ def architecture(self, architecture):
:param architecture: The architecture of this SystemDetails.
:type: str
"""
- allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if not value_allowed_none_or_none_sentinel(architecture, allowed_values):
architecture = 'UNKNOWN_ENUM_VALUE'
self._architecture = architecture
diff --git a/src/oci/os_management_hub/models/third_party_software_source.py b/src/oci/os_management_hub/models/third_party_software_source.py
new file mode 100644
index 0000000000..e45c214ae4
--- /dev/null
+++ b/src/oci/os_management_hub/models/third_party_software_source.py
@@ -0,0 +1,330 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .software_source import SoftwareSource
+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 ThirdPartySoftwareSource(SoftwareSource):
+ """
+ The object that defines a third-party software source. A software source is a collection of packages. For more information, see `Managing Software Sources`__.
+
+ __ https://docs.cloud.oracle.com/iaas/osmh/doc/software-sources.htm
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ThirdPartySoftwareSource object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.ThirdPartySoftwareSource.software_source_type` attribute
+ of this class is ``THIRD_PARTY`` and it should not be changed.
+ 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 ThirdPartySoftwareSource.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this ThirdPartySoftwareSource.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this ThirdPartySoftwareSource.
+ :type display_name: str
+
+ :param time_created:
+ The value to assign to the time_created property of this ThirdPartySoftwareSource.
+ :type time_created: datetime
+
+ :param description:
+ The value to assign to the description property of this ThirdPartySoftwareSource.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this ThirdPartySoftwareSource.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param availability:
+ The value to assign to the availability property of this ThirdPartySoftwareSource.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability: str
+
+ :param availability_at_oci:
+ The value to assign to the availability_at_oci property of this ThirdPartySoftwareSource.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability_at_oci: str
+
+ :param repo_id:
+ The value to assign to the repo_id property of this ThirdPartySoftwareSource.
+ :type repo_id: str
+
+ :param os_family:
+ The value to assign to the os_family property of this ThirdPartySoftwareSource.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this ThirdPartySoftwareSource.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+ :type arch_type: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this ThirdPartySoftwareSource.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION"
+ :type lifecycle_state: str
+
+ :param package_count:
+ The value to assign to the package_count property of this ThirdPartySoftwareSource.
+ :type package_count: int
+
+ :param url:
+ The value to assign to the url property of this ThirdPartySoftwareSource.
+ :type url: str
+
+ :param checksum_type:
+ The value to assign to the checksum_type property of this ThirdPartySoftwareSource.
+ Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512"
+ :type checksum_type: str
+
+ :param gpg_key_url:
+ The value to assign to the gpg_key_url property of this ThirdPartySoftwareSource.
+ :type gpg_key_url: str
+
+ :param gpg_key_id:
+ The value to assign to the gpg_key_id property of this ThirdPartySoftwareSource.
+ :type gpg_key_id: str
+
+ :param gpg_key_fingerprint:
+ The value to assign to the gpg_key_fingerprint property of this ThirdPartySoftwareSource.
+ :type gpg_key_fingerprint: str
+
+ :param size:
+ The value to assign to the size property of this ThirdPartySoftwareSource.
+ :type size: float
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this ThirdPartySoftwareSource.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this ThirdPartySoftwareSource.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this ThirdPartySoftwareSource.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param is_gpg_check_enabled:
+ The value to assign to the is_gpg_check_enabled property of this ThirdPartySoftwareSource.
+ :type is_gpg_check_enabled: bool
+
+ :param is_ssl_verify_enabled:
+ The value to assign to the is_ssl_verify_enabled property of this ThirdPartySoftwareSource.
+ :type is_ssl_verify_enabled: bool
+
+ :param advanced_repo_options:
+ The value to assign to the advanced_repo_options property of this ThirdPartySoftwareSource.
+ :type advanced_repo_options: str
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this ThirdPartySoftwareSource.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'time_created': 'datetime',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'availability': 'str',
+ 'availability_at_oci': 'str',
+ 'repo_id': 'str',
+ 'os_family': 'str',
+ 'arch_type': 'str',
+ 'lifecycle_state': 'str',
+ 'package_count': 'int',
+ 'url': 'str',
+ 'checksum_type': 'str',
+ 'gpg_key_url': 'str',
+ 'gpg_key_id': 'str',
+ 'gpg_key_fingerprint': 'str',
+ 'size': 'float',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'is_gpg_check_enabled': 'bool',
+ 'is_ssl_verify_enabled': 'bool',
+ 'advanced_repo_options': 'str',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'time_created': 'timeCreated',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'availability': 'availability',
+ 'availability_at_oci': 'availabilityAtOci',
+ 'repo_id': 'repoId',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType',
+ 'lifecycle_state': 'lifecycleState',
+ 'package_count': 'packageCount',
+ 'url': 'url',
+ 'checksum_type': 'checksumType',
+ 'gpg_key_url': 'gpgKeyUrl',
+ 'gpg_key_id': 'gpgKeyId',
+ 'gpg_key_fingerprint': 'gpgKeyFingerprint',
+ 'size': 'size',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'is_gpg_check_enabled': 'isGpgCheckEnabled',
+ 'is_ssl_verify_enabled': 'isSslVerifyEnabled',
+ 'advanced_repo_options': 'advancedRepoOptions',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._id = None
+ self._compartment_id = None
+ self._display_name = None
+ self._time_created = None
+ self._description = None
+ self._software_source_type = None
+ self._availability = None
+ self._availability_at_oci = None
+ self._repo_id = None
+ self._os_family = None
+ self._arch_type = None
+ self._lifecycle_state = None
+ self._package_count = None
+ self._url = None
+ self._checksum_type = None
+ self._gpg_key_url = None
+ self._gpg_key_id = None
+ self._gpg_key_fingerprint = None
+ self._size = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._is_gpg_check_enabled = None
+ self._is_ssl_verify_enabled = None
+ self._advanced_repo_options = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'THIRD_PARTY'
+
+ @property
+ def is_gpg_check_enabled(self):
+ """
+ Gets the is_gpg_check_enabled of this ThirdPartySoftwareSource.
+ Whether signature verification should be done for the software source
+
+
+ :return: The is_gpg_check_enabled of this ThirdPartySoftwareSource.
+ :rtype: bool
+ """
+ return self._is_gpg_check_enabled
+
+ @is_gpg_check_enabled.setter
+ def is_gpg_check_enabled(self, is_gpg_check_enabled):
+ """
+ Sets the is_gpg_check_enabled of this ThirdPartySoftwareSource.
+ Whether signature verification should be done for the software source
+
+
+ :param is_gpg_check_enabled: The is_gpg_check_enabled of this ThirdPartySoftwareSource.
+ :type: bool
+ """
+ self._is_gpg_check_enabled = is_gpg_check_enabled
+
+ @property
+ def is_ssl_verify_enabled(self):
+ """
+ Gets the is_ssl_verify_enabled of this ThirdPartySoftwareSource.
+ Whether SSL validation needs to be turned on
+
+
+ :return: The is_ssl_verify_enabled of this ThirdPartySoftwareSource.
+ :rtype: bool
+ """
+ return self._is_ssl_verify_enabled
+
+ @is_ssl_verify_enabled.setter
+ def is_ssl_verify_enabled(self, is_ssl_verify_enabled):
+ """
+ Sets the is_ssl_verify_enabled of this ThirdPartySoftwareSource.
+ Whether SSL validation needs to be turned on
+
+
+ :param is_ssl_verify_enabled: The is_ssl_verify_enabled of this ThirdPartySoftwareSource.
+ :type: bool
+ """
+ self._is_ssl_verify_enabled = is_ssl_verify_enabled
+
+ @property
+ def advanced_repo_options(self):
+ """
+ Gets the advanced_repo_options of this ThirdPartySoftwareSource.
+ Advanced repository options for the software source
+
+
+ :return: The advanced_repo_options of this ThirdPartySoftwareSource.
+ :rtype: str
+ """
+ return self._advanced_repo_options
+
+ @advanced_repo_options.setter
+ def advanced_repo_options(self, advanced_repo_options):
+ """
+ Sets the advanced_repo_options of this ThirdPartySoftwareSource.
+ Advanced repository options for the software source
+
+
+ :param advanced_repo_options: The advanced_repo_options of this ThirdPartySoftwareSource.
+ :type: str
+ """
+ self._advanced_repo_options = advanced_repo_options
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this ThirdPartySoftwareSource.
+ Whether this software source can be synced to a management station
+
+
+ :return: The is_mirror_sync_allowed of this ThirdPartySoftwareSource.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this ThirdPartySoftwareSource.
+ Whether this software source can be synced to a management station
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this ThirdPartySoftwareSource.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/third_party_software_source_summary.py b/src/oci/os_management_hub/models/third_party_software_source_summary.py
new file mode 100644
index 0000000000..ae0db7fdc3
--- /dev/null
+++ b/src/oci/os_management_hub/models/third_party_software_source_summary.py
@@ -0,0 +1,212 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .software_source_summary import SoftwareSourceSummary
+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 ThirdPartySoftwareSourceSummary(SoftwareSourceSummary):
+ """
+ Provides summary information for a third-party software source.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ThirdPartySoftwareSourceSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.ThirdPartySoftwareSourceSummary.software_source_type` attribute
+ of this class is ``THIRD_PARTY`` and it should not be changed.
+ 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 ThirdPartySoftwareSourceSummary.
+ :type id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this ThirdPartySoftwareSourceSummary.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this ThirdPartySoftwareSourceSummary.
+ :type display_name: str
+
+ :param repo_id:
+ The value to assign to the repo_id property of this ThirdPartySoftwareSourceSummary.
+ :type repo_id: str
+
+ :param url:
+ The value to assign to the url property of this ThirdPartySoftwareSourceSummary.
+ :type url: str
+
+ :param time_created:
+ The value to assign to the time_created property of this ThirdPartySoftwareSourceSummary.
+ :type time_created: datetime
+
+ :param time_updated:
+ The value to assign to the time_updated property of this ThirdPartySoftwareSourceSummary.
+ :type time_updated: datetime
+
+ :param description:
+ The value to assign to the description property of this ThirdPartySoftwareSourceSummary.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this ThirdPartySoftwareSourceSummary.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param availability:
+ The value to assign to the availability property of this ThirdPartySoftwareSourceSummary.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability: str
+
+ :param availability_at_oci:
+ The value to assign to the availability_at_oci property of this ThirdPartySoftwareSourceSummary.
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ :type availability_at_oci: str
+
+ :param os_family:
+ The value to assign to the os_family property of this ThirdPartySoftwareSourceSummary.
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ :type os_family: str
+
+ :param arch_type:
+ The value to assign to the arch_type property of this ThirdPartySoftwareSourceSummary.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
+ :type arch_type: str
+
+ :param package_count:
+ The value to assign to the package_count property of this ThirdPartySoftwareSourceSummary.
+ :type package_count: int
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this ThirdPartySoftwareSourceSummary.
+ :type lifecycle_state: str
+
+ :param size:
+ The value to assign to the size property of this ThirdPartySoftwareSourceSummary.
+ :type size: float
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this ThirdPartySoftwareSourceSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this ThirdPartySoftwareSourceSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this ThirdPartySoftwareSourceSummary.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this ThirdPartySoftwareSourceSummary.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'repo_id': 'str',
+ 'url': 'str',
+ 'time_created': 'datetime',
+ 'time_updated': 'datetime',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'availability': 'str',
+ 'availability_at_oci': 'str',
+ 'os_family': 'str',
+ 'arch_type': 'str',
+ 'package_count': 'int',
+ 'lifecycle_state': 'str',
+ 'size': 'float',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'repo_id': 'repoId',
+ 'url': 'url',
+ 'time_created': 'timeCreated',
+ 'time_updated': 'timeUpdated',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'availability': 'availability',
+ 'availability_at_oci': 'availabilityAtOci',
+ 'os_family': 'osFamily',
+ 'arch_type': 'archType',
+ 'package_count': 'packageCount',
+ 'lifecycle_state': 'lifecycleState',
+ 'size': 'size',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._id = None
+ self._compartment_id = None
+ self._display_name = None
+ self._repo_id = None
+ self._url = None
+ self._time_created = None
+ self._time_updated = None
+ self._description = None
+ self._software_source_type = None
+ self._availability = None
+ self._availability_at_oci = None
+ self._os_family = None
+ self._arch_type = None
+ self._package_count = None
+ self._lifecycle_state = None
+ self._size = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'THIRD_PARTY'
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this ThirdPartySoftwareSourceSummary.
+ Whether this software source can be synced to a management station
+
+
+ :return: The is_mirror_sync_allowed of this ThirdPartySoftwareSourceSummary.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this ThirdPartySoftwareSourceSummary.
+ Whether this software source can be synced to a management station
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this ThirdPartySoftwareSourceSummary.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/updatable_package_summary.py b/src/oci/os_management_hub/models/updatable_package_summary.py
index 15dd497dd5..ee4103bfff 100644
--- a/src/oci/os_management_hub/models/updatable_package_summary.py
+++ b/src/oci/os_management_hub/models/updatable_package_summary.py
@@ -55,7 +55,7 @@ def __init__(self, **kwargs):
:param architecture:
The value to assign to the architecture property of this UpdatablePackageSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type architecture: str
diff --git a/src/oci/os_management_hub/models/update_custom_software_source_details.py b/src/oci/os_management_hub/models/update_custom_software_source_details.py
index 3f240c24d2..5ed2db2ac4 100644
--- a/src/oci/os_management_hub/models/update_custom_software_source_details.py
+++ b/src/oci/os_management_hub/models/update_custom_software_source_details.py
@@ -35,7 +35,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this UpdateCustomSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
diff --git a/src/oci/os_management_hub/models/update_management_station_details.py b/src/oci/os_management_hub/models/update_management_station_details.py
index 4abb668fe2..e674f159ae 100644
--- a/src/oci/os_management_hub/models/update_management_station_details.py
+++ b/src/oci/os_management_hub/models/update_management_station_details.py
@@ -32,6 +32,10 @@ def __init__(self, **kwargs):
The value to assign to the hostname property of this UpdateManagementStationDetails.
:type hostname: str
+ :param is_auto_config_enabled:
+ The value to assign to the is_auto_config_enabled property of this UpdateManagementStationDetails.
+ :type is_auto_config_enabled: bool
+
:param proxy:
The value to assign to the proxy property of this UpdateManagementStationDetails.
:type proxy: oci.os_management_hub.models.UpdateProxyConfigurationDetails
@@ -53,6 +57,7 @@ def __init__(self, **kwargs):
'display_name': 'str',
'description': 'str',
'hostname': 'str',
+ 'is_auto_config_enabled': 'bool',
'proxy': 'UpdateProxyConfigurationDetails',
'mirror': 'UpdateMirrorConfigurationDetails',
'freeform_tags': 'dict(str, str)',
@@ -63,6 +68,7 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'description': 'description',
'hostname': 'hostname',
+ 'is_auto_config_enabled': 'isAutoConfigEnabled',
'proxy': 'proxy',
'mirror': 'mirror',
'freeform_tags': 'freeformTags',
@@ -72,6 +78,7 @@ def __init__(self, **kwargs):
self._display_name = None
self._description = None
self._hostname = None
+ self._is_auto_config_enabled = None
self._proxy = None
self._mirror = None
self._freeform_tags = None
@@ -149,6 +156,30 @@ def hostname(self, hostname):
"""
self._hostname = hostname
+ @property
+ def is_auto_config_enabled(self):
+ """
+ Gets the is_auto_config_enabled of this UpdateManagementStationDetails.
+ When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
+
+
+ :return: The is_auto_config_enabled of this UpdateManagementStationDetails.
+ :rtype: bool
+ """
+ return self._is_auto_config_enabled
+
+ @is_auto_config_enabled.setter
+ def is_auto_config_enabled(self, is_auto_config_enabled):
+ """
+ Sets the is_auto_config_enabled of this UpdateManagementStationDetails.
+ When enabled, the station setup script automatically runs to configure the firewall and SELinux settings on the station.
+
+
+ :param is_auto_config_enabled: The is_auto_config_enabled of this UpdateManagementStationDetails.
+ :type: bool
+ """
+ self._is_auto_config_enabled = is_auto_config_enabled
+
@property
def proxy(self):
"""
diff --git a/src/oci/os_management_hub/models/update_mirror_configuration_details.py b/src/oci/os_management_hub/models/update_mirror_configuration_details.py
index 376ae2b5f4..ada8568bf3 100644
--- a/src/oci/os_management_hub/models/update_mirror_configuration_details.py
+++ b/src/oci/os_management_hub/models/update_mirror_configuration_details.py
@@ -36,25 +36,32 @@ def __init__(self, **kwargs):
The value to assign to the sslcert property of this UpdateMirrorConfigurationDetails.
:type sslcert: str
+ :param is_sslverify_enabled:
+ The value to assign to the is_sslverify_enabled property of this UpdateMirrorConfigurationDetails.
+ :type is_sslverify_enabled: bool
+
"""
self.swagger_types = {
'directory': 'str',
'port': 'str',
'sslport': 'str',
- 'sslcert': 'str'
+ 'sslcert': 'str',
+ 'is_sslverify_enabled': 'bool'
}
self.attribute_map = {
'directory': 'directory',
'port': 'port',
'sslport': 'sslport',
- 'sslcert': 'sslcert'
+ 'sslcert': 'sslcert',
+ 'is_sslverify_enabled': 'isSslverifyEnabled'
}
self._directory = None
self._port = None
self._sslport = None
self._sslcert = None
+ self._is_sslverify_enabled = None
@property
def directory(self):
@@ -152,6 +159,30 @@ def sslcert(self, sslcert):
"""
self._sslcert = sslcert
+ @property
+ def is_sslverify_enabled(self):
+ """
+ Gets the is_sslverify_enabled of this UpdateMirrorConfigurationDetails.
+ When enabled, the SSL certificate is verified whenever an instance installs or updates a package from a software source that is mirrored on the management station.
+
+
+ :return: The is_sslverify_enabled of this UpdateMirrorConfigurationDetails.
+ :rtype: bool
+ """
+ return self._is_sslverify_enabled
+
+ @is_sslverify_enabled.setter
+ def is_sslverify_enabled(self, is_sslverify_enabled):
+ """
+ Sets the is_sslverify_enabled of this UpdateMirrorConfigurationDetails.
+ When enabled, the SSL certificate is verified whenever an instance installs or updates a package from a software source that is mirrored on the management station.
+
+
+ :param is_sslverify_enabled: The is_sslverify_enabled of this UpdateMirrorConfigurationDetails.
+ :type: bool
+ """
+ self._is_sslverify_enabled = is_sslverify_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/update_private_software_source_details.py b/src/oci/os_management_hub/models/update_private_software_source_details.py
new file mode 100644
index 0000000000..754f1d4a60
--- /dev/null
+++ b/src/oci/os_management_hub/models/update_private_software_source_details.py
@@ -0,0 +1,272 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .update_software_source_details import UpdateSoftwareSourceDetails
+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 UpdatePrivateSoftwareSourceDetails(UpdateSoftwareSourceDetails):
+ """
+ Provides the information used to update a private software source.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdatePrivateSoftwareSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.UpdatePrivateSoftwareSourceDetails.software_source_type` attribute
+ of this class is ``PRIVATE`` 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 UpdatePrivateSoftwareSourceDetails.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this UpdatePrivateSoftwareSourceDetails.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this UpdatePrivateSoftwareSourceDetails.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this UpdatePrivateSoftwareSourceDetails.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdatePrivateSoftwareSourceDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdatePrivateSoftwareSourceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param url:
+ The value to assign to the url property of this UpdatePrivateSoftwareSourceDetails.
+ :type url: str
+
+ :param gpg_key_url:
+ The value to assign to the gpg_key_url property of this UpdatePrivateSoftwareSourceDetails.
+ :type gpg_key_url: str
+
+ :param is_gpg_check_enabled:
+ The value to assign to the is_gpg_check_enabled property of this UpdatePrivateSoftwareSourceDetails.
+ :type is_gpg_check_enabled: bool
+
+ :param is_ssl_verify_enabled:
+ The value to assign to the is_ssl_verify_enabled property of this UpdatePrivateSoftwareSourceDetails.
+ :type is_ssl_verify_enabled: bool
+
+ :param advanced_repo_options:
+ The value to assign to the advanced_repo_options property of this UpdatePrivateSoftwareSourceDetails.
+ :type advanced_repo_options: str
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this UpdatePrivateSoftwareSourceDetails.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'url': 'str',
+ 'gpg_key_url': 'str',
+ 'is_gpg_check_enabled': 'bool',
+ 'is_ssl_verify_enabled': 'bool',
+ 'advanced_repo_options': 'str',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'url': 'url',
+ 'gpg_key_url': 'gpgKeyUrl',
+ 'is_gpg_check_enabled': 'isGpgCheckEnabled',
+ 'is_ssl_verify_enabled': 'isSslVerifyEnabled',
+ 'advanced_repo_options': 'advancedRepoOptions',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._compartment_id = None
+ self._display_name = None
+ self._description = None
+ self._software_source_type = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._url = None
+ self._gpg_key_url = None
+ self._is_gpg_check_enabled = None
+ self._is_ssl_verify_enabled = None
+ self._advanced_repo_options = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'PRIVATE'
+
+ @property
+ def url(self):
+ """
+ Gets the url of this UpdatePrivateSoftwareSourceDetails.
+ URL for the private software source.
+
+
+ :return: The url of this UpdatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._url
+
+ @url.setter
+ def url(self, url):
+ """
+ Sets the url of this UpdatePrivateSoftwareSourceDetails.
+ URL for the private software source.
+
+
+ :param url: The url of this UpdatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ self._url = url
+
+ @property
+ def gpg_key_url(self):
+ """
+ Gets the gpg_key_url of this UpdatePrivateSoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :return: The gpg_key_url of this UpdatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._gpg_key_url
+
+ @gpg_key_url.setter
+ def gpg_key_url(self, gpg_key_url):
+ """
+ Sets the gpg_key_url of this UpdatePrivateSoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :param gpg_key_url: The gpg_key_url of this UpdatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ self._gpg_key_url = gpg_key_url
+
+ @property
+ def is_gpg_check_enabled(self):
+ """
+ Gets the is_gpg_check_enabled of this UpdatePrivateSoftwareSourceDetails.
+ Whether signature verification should be done for the software source.
+
+
+ :return: The is_gpg_check_enabled of this UpdatePrivateSoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_gpg_check_enabled
+
+ @is_gpg_check_enabled.setter
+ def is_gpg_check_enabled(self, is_gpg_check_enabled):
+ """
+ Sets the is_gpg_check_enabled of this UpdatePrivateSoftwareSourceDetails.
+ Whether signature verification should be done for the software source.
+
+
+ :param is_gpg_check_enabled: The is_gpg_check_enabled of this UpdatePrivateSoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_gpg_check_enabled = is_gpg_check_enabled
+
+ @property
+ def is_ssl_verify_enabled(self):
+ """
+ Gets the is_ssl_verify_enabled of this UpdatePrivateSoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :return: The is_ssl_verify_enabled of this UpdatePrivateSoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_ssl_verify_enabled
+
+ @is_ssl_verify_enabled.setter
+ def is_ssl_verify_enabled(self, is_ssl_verify_enabled):
+ """
+ Sets the is_ssl_verify_enabled of this UpdatePrivateSoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :param is_ssl_verify_enabled: The is_ssl_verify_enabled of this UpdatePrivateSoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_ssl_verify_enabled = is_ssl_verify_enabled
+
+ @property
+ def advanced_repo_options(self):
+ """
+ Gets the advanced_repo_options of this UpdatePrivateSoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :return: The advanced_repo_options of this UpdatePrivateSoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._advanced_repo_options
+
+ @advanced_repo_options.setter
+ def advanced_repo_options(self, advanced_repo_options):
+ """
+ Sets the advanced_repo_options of this UpdatePrivateSoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :param advanced_repo_options: The advanced_repo_options of this UpdatePrivateSoftwareSourceDetails.
+ :type: str
+ """
+ self._advanced_repo_options = advanced_repo_options
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this UpdatePrivateSoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :return: The is_mirror_sync_allowed of this UpdatePrivateSoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this UpdatePrivateSoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this UpdatePrivateSoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/update_profile_details.py b/src/oci/os_management_hub/models/update_profile_details.py
index 83fa6dcd99..4660f54d4f 100644
--- a/src/oci/os_management_hub/models/update_profile_details.py
+++ b/src/oci/os_management_hub/models/update_profile_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class UpdateProfileDetails(object):
"""
- Information for updating a registration profile
+ Provides the information used to update a registration profile.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/os_management_hub/models/update_scheduled_job_details.py b/src/oci/os_management_hub/models/update_scheduled_job_details.py
index f2838aa0d5..a4fbc4322d 100644
--- a/src/oci/os_management_hub/models/update_scheduled_job_details.py
+++ b/src/oci/os_management_hub/models/update_scheduled_job_details.py
@@ -183,7 +183,7 @@ def schedule_type(self, schedule_type):
def time_next_execution(self):
"""
Gets the time_next_execution of this UpdateScheduledJobDetails.
- The desired time of the next execution of this scheduled job (in `RFC 3339`__ format).
+ The time of the next execution of this scheduled job (in `RFC 3339`__ format).
__ https://tools.ietf.org/rfc/rfc3339
@@ -197,7 +197,7 @@ def time_next_execution(self):
def time_next_execution(self, time_next_execution):
"""
Sets the time_next_execution of this UpdateScheduledJobDetails.
- The desired time of the next execution of this scheduled job (in `RFC 3339`__ format).
+ The time of the next execution of this scheduled job (in `RFC 3339`__ format).
__ https://tools.ietf.org/rfc/rfc3339
diff --git a/src/oci/os_management_hub/models/update_software_source_details.py b/src/oci/os_management_hub/models/update_software_source_details.py
index e958864068..09dac5a0b1 100644
--- a/src/oci/os_management_hub/models/update_software_source_details.py
+++ b/src/oci/os_management_hub/models/update_software_source_details.py
@@ -27,14 +27,24 @@ class UpdateSoftwareSourceDetails(object):
#: This constant has a value of "VERSIONED"
SOFTWARE_SOURCE_TYPE_VERSIONED = "VERSIONED"
+ #: A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails.
+ #: This constant has a value of "PRIVATE"
+ SOFTWARE_SOURCE_TYPE_PRIVATE = "PRIVATE"
+
+ #: A constant which can be used with the software_source_type property of a UpdateSoftwareSourceDetails.
+ #: This constant has a value of "THIRD_PARTY"
+ SOFTWARE_SOURCE_TYPE_THIRD_PARTY = "THIRD_PARTY"
+
def __init__(self, **kwargs):
"""
Initializes a new UpdateSoftwareSourceDetails 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.os_management_hub.models.UpdateCustomSoftwareSourceDetails`
+ * :class:`~oci.os_management_hub.models.UpdatePrivateSoftwareSourceDetails`
* :class:`~oci.os_management_hub.models.UpdateVersionedCustomSoftwareSourceDetails`
* :class:`~oci.os_management_hub.models.UpdateVendorSoftwareSourceDetails`
+ * :class:`~oci.os_management_hub.models.UpdateThirdPartySoftwareSourceDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -52,7 +62,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this UpdateSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
@@ -100,11 +110,17 @@ def get_subtype(object_dictionary):
if type == 'CUSTOM':
return 'UpdateCustomSoftwareSourceDetails'
+ if type == 'PRIVATE':
+ return 'UpdatePrivateSoftwareSourceDetails'
+
if type == 'VERSIONED':
return 'UpdateVersionedCustomSoftwareSourceDetails'
if type == 'VENDOR':
return 'UpdateVendorSoftwareSourceDetails'
+
+ if type == 'THIRD_PARTY':
+ return 'UpdateThirdPartySoftwareSourceDetails'
else:
return 'UpdateSoftwareSourceDetails'
@@ -190,7 +206,7 @@ def software_source_type(self):
Gets the software_source_type of this UpdateSoftwareSourceDetails.
Type of the software source.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:return: The software_source_type of this UpdateSoftwareSourceDetails.
@@ -208,7 +224,7 @@ def software_source_type(self, software_source_type):
:param software_source_type: The software_source_type of this UpdateSoftwareSourceDetails.
:type: str
"""
- allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
+ allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
if not value_allowed_none_or_none_sentinel(software_source_type, allowed_values):
raise ValueError(
f"Invalid value for `software_source_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/os_management_hub/models/update_third_party_software_source_details.py b/src/oci/os_management_hub/models/update_third_party_software_source_details.py
new file mode 100644
index 0000000000..0500ac857f
--- /dev/null
+++ b/src/oci/os_management_hub/models/update_third_party_software_source_details.py
@@ -0,0 +1,272 @@
+# coding: utf-8
+# Copyright (c) 2016, 2025, 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: 20220901
+
+from .update_software_source_details import UpdateSoftwareSourceDetails
+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 UpdateThirdPartySoftwareSourceDetails(UpdateSoftwareSourceDetails):
+ """
+ Provides the information used to update a third-party software source.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateThirdPartySoftwareSourceDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.UpdateThirdPartySoftwareSourceDetails.software_source_type` attribute
+ of this class is ``THIRD_PARTY`` 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 UpdateThirdPartySoftwareSourceDetails.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this UpdateThirdPartySoftwareSourceDetails.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this UpdateThirdPartySoftwareSourceDetails.
+ :type description: str
+
+ :param software_source_type:
+ The value to assign to the software_source_type property of this UpdateThirdPartySoftwareSourceDetails.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
+ :type software_source_type: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateThirdPartySoftwareSourceDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateThirdPartySoftwareSourceDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param url:
+ The value to assign to the url property of this UpdateThirdPartySoftwareSourceDetails.
+ :type url: str
+
+ :param gpg_key_url:
+ The value to assign to the gpg_key_url property of this UpdateThirdPartySoftwareSourceDetails.
+ :type gpg_key_url: str
+
+ :param is_gpg_check_enabled:
+ The value to assign to the is_gpg_check_enabled property of this UpdateThirdPartySoftwareSourceDetails.
+ :type is_gpg_check_enabled: bool
+
+ :param is_ssl_verify_enabled:
+ The value to assign to the is_ssl_verify_enabled property of this UpdateThirdPartySoftwareSourceDetails.
+ :type is_ssl_verify_enabled: bool
+
+ :param advanced_repo_options:
+ The value to assign to the advanced_repo_options property of this UpdateThirdPartySoftwareSourceDetails.
+ :type advanced_repo_options: str
+
+ :param is_mirror_sync_allowed:
+ The value to assign to the is_mirror_sync_allowed property of this UpdateThirdPartySoftwareSourceDetails.
+ :type is_mirror_sync_allowed: bool
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'software_source_type': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'url': 'str',
+ 'gpg_key_url': 'str',
+ 'is_gpg_check_enabled': 'bool',
+ 'is_ssl_verify_enabled': 'bool',
+ 'advanced_repo_options': 'str',
+ 'is_mirror_sync_allowed': 'bool'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'software_source_type': 'softwareSourceType',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'url': 'url',
+ 'gpg_key_url': 'gpgKeyUrl',
+ 'is_gpg_check_enabled': 'isGpgCheckEnabled',
+ 'is_ssl_verify_enabled': 'isSslVerifyEnabled',
+ 'advanced_repo_options': 'advancedRepoOptions',
+ 'is_mirror_sync_allowed': 'isMirrorSyncAllowed'
+ }
+
+ self._compartment_id = None
+ self._display_name = None
+ self._description = None
+ self._software_source_type = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._url = None
+ self._gpg_key_url = None
+ self._is_gpg_check_enabled = None
+ self._is_ssl_verify_enabled = None
+ self._advanced_repo_options = None
+ self._is_mirror_sync_allowed = None
+ self._software_source_type = 'THIRD_PARTY'
+
+ @property
+ def url(self):
+ """
+ Gets the url of this UpdateThirdPartySoftwareSourceDetails.
+ URL for the third-party software source.
+
+
+ :return: The url of this UpdateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._url
+
+ @url.setter
+ def url(self, url):
+ """
+ Sets the url of this UpdateThirdPartySoftwareSourceDetails.
+ URL for the third-party software source.
+
+
+ :param url: The url of this UpdateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ self._url = url
+
+ @property
+ def gpg_key_url(self):
+ """
+ Gets the gpg_key_url of this UpdateThirdPartySoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :return: The gpg_key_url of this UpdateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._gpg_key_url
+
+ @gpg_key_url.setter
+ def gpg_key_url(self, gpg_key_url):
+ """
+ Sets the gpg_key_url of this UpdateThirdPartySoftwareSourceDetails.
+ URI of the GPG key for this software source.
+
+
+ :param gpg_key_url: The gpg_key_url of this UpdateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ self._gpg_key_url = gpg_key_url
+
+ @property
+ def is_gpg_check_enabled(self):
+ """
+ Gets the is_gpg_check_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ Whether signature verification should be done for the software source.
+
+
+ :return: The is_gpg_check_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_gpg_check_enabled
+
+ @is_gpg_check_enabled.setter
+ def is_gpg_check_enabled(self, is_gpg_check_enabled):
+ """
+ Sets the is_gpg_check_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ Whether signature verification should be done for the software source.
+
+
+ :param is_gpg_check_enabled: The is_gpg_check_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_gpg_check_enabled = is_gpg_check_enabled
+
+ @property
+ def is_ssl_verify_enabled(self):
+ """
+ Gets the is_ssl_verify_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :return: The is_ssl_verify_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_ssl_verify_enabled
+
+ @is_ssl_verify_enabled.setter
+ def is_ssl_verify_enabled(self, is_ssl_verify_enabled):
+ """
+ Sets the is_ssl_verify_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ Whether SSL validation needs to be turned on
+
+
+ :param is_ssl_verify_enabled: The is_ssl_verify_enabled of this UpdateThirdPartySoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_ssl_verify_enabled = is_ssl_verify_enabled
+
+ @property
+ def advanced_repo_options(self):
+ """
+ Gets the advanced_repo_options of this UpdateThirdPartySoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :return: The advanced_repo_options of this UpdateThirdPartySoftwareSourceDetails.
+ :rtype: str
+ """
+ return self._advanced_repo_options
+
+ @advanced_repo_options.setter
+ def advanced_repo_options(self, advanced_repo_options):
+ """
+ Sets the advanced_repo_options of this UpdateThirdPartySoftwareSourceDetails.
+ Advanced repository options for the software source
+
+
+ :param advanced_repo_options: The advanced_repo_options of this UpdateThirdPartySoftwareSourceDetails.
+ :type: str
+ """
+ self._advanced_repo_options = advanced_repo_options
+
+ @property
+ def is_mirror_sync_allowed(self):
+ """
+ Gets the is_mirror_sync_allowed of this UpdateThirdPartySoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :return: The is_mirror_sync_allowed of this UpdateThirdPartySoftwareSourceDetails.
+ :rtype: bool
+ """
+ return self._is_mirror_sync_allowed
+
+ @is_mirror_sync_allowed.setter
+ def is_mirror_sync_allowed(self, is_mirror_sync_allowed):
+ """
+ Sets the is_mirror_sync_allowed of this UpdateThirdPartySoftwareSourceDetails.
+ Whether this software source can be synced to a management station
+
+
+ :param is_mirror_sync_allowed: The is_mirror_sync_allowed of this UpdateThirdPartySoftwareSourceDetails.
+ :type: bool
+ """
+ self._is_mirror_sync_allowed = is_mirror_sync_allowed
+
+ 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/os_management_hub/models/update_vendor_software_source_details.py b/src/oci/os_management_hub/models/update_vendor_software_source_details.py
index 9cd17e8564..b101d54771 100644
--- a/src/oci/os_management_hub/models/update_vendor_software_source_details.py
+++ b/src/oci/os_management_hub/models/update_vendor_software_source_details.py
@@ -35,7 +35,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this UpdateVendorSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
diff --git a/src/oci/os_management_hub/models/update_versioned_custom_software_source_details.py b/src/oci/os_management_hub/models/update_versioned_custom_software_source_details.py
index c28526c8fd..9e847aa384 100644
--- a/src/oci/os_management_hub/models/update_versioned_custom_software_source_details.py
+++ b/src/oci/os_management_hub/models/update_versioned_custom_software_source_details.py
@@ -35,7 +35,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this UpdateVersionedCustomSoftwareSourceDetails.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:type software_source_type: str
:param freeform_tags:
diff --git a/src/oci/os_management_hub/models/update_work_request_details.py b/src/oci/os_management_hub/models/update_work_request_details.py
index b6dfeefcaf..a196befd9e 100644
--- a/src/oci/os_management_hub/models/update_work_request_details.py
+++ b/src/oci/os_management_hub/models/update_work_request_details.py
@@ -15,6 +15,10 @@ class UpdateWorkRequestDetails(object):
Provides the information used to update a work request.
"""
+ #: A constant which can be used with the status property of a UpdateWorkRequestDetails.
+ #: This constant has a value of "WAITING"
+ STATUS_WAITING = "WAITING"
+
#: A constant which can be used with the status property of a UpdateWorkRequestDetails.
#: This constant has a value of "ACCEPTED"
STATUS_ACCEPTED = "ACCEPTED"
@@ -46,7 +50,7 @@ def __init__(self, **kwargs):
:param status:
The value to assign to the status property of this UpdateWorkRequestDetails.
- Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
+ Allowed values for this property are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
:type status: str
:param percent_complete:
@@ -92,9 +96,9 @@ def __init__(self, **kwargs):
def status(self):
"""
**[Required]** Gets the status of this UpdateWorkRequestDetails.
- status of current work request.
+ Status of current work request.
- Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
+ Allowed values for this property are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
:return: The status of this UpdateWorkRequestDetails.
@@ -106,13 +110,13 @@ def status(self):
def status(self, status):
"""
Sets the status of this UpdateWorkRequestDetails.
- status of current work request.
+ Status of current work request.
:param status: The status of this UpdateWorkRequestDetails.
:type: str
"""
- allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
+ allowed_values = ["WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
if not value_allowed_none_or_none_sentinel(status, allowed_values):
raise ValueError(
f"Invalid value for `status`, must be None or one of {allowed_values}"
diff --git a/src/oci/os_management_hub/models/vendor_software_source.py b/src/oci/os_management_hub/models/vendor_software_source.py
index f1bf34a77b..edfb41f879 100644
--- a/src/oci/os_management_hub/models/vendor_software_source.py
+++ b/src/oci/os_management_hub/models/vendor_software_source.py
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this VendorSoftwareSource.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
@@ -81,13 +81,13 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this VendorSoftwareSource.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this VendorSoftwareSource.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
@@ -265,7 +265,7 @@ def vendor_name(self, vendor_name):
def origin_software_source_id(self):
"""
Gets the origin_software_source_id of this VendorSoftwareSource.
- This property applies only to replicated vendor software sources. This is the `OCID`__ of the vendor software source in the root compartment.
+ The `OCID`__ of the vendor software source in the root compartment. This property applies only to replicated vendor software sources.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -279,7 +279,7 @@ def origin_software_source_id(self):
def origin_software_source_id(self, origin_software_source_id):
"""
Sets the origin_software_source_id of this VendorSoftwareSource.
- This property applies only to replicated vendor software sources. This is the `OCID`__ of the vendor software source in the root compartment.
+ The `OCID`__ of the vendor software source in the root compartment. This property applies only to replicated vendor software sources.
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
diff --git a/src/oci/os_management_hub/models/vendor_software_source_summary.py b/src/oci/os_management_hub/models/vendor_software_source_summary.py
index a49b0455f6..66e59e6a89 100644
--- a/src/oci/os_management_hub/models/vendor_software_source_summary.py
+++ b/src/oci/os_management_hub/models/vendor_software_source_summary.py
@@ -63,7 +63,7 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this VendorSoftwareSourceSummary.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
@@ -87,7 +87,7 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this VendorSoftwareSourceSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
diff --git a/src/oci/os_management_hub/models/versioned_custom_software_source.py b/src/oci/os_management_hub/models/versioned_custom_software_source.py
index 5671a47fd0..0835f2cea6 100644
--- a/src/oci/os_management_hub/models/versioned_custom_software_source.py
+++ b/src/oci/os_management_hub/models/versioned_custom_software_source.py
@@ -15,6 +15,18 @@ class VersionedCustomSoftwareSource(SoftwareSource):
The object that defines a versioned custom software source.
"""
+ #: A constant which can be used with the software_source_sub_type property of a VersionedCustomSoftwareSource.
+ #: This constant has a value of "FILTER"
+ SOFTWARE_SOURCE_SUB_TYPE_FILTER = "FILTER"
+
+ #: A constant which can be used with the software_source_sub_type property of a VersionedCustomSoftwareSource.
+ #: This constant has a value of "MANIFEST"
+ SOFTWARE_SOURCE_SUB_TYPE_MANIFEST = "MANIFEST"
+
+ #: A constant which can be used with the software_source_sub_type property of a VersionedCustomSoftwareSource.
+ #: This constant has a value of "SNAPSHOT"
+ SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT = "SNAPSHOT"
+
def __init__(self, **kwargs):
"""
Initializes a new VersionedCustomSoftwareSource object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.VersionedCustomSoftwareSource.software_source_type` attribute
@@ -43,17 +55,20 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this VersionedCustomSoftwareSource.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
:param availability:
The value to assign to the availability property of this VersionedCustomSoftwareSource.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability: str
:param availability_at_oci:
The value to assign to the availability_at_oci property of this VersionedCustomSoftwareSource.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability_at_oci: str
:param repo_id:
@@ -62,17 +77,20 @@ def __init__(self, **kwargs):
:param os_family:
The value to assign to the os_family property of this VersionedCustomSoftwareSource.
- Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type os_family: str
:param arch_type:
The value to assign to the arch_type property of this VersionedCustomSoftwareSource.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
:param lifecycle_state:
The value to assign to the lifecycle_state property of this VersionedCustomSoftwareSource.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED", "NEEDS_ATTENTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
:param package_count:
@@ -85,7 +103,8 @@ def __init__(self, **kwargs):
:param checksum_type:
The value to assign to the checksum_type property of this VersionedCustomSoftwareSource.
- Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512"
+ Allowed values for this property are: "SHA1", "SHA256", "SHA384", "SHA512", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type checksum_type: str
:param gpg_key_url:
@@ -144,6 +163,16 @@ def __init__(self, **kwargs):
The value to assign to the packages property of this VersionedCustomSoftwareSource.
:type packages: list[str]
+ :param software_source_sub_type:
+ The value to assign to the software_source_sub_type property of this VersionedCustomSoftwareSource.
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type software_source_sub_type: str
+
+ :param time_metadata_updated:
+ The value to assign to the time_metadata_updated property of this VersionedCustomSoftwareSource.
+ :type time_metadata_updated: datetime
+
"""
self.swagger_types = {
'id': 'str',
@@ -174,7 +203,9 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'bool',
'is_created_from_package_list': 'bool',
'is_latest_content_only': 'bool',
- 'packages': 'list[str]'
+ 'packages': 'list[str]',
+ 'software_source_sub_type': 'str',
+ 'time_metadata_updated': 'datetime'
}
self.attribute_map = {
@@ -206,7 +237,9 @@ def __init__(self, **kwargs):
'is_auto_resolve_dependencies': 'isAutoResolveDependencies',
'is_created_from_package_list': 'isCreatedFromPackageList',
'is_latest_content_only': 'isLatestContentOnly',
- 'packages': 'packages'
+ 'packages': 'packages',
+ 'software_source_sub_type': 'softwareSourceSubType',
+ 'time_metadata_updated': 'timeMetadataUpdated'
}
self._id = None
@@ -238,6 +271,8 @@ def __init__(self, **kwargs):
self._is_created_from_package_list = None
self._is_latest_content_only = None
self._packages = None
+ self._software_source_sub_type = None
+ self._time_metadata_updated = None
self._software_source_type = 'VERSIONED'
@property
@@ -414,6 +449,64 @@ def packages(self, packages):
"""
self._packages = packages
+ @property
+ def software_source_sub_type(self):
+ """
+ Gets the software_source_sub_type of this VersionedCustomSoftwareSource.
+ Identifies how the versioned custom software source was created.
+
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The software_source_sub_type of this VersionedCustomSoftwareSource.
+ :rtype: str
+ """
+ return self._software_source_sub_type
+
+ @software_source_sub_type.setter
+ def software_source_sub_type(self, software_source_sub_type):
+ """
+ Sets the software_source_sub_type of this VersionedCustomSoftwareSource.
+ Identifies how the versioned custom software source was created.
+
+
+ :param software_source_sub_type: The software_source_sub_type of this VersionedCustomSoftwareSource.
+ :type: str
+ """
+ allowed_values = ["FILTER", "MANIFEST", "SNAPSHOT"]
+ if not value_allowed_none_or_none_sentinel(software_source_sub_type, allowed_values):
+ software_source_sub_type = 'UNKNOWN_ENUM_VALUE'
+ self._software_source_sub_type = software_source_sub_type
+
+ @property
+ def time_metadata_updated(self):
+ """
+ Gets the time_metadata_updated of this VersionedCustomSoftwareSource.
+ The date and time the metadata for this software source was last updated (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :return: The time_metadata_updated of this VersionedCustomSoftwareSource.
+ :rtype: datetime
+ """
+ return self._time_metadata_updated
+
+ @time_metadata_updated.setter
+ def time_metadata_updated(self, time_metadata_updated):
+ """
+ Sets the time_metadata_updated of this VersionedCustomSoftwareSource.
+ The date and time the metadata for this software source was last updated (in `RFC 3339`__ format).
+
+ __ https://tools.ietf.org/rfc/rfc3339
+
+
+ :param time_metadata_updated: The time_metadata_updated of this VersionedCustomSoftwareSource.
+ :type: datetime
+ """
+ self._time_metadata_updated = time_metadata_updated
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/versioned_custom_software_source_summary.py b/src/oci/os_management_hub/models/versioned_custom_software_source_summary.py
index 25d4c742a5..ccb43dcbcc 100644
--- a/src/oci/os_management_hub/models/versioned_custom_software_source_summary.py
+++ b/src/oci/os_management_hub/models/versioned_custom_software_source_summary.py
@@ -15,6 +15,18 @@ class VersionedCustomSoftwareSourceSummary(SoftwareSourceSummary):
Provides summary information for a versioned custom software source.
"""
+ #: A constant which can be used with the software_source_sub_type property of a VersionedCustomSoftwareSourceSummary.
+ #: This constant has a value of "FILTER"
+ SOFTWARE_SOURCE_SUB_TYPE_FILTER = "FILTER"
+
+ #: A constant which can be used with the software_source_sub_type property of a VersionedCustomSoftwareSourceSummary.
+ #: This constant has a value of "MANIFEST"
+ SOFTWARE_SOURCE_SUB_TYPE_MANIFEST = "MANIFEST"
+
+ #: A constant which can be used with the software_source_sub_type property of a VersionedCustomSoftwareSourceSummary.
+ #: This constant has a value of "SNAPSHOT"
+ SOFTWARE_SOURCE_SUB_TYPE_SNAPSHOT = "SNAPSHOT"
+
def __init__(self, **kwargs):
"""
Initializes a new VersionedCustomSoftwareSourceSummary object with values from keyword arguments. The default value of the :py:attr:`~oci.os_management_hub.models.VersionedCustomSoftwareSourceSummary.software_source_type` attribute
@@ -55,27 +67,32 @@ def __init__(self, **kwargs):
:param software_source_type:
The value to assign to the software_source_type property of this VersionedCustomSoftwareSourceSummary.
- Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values for this property are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_source_type: str
:param availability:
The value to assign to the availability property of this VersionedCustomSoftwareSourceSummary.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability: str
:param availability_at_oci:
The value to assign to the availability_at_oci property of this VersionedCustomSoftwareSourceSummary.
- Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
+ Allowed values for this property are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type availability_at_oci: str
:param os_family:
The value to assign to the os_family property of this VersionedCustomSoftwareSourceSummary.
- Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL"
+ Allowed values for this property are: "ORACLE_LINUX_9", "ORACLE_LINUX_8", "ORACLE_LINUX_7", "ORACLE_LINUX_6", "WINDOWS_SERVER_2016", "WINDOWS_SERVER_2019", "WINDOWS_SERVER_2022", "ALL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type os_family: str
:param arch_type:
The value to assign to the arch_type property of this VersionedCustomSoftwareSourceSummary.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type arch_type: str
:param package_count:
@@ -110,6 +127,12 @@ def __init__(self, **kwargs):
The value to assign to the software_source_version property of this VersionedCustomSoftwareSourceSummary.
:type software_source_version: str
+ :param software_source_sub_type:
+ The value to assign to the software_source_sub_type property of this VersionedCustomSoftwareSourceSummary.
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type software_source_sub_type: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -132,7 +155,8 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
'vendor_software_sources': 'list[Id]',
- 'software_source_version': 'str'
+ 'software_source_version': 'str',
+ 'software_source_sub_type': 'str'
}
self.attribute_map = {
@@ -156,7 +180,8 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
'vendor_software_sources': 'vendorSoftwareSources',
- 'software_source_version': 'softwareSourceVersion'
+ 'software_source_version': 'softwareSourceVersion',
+ 'software_source_sub_type': 'softwareSourceSubType'
}
self._id = None
@@ -180,6 +205,7 @@ def __init__(self, **kwargs):
self._system_tags = None
self._vendor_software_sources = None
self._software_source_version = None
+ self._software_source_sub_type = None
self._software_source_type = 'VERSIONED'
@property
@@ -230,6 +256,36 @@ def software_source_version(self, software_source_version):
"""
self._software_source_version = software_source_version
+ @property
+ def software_source_sub_type(self):
+ """
+ Gets the software_source_sub_type of this VersionedCustomSoftwareSourceSummary.
+ Identifies how the versioned custom software source was created.
+
+ Allowed values for this property are: "FILTER", "MANIFEST", "SNAPSHOT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The software_source_sub_type of this VersionedCustomSoftwareSourceSummary.
+ :rtype: str
+ """
+ return self._software_source_sub_type
+
+ @software_source_sub_type.setter
+ def software_source_sub_type(self, software_source_sub_type):
+ """
+ Sets the software_source_sub_type of this VersionedCustomSoftwareSourceSummary.
+ Identifies how the versioned custom software source was created.
+
+
+ :param software_source_sub_type: The software_source_sub_type of this VersionedCustomSoftwareSourceSummary.
+ :type: str
+ """
+ allowed_values = ["FILTER", "MANIFEST", "SNAPSHOT"]
+ if not value_allowed_none_or_none_sentinel(software_source_sub_type, allowed_values):
+ software_source_sub_type = 'UNKNOWN_ENUM_VALUE'
+ self._software_source_sub_type = software_source_sub_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/windows_standalone_profile.py b/src/oci/os_management_hub/models/windows_standalone_profile.py
index d3372ceafd..12bb39d867 100644
--- a/src/oci/os_management_hub/models/windows_standalone_profile.py
+++ b/src/oci/os_management_hub/models/windows_standalone_profile.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class WindowsStandaloneProfile(Profile):
"""
- Provides the information for a windows standalone registration profile.
+ Provides the information for a Windows standalone registration profile.
"""
def __init__(self, **kwargs):
@@ -58,16 +58,24 @@ def __init__(self, **kwargs):
:param arch_type:
The value to assign to the arch_type property of this WindowsStandaloneProfile.
- Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values for this property are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:type arch_type: str
:param time_created:
The value to assign to the time_created property of this WindowsStandaloneProfile.
:type time_created: datetime
+ :param time_modified:
+ The value to assign to the time_modified property of this WindowsStandaloneProfile.
+ :type time_modified: datetime
+
+ :param profile_version:
+ The value to assign to the profile_version property of this WindowsStandaloneProfile.
+ :type profile_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this WindowsStandaloneProfile.
- Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
:type lifecycle_state: str
:param registration_type:
@@ -107,6 +115,8 @@ def __init__(self, **kwargs):
'os_family': 'str',
'arch_type': 'str',
'time_created': 'datetime',
+ 'time_modified': 'datetime',
+ 'profile_version': 'str',
'lifecycle_state': 'str',
'registration_type': 'str',
'is_default_profile': 'bool',
@@ -127,6 +137,8 @@ def __init__(self, **kwargs):
'os_family': 'osFamily',
'arch_type': 'archType',
'time_created': 'timeCreated',
+ 'time_modified': 'timeModified',
+ 'profile_version': 'profileVersion',
'lifecycle_state': 'lifecycleState',
'registration_type': 'registrationType',
'is_default_profile': 'isDefaultProfile',
@@ -146,6 +158,8 @@ def __init__(self, **kwargs):
self._os_family = None
self._arch_type = None
self._time_created = None
+ self._time_modified = None
+ self._profile_version = None
self._lifecycle_state = None
self._registration_type = None
self._is_default_profile = None
diff --git a/src/oci/os_management_hub/models/work_request.py b/src/oci/os_management_hub/models/work_request.py
index e53a2c6180..cd9ca0dac0 100644
--- a/src/oci/os_management_hub/models/work_request.py
+++ b/src/oci/os_management_hub/models/work_request.py
@@ -163,6 +163,14 @@ class WorkRequest(object):
#: This constant has a value of "UNREGISTER_MANAGED_INSTANCE"
OPERATION_TYPE_UNREGISTER_MANAGED_INSTANCE = "UNREGISTER_MANAGED_INSTANCE"
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "REBOOT"
+ OPERATION_TYPE_REBOOT = "REBOOT"
+
+ #: A constant which can be used with the status property of a WorkRequest.
+ #: This constant has a value of "WAITING"
+ STATUS_WAITING = "WAITING"
+
#: A constant which can be used with the status property of a WorkRequest.
#: This constant has a value of "ACCEPTED"
STATUS_ACCEPTED = "ACCEPTED"
@@ -194,13 +202,13 @@ 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: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
:param status:
The value to assign to the status property of this WorkRequest.
- Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type status: str
@@ -296,6 +304,10 @@ def __init__(self, **kwargs):
The value to assign to the retry_of_id property of this WorkRequest.
:type retry_of_id: str
+ :param rerun_of_id:
+ The value to assign to the rerun_of_id property of this WorkRequest.
+ :type rerun_of_id: str
+
:param retry_intervals:
The value to assign to the retry_intervals property of this WorkRequest.
:type retry_intervals: list[int]
@@ -304,6 +316,10 @@ def __init__(self, **kwargs):
The value to assign to the is_managed_by_autonomous_linux property of this WorkRequest.
:type is_managed_by_autonomous_linux: bool
+ :param reboot_timeout_in_mins:
+ The value to assign to the reboot_timeout_in_mins property of this WorkRequest.
+ :type reboot_timeout_in_mins: int
+
"""
self.swagger_types = {
'operation_type': 'str',
@@ -331,8 +347,10 @@ def __init__(self, **kwargs):
'event_id': 'str',
'content_checksum': 'str',
'retry_of_id': 'str',
+ 'rerun_of_id': 'str',
'retry_intervals': 'list[int]',
- 'is_managed_by_autonomous_linux': 'bool'
+ 'is_managed_by_autonomous_linux': 'bool',
+ 'reboot_timeout_in_mins': 'int'
}
self.attribute_map = {
@@ -361,8 +379,10 @@ def __init__(self, **kwargs):
'event_id': 'eventId',
'content_checksum': 'contentChecksum',
'retry_of_id': 'retryOfId',
+ 'rerun_of_id': 'rerunOfId',
'retry_intervals': 'retryIntervals',
- 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux'
+ 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux',
+ 'reboot_timeout_in_mins': 'rebootTimeoutInMins'
}
self._operation_type = None
@@ -390,8 +410,10 @@ def __init__(self, **kwargs):
self._event_id = None
self._content_checksum = None
self._retry_of_id = None
+ self._rerun_of_id = None
self._retry_intervals = None
self._is_managed_by_autonomous_linux = None
+ self._reboot_timeout_in_mins = None
@property
def operation_type(self):
@@ -399,7 +421,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequest.
Type of the work request.
- Allowed values for this property are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -418,7 +440,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequest.
:type: str
"""
- allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE"]
+ allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
@@ -429,7 +451,7 @@ def status(self):
**[Required]** Gets the status of this WorkRequest.
Status of the work request.
- Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -448,7 +470,7 @@ def status(self, status):
:param status: The status of this WorkRequest.
:type: str
"""
- allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
+ allowed_values = ["WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
if not value_allowed_none_or_none_sentinel(status, allowed_values):
status = 'UNKNOWN_ENUM_VALUE'
self._status = status
@@ -557,7 +579,9 @@ def message(self, message):
def parent_id(self):
"""
Gets the parent_id of this WorkRequest.
- The OCID of the parent work request, if there is any.
+ The `OCID`__ of the parent work request, if there is any.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:return: The parent_id of this WorkRequest.
@@ -569,7 +593,9 @@ def parent_id(self):
def parent_id(self, parent_id):
"""
Sets the parent_id of this WorkRequest.
- The OCID of the parent work request, if there is any.
+ The `OCID`__ of the parent work request, if there is any.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param parent_id: The parent_id of this WorkRequest.
@@ -581,7 +607,9 @@ def parent_id(self, parent_id):
def children_id(self):
"""
Gets the children_id of this WorkRequest.
- The list of OCIDs for the child work requests.
+ The list of `OCIDs`__ for the child work requests.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:return: The children_id of this WorkRequest.
@@ -593,7 +621,9 @@ def children_id(self):
def children_id(self, children_id):
"""
Sets the children_id of this WorkRequest.
- The list of OCIDs for the child work requests.
+ The list of `OCIDs`__ for the child work requests.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param children_id: The children_id of this WorkRequest.
@@ -1045,11 +1075,42 @@ def retry_of_id(self, retry_of_id):
"""
self._retry_of_id = retry_of_id
+ @property
+ def rerun_of_id(self):
+ """
+ Gets the rerun_of_id of this WorkRequest.
+ The `OCID`__ of the original work request that is being rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The rerun_of_id of this WorkRequest.
+ :rtype: str
+ """
+ return self._rerun_of_id
+
+ @rerun_of_id.setter
+ def rerun_of_id(self, rerun_of_id):
+ """
+ Sets the rerun_of_id of this WorkRequest.
+ The `OCID`__ of the original work request that is being rerun.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param rerun_of_id: The rerun_of_id of this WorkRequest.
+ :type: str
+ """
+ self._rerun_of_id = rerun_of_id
+
@property
def retry_intervals(self):
"""
Gets the retry_intervals of this WorkRequest.
- Indicates whether this work request is managed by the Autonomous Linux service.
+ The amount of time in minutes to wait until retrying the work request. If set, the service will automatically retry
+ a failed work request after the interval. For example, An interval set to [2,5,10]. If the initial
+ execution of the work request fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes
+ and then retries. If that fails, the service waits 10 minutes and then retries.
:return: The retry_intervals of this WorkRequest.
@@ -1061,7 +1122,10 @@ def retry_intervals(self):
def retry_intervals(self, retry_intervals):
"""
Sets the retry_intervals of this WorkRequest.
- Indicates whether this work request is managed by the Autonomous Linux service.
+ The amount of time in minutes to wait until retrying the work request. If set, the service will automatically retry
+ a failed work request after the interval. For example, An interval set to [2,5,10]. If the initial
+ execution of the work request fails, the service waits 2 minutes and then retries. If that fails, the service waits 5 minutes
+ and then retries. If that fails, the service waits 10 minutes and then retries.
:param retry_intervals: The retry_intervals of this WorkRequest.
@@ -1093,6 +1157,30 @@ def is_managed_by_autonomous_linux(self, is_managed_by_autonomous_linux):
"""
self._is_managed_by_autonomous_linux = is_managed_by_autonomous_linux
+ @property
+ def reboot_timeout_in_mins(self):
+ """
+ Gets the reboot_timeout_in_mins of this WorkRequest.
+ The number of minutes the service waits for the reboot to complete. If the managed instance doesn't reboot within the timeout, the service marks the reboot job as failed.
+
+
+ :return: The reboot_timeout_in_mins of this WorkRequest.
+ :rtype: int
+ """
+ return self._reboot_timeout_in_mins
+
+ @reboot_timeout_in_mins.setter
+ def reboot_timeout_in_mins(self, reboot_timeout_in_mins):
+ """
+ Sets the reboot_timeout_in_mins of this WorkRequest.
+ The number of minutes the service waits for the reboot to complete. If the managed instance doesn't reboot within the timeout, the service marks the reboot job as failed.
+
+
+ :param reboot_timeout_in_mins: The reboot_timeout_in_mins of this WorkRequest.
+ :type: int
+ """
+ self._reboot_timeout_in_mins = reboot_timeout_in_mins
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/work_request_error.py b/src/oci/os_management_hub/models/work_request_error.py
index f15288e159..760c007117 100644
--- a/src/oci/os_management_hub/models/work_request_error.py
+++ b/src/oci/os_management_hub/models/work_request_error.py
@@ -53,7 +53,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
- A machine-usable code for the error that occured. Error codes are listed on
+ A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
@@ -66,7 +66,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
- A machine-usable code for the error that occured. Error codes are listed on
+ A machine-usable code for the error that occurred. Error codes are listed on
(https://docs.cloud.oracle.com/Content/API/References/apierrors.htm).
@@ -103,7 +103,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
- The time the error occured. (in `RFC 3339`__ format).
+ The time the error occurred. (in `RFC 3339`__ format).
__ https://tools.ietf.org/rfc/rfc3339
@@ -117,7 +117,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
- The time the error occured. (in `RFC 3339`__ format).
+ The time the error occurred. (in `RFC 3339`__ format).
__ https://tools.ietf.org/rfc/rfc3339
diff --git a/src/oci/os_management_hub/models/work_request_error_collection.py b/src/oci/os_management_hub/models/work_request_error_collection.py
index be0f7ec9db..835e840b06 100644
--- a/src/oci/os_management_hub/models/work_request_error_collection.py
+++ b/src/oci/os_management_hub/models/work_request_error_collection.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class WorkRequestErrorCollection(object):
"""
- Results of a work request error search. Contains both work request error items and other information, such as metadata.
+ The set of work request errors returned for the :func:`list_work_request_errors` operation.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/os_management_hub/models/work_request_log_entry_collection.py b/src/oci/os_management_hub/models/work_request_log_entry_collection.py
index 025ef71f76..4e410081a3 100644
--- a/src/oci/os_management_hub/models/work_request_log_entry_collection.py
+++ b/src/oci/os_management_hub/models/work_request_log_entry_collection.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class WorkRequestLogEntryCollection(object):
"""
- Results of a work request log search. Contains both work request log items and other information, such as metadata.
+ The set of work request logs returned for the :func:`list_work_request_logs` operation.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/os_management_hub/models/work_request_summary.py b/src/oci/os_management_hub/models/work_request_summary.py
index df81e48d5a..e279cc6261 100644
--- a/src/oci/os_management_hub/models/work_request_summary.py
+++ b/src/oci/os_management_hub/models/work_request_summary.py
@@ -163,6 +163,14 @@ class WorkRequestSummary(object):
#: This constant has a value of "UNREGISTER_MANAGED_INSTANCE"
OPERATION_TYPE_UNREGISTER_MANAGED_INSTANCE = "UNREGISTER_MANAGED_INSTANCE"
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "REBOOT"
+ OPERATION_TYPE_REBOOT = "REBOOT"
+
+ #: A constant which can be used with the status property of a WorkRequestSummary.
+ #: This constant has a value of "WAITING"
+ STATUS_WAITING = "WAITING"
+
#: A constant which can be used with the status property of a WorkRequestSummary.
#: This constant has a value of "ACCEPTED"
STATUS_ACCEPTED = "ACCEPTED"
@@ -194,13 +202,13 @@ 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: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
:param status:
The value to assign to the status property of this WorkRequestSummary.
- Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type status: str
@@ -248,6 +256,10 @@ def __init__(self, **kwargs):
The value to assign to the is_managed_by_autonomous_linux property of this WorkRequestSummary.
:type is_managed_by_autonomous_linux: bool
+ :param reboot_timeout_in_mins:
+ The value to assign to the reboot_timeout_in_mins property of this WorkRequestSummary.
+ :type reboot_timeout_in_mins: int
+
"""
self.swagger_types = {
'operation_type': 'str',
@@ -262,7 +274,8 @@ def __init__(self, **kwargs):
'percent_complete': 'float',
'time_created': 'datetime',
'time_scheduled': 'datetime',
- 'is_managed_by_autonomous_linux': 'bool'
+ 'is_managed_by_autonomous_linux': 'bool',
+ 'reboot_timeout_in_mins': 'int'
}
self.attribute_map = {
@@ -278,7 +291,8 @@ def __init__(self, **kwargs):
'percent_complete': 'percentComplete',
'time_created': 'timeCreated',
'time_scheduled': 'timeScheduled',
- 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux'
+ 'is_managed_by_autonomous_linux': 'isManagedByAutonomousLinux',
+ 'reboot_timeout_in_mins': 'rebootTimeoutInMins'
}
self._operation_type = None
@@ -294,6 +308,7 @@ def __init__(self, **kwargs):
self._time_created = None
self._time_scheduled = None
self._is_managed_by_autonomous_linux = None
+ self._reboot_timeout_in_mins = None
@property
def operation_type(self):
@@ -301,7 +316,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequestSummary.
Type of the work request.
- Allowed values for this property are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -320,7 +335,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequestSummary.
:type: str
"""
- allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE"]
+ allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
@@ -331,7 +346,7 @@ def status(self):
**[Required]** Gets the status of this WorkRequestSummary.
Status of the work request.
- Allowed values for this property are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -350,7 +365,7 @@ def status(self, status):
:param status: The status of this WorkRequestSummary.
:type: str
"""
- allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
+ allowed_values = ["WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
if not value_allowed_none_or_none_sentinel(status, allowed_values):
status = 'UNKNOWN_ENUM_VALUE'
self._status = status
@@ -649,6 +664,30 @@ def is_managed_by_autonomous_linux(self, is_managed_by_autonomous_linux):
"""
self._is_managed_by_autonomous_linux = is_managed_by_autonomous_linux
+ @property
+ def reboot_timeout_in_mins(self):
+ """
+ Gets the reboot_timeout_in_mins of this WorkRequestSummary.
+ The number of minutes the service waits for the reboot to complete. If the managed instance doesn't reboot within the timeout, the service marks the reboot job as failed.
+
+
+ :return: The reboot_timeout_in_mins of this WorkRequestSummary.
+ :rtype: int
+ """
+ return self._reboot_timeout_in_mins
+
+ @reboot_timeout_in_mins.setter
+ def reboot_timeout_in_mins(self, reboot_timeout_in_mins):
+ """
+ Sets the reboot_timeout_in_mins of this WorkRequestSummary.
+ The number of minutes the service waits for the reboot to complete. If the managed instance doesn't reboot within the timeout, the service marks the reboot job as failed.
+
+
+ :param reboot_timeout_in_mins: The reboot_timeout_in_mins of this WorkRequestSummary.
+ :type: int
+ """
+ self._reboot_timeout_in_mins = reboot_timeout_in_mins
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/os_management_hub/models/work_request_summary_collection.py b/src/oci/os_management_hub/models/work_request_summary_collection.py
index 132f8dac46..092a89d0e1 100644
--- a/src/oci/os_management_hub/models/work_request_summary_collection.py
+++ b/src/oci/os_management_hub/models/work_request_summary_collection.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class WorkRequestSummaryCollection(object):
"""
- Results of a work request search. Contains both work request items and other information, such as metadata.
+ The set of work requests returned for the :func:`list_work_requests` operation.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/os_management_hub/onboarding_client.py b/src/oci/os_management_hub/onboarding_client.py
index 6b22cee010..596e2ac1f9 100644
--- a/src/oci/os_management_hub/onboarding_client.py
+++ b/src/oci/os_management_hub/onboarding_client.py
@@ -117,9 +117,834 @@ def __init__(self, config, **kwargs):
self.retry_strategy = kwargs.get('retry_strategy')
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
+ def attach_lifecycle_stage_to_profile(self, profile_id, attach_lifecycle_stage_to_profile_details, **kwargs):
+ """
+ Attaches the specified lifecycle stage to a profile.
+
+
+ :param str profile_id: (required)
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.AttachLifecycleStageToProfileDetails attach_lifecycle_stage_to_profile_details: (required)
+ The lifecycle stage `OCID`__ to attach to the profile
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 attach_lifecycle_stage_to_profile API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['profileId']
+ resource_path = "/profiles/{profileId}/actions/attachLifecycleStage"
+ method = "POST"
+ operation_name = "attach_lifecycle_stage_to_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/AttachLifecycleStageToProfile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"attach_lifecycle_stage_to_profile got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "profileId": profile_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),
+ "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,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_lifecycle_stage_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_lifecycle_stage_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def attach_managed_instance_group_to_profile(self, profile_id, attach_managed_instance_group_to_profile_details, **kwargs):
+ """
+ Attaches the specified managed instance group to a profile.
+
+
+ :param str profile_id: (required)
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.AttachManagedInstanceGroupToProfileDetails attach_managed_instance_group_to_profile_details: (required)
+ The managed instance group `OCID`__ to attach to the profile
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 attach_managed_instance_group_to_profile API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['profileId']
+ resource_path = "/profiles/{profileId}/actions/attachManagedInstanceGroup"
+ method = "POST"
+ operation_name = "attach_managed_instance_group_to_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/AttachManagedInstanceGroupToProfile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"attach_managed_instance_group_to_profile got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "profileId": profile_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),
+ "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,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_managed_instance_group_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_managed_instance_group_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def attach_management_station_to_profile(self, profile_id, attach_management_station_to_profile_details, **kwargs):
+ """
+ Attaches the specified management station to a profile.
+
+
+ :param str profile_id: (required)
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.AttachManagementStationToProfileDetails attach_management_station_to_profile_details: (required)
+ The management station `OCID`__ to attach to the profile
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 attach_management_station_to_profile API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['profileId']
+ resource_path = "/profiles/{profileId}/actions/attachManagementStation"
+ method = "POST"
+ operation_name = "attach_management_station_to_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/AttachManagementStationToProfile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"attach_management_station_to_profile got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "profileId": profile_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),
+ "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,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_management_station_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_management_station_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def attach_software_sources_to_profile(self, profile_id, attach_software_sources_to_profile_details, **kwargs):
+ """
+ Attaches the specified software sources to a profile.
+
+
+ :param str profile_id: (required)
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.AttachSoftwareSourcesToProfileDetails attach_software_sources_to_profile_details: (required)
+ The software source `OCIDs`__ to attach to the profile
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 attach_software_sources_to_profile API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['profileId']
+ resource_path = "/profiles/{profileId}/actions/attachSoftwareSources"
+ method = "POST"
+ operation_name = "attach_software_sources_to_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/AttachSoftwareSourcesToProfile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"attach_software_sources_to_profile got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "profileId": profile_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),
+ "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,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_software_sources_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=attach_software_sources_to_profile_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def change_profile_compartment(self, profile_id, change_profile_compartment_details, **kwargs):
"""
- Moves the profile to a different compartment.
+ Moves the profile to a different compartment.
+
+
+ :param str profile_id: (required)
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.ChangeProfileCompartmentDetails change_profile_compartment_details: (required)
+ The `OCID`__ of the compartment to move the profile to.
+
+ __ https://docs.cloud.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
+ might be rejected.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the `if-match` parameter to the value of the
+ etag from a previous GET or POST response for that resource.
+ The resource will be updated or deleted only if the etag you
+ provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :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_profile_compartment API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['profileId']
+ resource_path = "/profiles/{profileId}/actions/changeCompartment"
+ method = "POST"
+ operation_name = "change_profile_compartment"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/ChangeProfileCompartment"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_retry_token",
+ "if_match",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"change_profile_compartment got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "profileId": profile_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),
+ "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_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_profile_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_profile_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def create_profile(self, create_profile_details, **kwargs):
+ """
+ Creates a registration profile. A profile defines the content applied to the instance when registering it with the service.
+
+
+ :param oci.os_management_hub.models.CreateProfileDetails create_profile_details: (required)
+ Provides the information used to create the registration profile.
+
+ :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 Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.Profile`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_profile API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/profiles"
+ method = "POST"
+ operation_name = "create_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/CreateProfile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "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_profile 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_profile_details,
+ response_type="Profile",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_profile_details,
+ response_type="Profile",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def delete_profile(self, profile_id, **kwargs):
+ """
+ Deletes a specified registration profile.
+
+
+ :param str profile_id: (required)
+ The `OCID`__ of the registration profile.
+
+ __ https://docs.cloud.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 Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :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_profile API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['profileId']
+ resource_path = "/profiles/{profileId}"
+ method = "DELETE"
+ operation_name = "delete_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/DeleteProfile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "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_profile got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "profileId": profile_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'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def detach_software_sources_from_profile(self, profile_id, detach_software_sources_from_profile_details, **kwargs):
+ """
+ Detaches the specified software sources from a profile.
:param str profile_id: (required)
@@ -127,11 +952,14 @@ def change_profile_compartment(self, profile_id, change_profile_compartment_deta
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param oci.os_management_hub.models.ChangeProfileCompartmentDetails change_profile_compartment_details: (required)
- The `OCID`__ of the compartment to move the profile to.
+ :param oci.os_management_hub.models.DetachSoftwareSourcesFromProfileDetails detach_software_sources_from_profile_details: (required)
+ The software source `OCIDs`__ to detach from the profile
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
@@ -146,9 +974,6 @@ def change_profile_compartment(self, profile_id, change_profile_compartment_deta
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.
-
: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.
@@ -165,27 +990,27 @@ def change_profile_compartment(self, profile_id, change_profile_compartment_deta
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use change_profile_compartment API.
+ Click `here `__ to see an example of how to use detach_software_sources_from_profile API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
required_arguments = ['profileId']
- resource_path = "/profiles/{profileId}/actions/changeCompartment"
+ resource_path = "/profiles/{profileId}/actions/detachSoftwareSources"
method = "POST"
- operation_name = "change_profile_compartment"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/ChangeProfileCompartment"
+ operation_name = "detach_software_sources_from_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/DetachSoftwareSourcesFromProfile"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"retry_strategy",
+ "opc_request_id",
"opc_retry_token",
- "if_match",
- "opc_request_id"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"change_profile_compartment got unknown kwargs: {extra_kwargs!r}")
+ f"detach_software_sources_from_profile got unknown kwargs: {extra_kwargs!r}")
path_params = {
"profileId": profile_id
@@ -200,9 +1025,9 @@ def change_profile_compartment(self, profile_id, change_profile_compartment_deta
header_params = {
"accept": "application/json",
"content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing),
"opc-retry-token": kwargs.get("opc_retry_token", missing),
- "if-match": kwargs.get("if_match", missing),
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "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}
@@ -224,7 +1049,7 @@ def change_profile_compartment(self, profile_id, change_profile_compartment_deta
method=method,
path_params=path_params,
header_params=header_params,
- body=change_profile_compartment_details,
+ body=detach_software_sources_from_profile_details,
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
api_reference_link=api_reference_link,
@@ -235,26 +1060,21 @@ def change_profile_compartment(self, profile_id, change_profile_compartment_deta
method=method,
path_params=path_params,
header_params=header_params,
- body=change_profile_compartment_details,
+ body=detach_software_sources_from_profile_details,
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def create_profile(self, create_profile_details, **kwargs):
+ def get_profile(self, profile_id, **kwargs):
"""
- Creates a registration profile. A profile defines the content applied to the instance when registering it with the service.
+ Returns information about the specified registration profile.
- :param oci.os_management_hub.models.CreateProfileDetails create_profile_details: (required)
- Provides the information used to create the registration profile.
+ :param str profile_id: (required)
+ The `OCID`__ of the registration profile.
- :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.
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
: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.
@@ -275,31 +1095,39 @@ def create_profile(self, create_profile_details, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_profile API.
+ Click `here `__ to see an example of how to use get_profile API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = []
- resource_path = "/profiles"
- method = "POST"
- operation_name = "create_profile"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/CreateProfile"
+ required_arguments = ['profileId']
+ resource_path = "/profiles/{profileId}"
+ method = "GET"
+ operation_name = "get_profile"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/GetProfile"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"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_profile got unknown kwargs: {extra_kwargs!r}")
+ f"get_profile got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "profileId": profile_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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -313,15 +1141,14 @@ def create_profile(self, create_profile_details, **kwargs):
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
self.base_client.add_opc_client_retries_header(header_params)
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_profile_details,
response_type="Profile",
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
@@ -331,17 +1158,17 @@ def create_profile(self, create_profile_details, **kwargs):
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
header_params=header_params,
- body=create_profile_details,
response_type="Profile",
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def delete_profile(self, profile_id, **kwargs):
+ def get_profile_version(self, profile_id, profile_version, **kwargs):
"""
- Deletes a specified registration profile.
+ Returns information about the version of the specified registration profile.
:param str profile_id: (required)
@@ -349,12 +1176,8 @@ def delete_profile(self, profile_id, **kwargs):
__ https://docs.cloud.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 profile_version: (required)
+ The version of the registration profile.
: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.
@@ -371,33 +1194,33 @@ def delete_profile(self, profile_id, **kwargs):
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
By default, the response will not allow control characters in strings
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.ProfileVersion`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_profile API.
+ Click `here `__ to see an example of how to use get_profile_version API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['profileId']
- resource_path = "/profiles/{profileId}"
- method = "DELETE"
- operation_name = "delete_profile"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/DeleteProfile"
+ required_arguments = ['profileId', 'profileVersion']
+ resource_path = "/profiles/{profileId}/version/{profileVersion}"
+ method = "GET"
+ operation_name = "get_profile_version"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/ProfileVersion/GetProfileVersion"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"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_profile got unknown kwargs: {extra_kwargs!r}")
+ f"get_profile_version got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "profileId": profile_id
+ "profileId": profile_id,
+ "profileVersion": profile_version
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -409,7 +1232,6 @@ def delete_profile(self, profile_id, **kwargs):
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -431,6 +1253,7 @@ def delete_profile(self, profile_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
+ response_type="ProfileVersion",
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
api_reference_link=api_reference_link,
@@ -441,14 +1264,15 @@ def delete_profile(self, profile_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
+ response_type="ProfileVersion",
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_profile(self, profile_id, **kwargs):
+ def list_profile_available_software_sources(self, profile_id, **kwargs):
"""
- Gets information about the specified registration profile.
+ Lists available software sources for a specified profile. Filter the list against a variety of criteria including but not limited to the software source name. The results list only software sources that have not already been added to the profile.
:param str profile_id: (required)
@@ -456,6 +1280,43 @@ def get_profile(self, profile_id, **kwargs):
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param list[str] display_name: (optional)
+ A filter to return resources that match the given display names.
+
+ :param str display_name_contains: (optional)
+ A filter to return resources that may partially match the given display name.
+
+ :param str compartment_id: (optional)
+ The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment.
+
+ :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.cloud.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`__.
+
+ Example: `3`
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_order: (optional)
+ The sort order to use, either 'ASC' or 'DESC'.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided.
+ Default order for timeCreated is descending.
+ Default order for displayName is ascending.
+
+ Allowed values are: "timeCreated", "displayName"
+
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
@@ -471,29 +1332,36 @@ def get_profile(self, profile_id, **kwargs):
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
By default, the response will not allow control characters in strings
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.Profile`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.AvailableSoftwareSourceCollection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_profile API.
+ Click `here `__ to see an example of how to use list_profile_available_software_sources API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
required_arguments = ['profileId']
- resource_path = "/profiles/{profileId}"
+ resource_path = "/profiles/{profileId}/availableSoftwareSources"
method = "GET"
- operation_name = "get_profile"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/GetProfile"
+ operation_name = "list_profile_available_software_sources"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/Profile/ListProfileAvailableSoftwareSources"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"retry_strategy",
+ "display_name",
+ "display_name_contains",
+ "compartment_id",
+ "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"get_profile got unknown kwargs: {extra_kwargs!r}")
+ f"list_profile_available_software_sources got unknown kwargs: {extra_kwargs!r}")
path_params = {
"profileId": profile_id
@@ -505,6 +1373,31 @@ def get_profile(self, profile_id, **kwargs):
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_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"]
+ 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 = {
+ "displayName": self.base_client.generate_collection_format_param(kwargs.get("display_name", missing), 'multi'),
+ "displayNameContains": kwargs.get("display_name_contains", missing),
+ "compartmentId": kwargs.get("compartment_id", 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",
@@ -528,8 +1421,9 @@ def get_profile(self, profile_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
+ query_params=query_params,
header_params=header_params,
- response_type="Profile",
+ response_type="AvailableSoftwareSourceCollection",
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
api_reference_link=api_reference_link,
@@ -539,8 +1433,9 @@ def get_profile(self, profile_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
+ query_params=query_params,
header_params=header_params,
- response_type="Profile",
+ response_type="AvailableSoftwareSourceCollection",
allow_control_chars=kwargs.get('allow_control_chars'),
operation_name=operation_name,
api_reference_link=api_reference_link,
@@ -579,17 +1474,32 @@ def list_profiles(self, **kwargs):
:param str arch_type: (optional)
A filter to return only profiles that match the given archType.
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:param list[ProfileRegistrationType] registration_type: (optional)
A filter to return profiles that match the given instance type.
:param bool is_default_profile: (optional)
- A boolean variable that is used to list only the default profile resources.
+ A filter to return only default profiles.
:param bool is_service_provided_profile: (optional)
A filter to return only service-provided profiles.
+ :param list[str] management_station: (optional)
+ A filter to return resources that are associated with the specified management
+ station `OCIDs`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] management_station_not_equal_to: (optional)
+ A filter to return resources that aren't associated with the specified management
+ station `OCIDs`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str profile_version: (optional)
+ The version of the registration profile.
+
:param str vendor_name: (optional)
A filter to return only resources that match the given vendor name.
@@ -614,7 +1524,7 @@ def list_profiles(self, **kwargs):
:param str lifecycle_state: (optional)
A filter to return only registration profiles in the given state.
- Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
:param str sort_order: (optional)
The sort order to use, either 'ASC' or 'DESC'.
@@ -670,6 +1580,9 @@ def list_profiles(self, **kwargs):
"registration_type",
"is_default_profile",
"is_service_provided_profile",
+ "management_station",
+ "management_station_not_equal_to",
+ "profile_version",
"vendor_name",
"limit",
"page",
@@ -699,7 +1612,7 @@ def list_profiles(self, **kwargs):
)
if 'arch_type' in kwargs:
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
if kwargs['arch_type'] not in arch_type_allowed_values:
raise ValueError(
f"Invalid value for `arch_type`, must be one of { arch_type_allowed_values }"
@@ -713,7 +1626,7 @@ def list_profiles(self, **kwargs):
)
if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
+ lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "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 }"
@@ -744,6 +1657,9 @@ def list_profiles(self, **kwargs):
"registrationType": self.base_client.generate_collection_format_param(kwargs.get("registration_type", missing), 'multi'),
"isDefaultProfile": kwargs.get("is_default_profile", missing),
"isServiceProvidedProfile": kwargs.get("is_service_provided_profile", missing),
+ "managementStation": self.base_client.generate_collection_format_param(kwargs.get("management_station", missing), 'multi'),
+ "managementStationNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("management_station_not_equal_to", missing), 'multi'),
+ "profileVersion": kwargs.get("profile_version", missing),
"vendorName": kwargs.get("vendor_name", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
diff --git a/src/oci/os_management_hub/reporting_managed_instance_client.py b/src/oci/os_management_hub/reporting_managed_instance_client.py
index 31bbfc6db5..34be81a2a4 100644
--- a/src/oci/os_management_hub/reporting_managed_instance_client.py
+++ b/src/oci/os_management_hub/reporting_managed_instance_client.py
@@ -146,7 +146,7 @@ def get_managed_instance_analytic_content(self, **kwargs):
:param list[str] status: (optional)
A filter to return only managed instances whose status matches the status provided.
- Allowed values are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"
+ Allowed values are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"
:param list[str] display_name: (optional)
A filter to return resources that match the given display names.
@@ -251,7 +251,7 @@ def get_managed_instance_analytic_content(self, **kwargs):
f"get_managed_instance_analytic_content got unknown kwargs: {extra_kwargs!r}")
if 'status' in kwargs:
- status_allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"]
+ status_allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"]
for status_item in kwargs['status']:
if status_item not in status_allowed_values:
raise ValueError(
@@ -536,7 +536,7 @@ def summarize_managed_instance_analytics(self, metric_names, **kwargs):
:param oci.os_management_hub.models.list[str] metric_names: (required)
A filter to return only metrics whose name matches the given metric names.
- Allowed values are: "TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT"
+ Allowed values are: "TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT", "REBOOTING_INSTANCE_COUNT", "NEEDS_REBOOTING_INSTANCE_COUNT"
:param str compartment_id: (optional)
The `OCID`__ of the compartment.
@@ -562,7 +562,7 @@ def summarize_managed_instance_analytics(self, metric_names, **kwargs):
:param list[str] status: (optional)
A filter to return only managed instances whose status matches the status provided.
- Allowed values are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"
+ Allowed values are: "NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"
:param list[str] location: (optional)
A filter to return only resources whose location matches the given value.
@@ -669,7 +669,7 @@ def summarize_managed_instance_analytics(self, metric_names, **kwargs):
raise ValueError(
f"summarize_managed_instance_analytics got unknown kwargs: {extra_kwargs!r}")
- metric_names_allowed_values = ["TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT"]
+ metric_names_allowed_values = ["TOTAL_INSTANCE_COUNT", "INSTANCE_WITH_AVAILABLE_SECURITY_UPDATES_COUNT", "INSTANCE_WITH_AVAILABLE_BUGFIX_UPDATES_COUNT", "NORMAL_INSTANCE_COUNT", "ERROR_INSTANCE_COUNT", "WARNING_INSTANCE_COUNT", "UNREACHABLE_INSTANCE_COUNT", "REGISTRATION_FAILED_INSTANCE_COUNT", "DELETING_INSTANCE_COUNT", "ONBOARDING_INSTANCE_COUNT", "INSTANCE_SECURITY_UPDATES_COUNT", "INSTANCE_BUGFIX_UPDATES_COUNT", "INSTANCE_SECURITY_ADVISORY_COUNT", "INSTANCE_BUGFIX_ADVISORY_COUNT", "REBOOTING_INSTANCE_COUNT", "NEEDS_REBOOTING_INSTANCE_COUNT"]
for metric_names_item in metric_names:
if metric_names_item not in metric_names_allowed_values:
raise ValueError(
@@ -677,7 +677,7 @@ def summarize_managed_instance_analytics(self, metric_names, **kwargs):
)
if 'status' in kwargs:
- status_allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING"]
+ status_allowed_values = ["NORMAL", "UNREACHABLE", "ERROR", "WARNING", "REGISTRATION_ERROR", "DELETING", "ONBOARDING", "REBOOTING"]
for status_item in kwargs['status']:
if status_item not in status_allowed_values:
raise ValueError(
diff --git a/src/oci/os_management_hub/scheduled_job_client.py b/src/oci/os_management_hub/scheduled_job_client.py
index 6d4f7e05ce..a01b417f4c 100644
--- a/src/oci/os_management_hub/scheduled_job_client.py
+++ b/src/oci/os_management_hub/scheduled_job_client.py
@@ -590,7 +590,7 @@ def list_scheduled_jobs(self, **kwargs):
:param str operation_type: (optional)
A filter to return only scheduled jobs with the given operation type.
- Allowed values are: "INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES"
+ Allowed values are: "INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REBOOT", "RERUN_WORK_REQUEST"
:param str schedule_type: (optional)
A filter to return only scheduled jobs of the given scheduling type (one-time or recurring).
@@ -726,7 +726,7 @@ def list_scheduled_jobs(self, **kwargs):
)
if 'operation_type' in kwargs:
- operation_type_allowed_values = ["INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES"]
+ operation_type_allowed_values = ["INSTALL_PACKAGES", "UPDATE_PACKAGES", "REMOVE_PACKAGES", "UPDATE_ALL", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_USERSPACE", "UPDATE_KSPLICE_KERNEL", "MANAGE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "ATTACH_SOFTWARE_SOURCES", "DETACH_SOFTWARE_SOURCES", "SYNC_MANAGEMENT_STATION_MIRROR", "PROMOTE_LIFECYCLE", "INSTALL_WINDOWS_UPDATES", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REBOOT", "RERUN_WORK_REQUEST"]
if kwargs['operation_type'] not in operation_type_allowed_values:
raise ValueError(
f"Invalid value for `operation_type`, must be one of { operation_type_allowed_values }"
diff --git a/src/oci/os_management_hub/software_source_client.py b/src/oci/os_management_hub/software_source_client.py
index 1d63483df7..ffe198a670 100644
--- a/src/oci/os_management_hub/software_source_client.py
+++ b/src/oci/os_management_hub/software_source_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 InvalidAlloyConfig
from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
from .models import os_management_hub_type_mapping
@@ -121,6 +122,10 @@ def add_packages_to_software_source(self, software_source_id, add_packages_to_so
"""
Adds packages to a software source. This operation can only be done for custom and versioned custom software sources that are not created using filters.
For a versioned custom software source, you can only add packages when the source is created. Once content is added to a versioned custom software source, it is immutable.
+ Packages can be of the format:
+ * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
:param str software_source_id: (required)
@@ -561,7 +566,7 @@ def create_entitlement(self, create_entitlement_details, **kwargs):
def create_software_source(self, create_software_source_details, **kwargs):
"""
- Creates a new versioned or custom software source.
+ Creates a new software source.
:param oci.os_management_hub.models.CreateSoftwareSourceDetails create_software_source_details: (required)
@@ -1316,7 +1321,7 @@ def get_software_package(self, software_source_id, software_package_name, **kwar
def get_software_package_by_name(self, software_package_name, **kwargs):
"""
- Returns information about the specified software package based on its fully qualified name.
+ Returns information about the specified software package based on its fully qualified name (NVRA or NEVRA).
:param str software_package_name: (required)
@@ -1512,6 +1517,106 @@ def get_software_source(self, software_source_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def get_software_source_manifest(self, software_source_id, **kwargs):
+ """
+ Returns an archive containing the list of packages in the software source.
+
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :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_software_source_manifest API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['softwareSourceId']
+ resource_path = "/softwareSources/{softwareSourceId}/manifest"
+ method = "GET"
+ operation_name = "get_software_source_manifest"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/GetSoftwareSourceManifest"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "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_software_source_manifest got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "softwareSourceId": software_source_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'),
+ 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'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def list_all_software_packages(self, **kwargs):
"""
Lists software packages available through the OS Management Hub service. Filter the list against a variety of criteria
@@ -1698,6 +1803,176 @@ def list_all_software_packages(self, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def list_available_software_packages(self, software_source_id, **kwargs):
+ """
+ Lists software packages that are available to be added to a custom software source of type MANIFEST. Filter the list against a variety of criteria
+ including but not limited to its name.
+
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str display_name: (optional)
+ A filter to return resources that match the given user-friendly name.
+
+ :param str display_name_contains: (optional)
+ A filter to return resources that may partially match the given display name.
+
+ :param bool is_latest: (optional)
+ Indicates whether to list only the latest versions of packages, module streams, and stream profiles.
+
+ :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.cloud.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`__.
+
+ Example: `3`
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_order: (optional)
+ The sort order to use, either 'ASC' or 'DESC'.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
+
+ Allowed values are: "timeCreated", "displayName"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, 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
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.os_management_hub.models.SoftwarePackageCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_available_software_packages API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['softwareSourceId']
+ resource_path = "/softwareSources/{softwareSourceId}/availableSoftwarePackages"
+ method = "GET"
+ operation_name = "list_available_software_packages"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/ListAvailableSoftwarePackages"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "display_name",
+ "display_name_contains",
+ "is_latest",
+ "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_available_software_packages got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "softwareSourceId": software_source_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_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"]
+ 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 = {
+ "displayName": kwargs.get("display_name", missing),
+ "displayNameContains": kwargs.get("display_name_contains", missing),
+ "isLatest": kwargs.get("is_latest", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy 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="SoftwarePackageCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="SoftwarePackageCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def list_entitlements(self, compartment_id, **kwargs):
"""
Lists entitlements in the specified tenancy `OCID`__. Filter the list against a variety of criteria including but
@@ -1712,7 +1987,7 @@ def list_entitlements(self, compartment_id, **kwargs):
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param str csi: (optional)
- A filter to return entitlements that match the given CSI.
+ A filter to return entitlements that match the given customer support identifier (CSI).
:param str vendor_name: (optional)
A filter to return only resources that match the given vendor name.
@@ -2637,7 +2912,7 @@ def list_software_package_software_sources(self, software_package_name, compartm
:param list[str] software_source_type: (optional)
The type of the software source.
- Allowed values are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:param list[str] os_family: (optional)
A filter to return only resources that match the given operating system family.
@@ -2647,20 +2922,20 @@ def list_software_package_software_sources(self, software_package_name, compartm
:param list[str] arch_type: (optional)
A filter to return only instances whose architecture type matches the given architecture.
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:param list[str] availability: (optional)
- The availabilities of the software source in a non-OCI environment for a tenancy.
+ The availability of the software source in a non-OCI environment for a tenancy.
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
:param list[str] availability_at_oci: (optional)
- The availabilities of the software source in an OCI environment for a tenancy.
+ The availability of the software source in an OCI environment for a tenancy.
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
:param list[str] availability_anywhere: (optional)
- The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
+ The availability of the software source. Use this query parameter to filter across availabilities in different environments.
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
@@ -2762,7 +3037,7 @@ def list_software_package_software_sources(self, software_package_name, compartm
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
if 'software_source_type' in kwargs:
- software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
+ software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
for software_source_type_item in kwargs['software_source_type']:
if software_source_type_item not in software_source_type_allowed_values:
raise ValueError(
@@ -2778,7 +3053,7 @@ def list_software_package_software_sources(self, software_package_name, compartm
)
if 'arch_type' in kwargs:
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
for arch_type_item in kwargs['arch_type']:
if arch_type_item not in arch_type_allowed_values:
raise ValueError(
@@ -3202,7 +3477,7 @@ def list_software_sources(self, **kwargs):
:param list[str] software_source_type: (optional)
The type of the software source.
- Allowed values are: "VENDOR", "CUSTOM", "VERSIONED"
+ Allowed values are: "VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"
:param str vendor_name: (optional)
A filter to return only resources that match the given vendor name.
@@ -3217,26 +3492,29 @@ def list_software_sources(self, **kwargs):
:param list[str] arch_type: (optional)
A filter to return only instances whose architecture type matches the given architecture.
- Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC"
+ Allowed values are: "X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"
:param list[str] availability: (optional)
- The availabilities of the software source in a non-OCI environment for a tenancy.
+ The availability of the software source in a non-OCI environment for a tenancy.
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
:param list[str] availability_at_oci: (optional)
- The availabilities of the software source in an OCI environment for a tenancy.
+ The availability of the software source in an OCI environment for a tenancy.
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
:param list[str] availability_anywhere: (optional)
- The availabilities of the software source. Use this query parameter to filter across availabilities in different environments.
+ The availability of the software source. Use this query parameter to filter across availabilities in different environments.
Allowed values are: "AVAILABLE", "SELECTED", "RESTRICTED", "UNAVAILABLE"
:param bool is_mandatory_for_autonomous_linux: (optional)
Indicates whether the software source is mandatory for the Autonomous Linux service.
+ :param bool is_mirror_sync_allowed: (optional)
+ A filter to return software sources which can be synced to a management station.
+
:param str display_name: (optional)
A filter to return resources that match the given user-friendly name.
@@ -3317,6 +3595,7 @@ def list_software_sources(self, **kwargs):
"availability_at_oci",
"availability_anywhere",
"is_mandatory_for_autonomous_linux",
+ "is_mirror_sync_allowed",
"display_name",
"display_name_contains",
"display_name_not_equal_to",
@@ -3333,7 +3612,7 @@ def list_software_sources(self, **kwargs):
f"list_software_sources got unknown kwargs: {extra_kwargs!r}")
if 'software_source_type' in kwargs:
- software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED"]
+ software_source_type_allowed_values = ["VENDOR", "CUSTOM", "VERSIONED", "PRIVATE", "THIRD_PARTY"]
for software_source_type_item in kwargs['software_source_type']:
if software_source_type_item not in software_source_type_allowed_values:
raise ValueError(
@@ -3356,7 +3635,7 @@ def list_software_sources(self, **kwargs):
)
if 'arch_type' in kwargs:
- arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC"]
+ arch_type_allowed_values = ["X86_64", "AARCH64", "I686", "NOARCH", "SRC", "I386"]
for arch_type_item in kwargs['arch_type']:
if arch_type_item not in arch_type_allowed_values:
raise ValueError(
@@ -3412,6 +3691,7 @@ def list_software_sources(self, **kwargs):
"availabilityAtOci": self.base_client.generate_collection_format_param(kwargs.get("availability_at_oci", missing), 'multi'),
"availabilityAnywhere": self.base_client.generate_collection_format_param(kwargs.get("availability_anywhere", missing), 'multi'),
"isMandatoryForAutonomousLinux": kwargs.get("is_mandatory_for_autonomous_linux", missing),
+ "isMirrorSyncAllowed": kwargs.get("is_mirror_sync_allowed", missing),
"displayName": kwargs.get("display_name", missing),
"displayNameContains": kwargs.get("display_name_contains", missing),
"displayNameNotEqualTo": self.base_client.generate_collection_format_param(kwargs.get("display_name_not_equal_to", missing), 'multi'),
@@ -3464,10 +3744,262 @@ def list_software_sources(self, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def search_software_source_module_streams(self, search_software_source_module_streams_details, **kwargs):
+ def remove_packages_from_software_source(self, software_source_id, remove_packages_from_software_source_details, **kwargs):
"""
- Returns a list of module streams from the specified software sources. Filter the list against a variety of
- criteria including the module name.
+ Removes packages from a software source. This operation can only be done for custom software sources that are not created using filters.
+ Packages can be of the format:
+ * name (for example: git). This removes all versions of the package.
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
+
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails remove_packages_from_software_source_details: (required)
+ A list of packages to be removed from the software source.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the `if-match` parameter to the value of the
+ etag from a previous GET or POST response for that resource.
+ The resource will be updated or deleted only if the etag you
+ provide matches the resource's current etag value.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :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 remove_packages_from_software_source API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['softwareSourceId']
+ resource_path = "/softwareSources/{softwareSourceId}/actions/removePackages"
+ method = "POST"
+ operation_name = "remove_packages_from_software_source"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/RemovePackagesFromSoftwareSource"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "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_packages_from_software_source got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "softwareSourceId": software_source_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),
+ "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}
+
+ 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=remove_packages_from_software_source_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=remove_packages_from_software_source_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def replace_packages_in_software_source(self, software_source_id, replace_packages_in_software_source_details, **kwargs):
+ """
+ Replaces packages in a software source with the provided list of packages. This operation can only be done for custom software sources that are not created using filters.
+ Packages can be of the format:
+ * name (for example: git). If isLatestContentOnly is true, only the latest version of the package will be added, otherwise all versions of the package will be added.
+ * name-version-release.architecture (for example: git-2.43.5-1.el8_10.x86_64)
+ * name-epoch:version-release.architecture (for example: git-0:2.43.5-1.el8_10.x86_64)
+
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails replace_packages_in_software_source_details: (required)
+ A list of packages that will replace the existing packages in the software source.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the `if-match` parameter to the value of the
+ etag from a previous GET or POST response for that resource.
+ The resource will be updated or deleted only if the etag you
+ provide matches the resource's current etag value.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :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 replace_packages_in_software_source API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['softwareSourceId']
+ resource_path = "/softwareSources/{softwareSourceId}/actions/replacePackages"
+ method = "POST"
+ operation_name = "replace_packages_in_software_source"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/ReplacePackagesInSoftwareSource"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "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"replace_packages_in_software_source got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "softwareSourceId": software_source_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),
+ "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}
+
+ 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=replace_packages_in_software_source_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=replace_packages_in_software_source_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def search_software_source_module_streams(self, search_software_source_module_streams_details, **kwargs):
+ """
+ Returns a list of module streams from the specified software sources. Filter the list against a variety of
+ criteria including the module name.
:param oci.os_management_hub.models.SearchSoftwareSourceModuleStreamsDetails search_software_source_module_streams_details: (required)
@@ -3809,6 +4341,123 @@ def search_software_source_package_groups(self, search_software_source_package_g
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def software_source_generate_metadata(self, software_source_id, **kwargs):
+ """
+ Regenerates metadata for the specified custom software source.
+
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the `if-match` parameter to the value of the
+ etag from a previous GET or POST response for that resource.
+ The resource will be updated or deleted only if the etag you
+ provide matches the resource's current etag value.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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
+
+ :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 software_source_generate_metadata API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['softwareSourceId']
+ resource_path = "/softwareSources/{softwareSourceId}/actions/generateMetadata"
+ method = "POST"
+ operation_name = "software_source_generate_metadata"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/SoftwareSourceGenerateMetadata"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "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"software_source_generate_metadata got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "softwareSourceId": software_source_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),
+ "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}
+
+ 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'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def update_software_source(self, software_source_id, update_software_source_details, **kwargs):
"""
Updates the specified software source's details, including but not limited to name, description, and tags.
@@ -3922,3 +4571,155 @@ def update_software_source(self, software_source_id, update_software_source_deta
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+
+ def update_software_source_manifest(self, update_software_source_manifest_details, software_source_id, **kwargs):
+ """
+ Updates the package list document for the software source.
+
+
+ :param stream update_software_source_manifest_details: (required)
+ Provides the document used to update the package list of the software source.
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the `if-match` parameter to the value of the
+ etag from a previous GET or POST response for that resource.
+ The resource will be updated or deleted only if the etag you
+ provide matches the resource's current etag value.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation 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 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 :class:`~oci.os_management_hub.models.SoftwareSource`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_software_source_manifest API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['softwareSourceId']
+ resource_path = "/softwareSources/{softwareSourceId}/manifest"
+ method = "PUT"
+ operation_name = "update_software_source_manifest"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/SoftwareSource/UpdateSoftwareSourceManifest"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "buffer_limit",
+ "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"update_software_source_manifest got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "softwareSourceId": software_source_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",
+ "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}
+
+ # If the body parameter is optional we need to assign it to a variable so additional type checking can be performed.
+ try:
+ update_software_source_manifest_details
+ except NameError:
+ update_software_source_manifest_details = kwargs.get("update_software_source_manifest_details", missing)
+
+ if update_software_source_manifest_details is not missing and update_software_source_manifest_details is not None:
+ if (not isinstance(update_software_source_manifest_details, (six.binary_type, six.string_types)) and
+ not hasattr(update_software_source_manifest_details, "read")):
+ raise TypeError('The body must be a string, bytes, or provide a read() method.')
+
+ if hasattr(update_software_source_manifest_details, 'fileno') and hasattr(update_software_source_manifest_details, 'name') and update_software_source_manifest_details.name != '':
+ if requests.utils.super_len(update_software_source_manifest_details) == 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(update_software_source_manifest_details):
+ calculated_obj = back_up_body_calculate_stream_content_length(update_software_source_manifest_details, kwargs.get("buffer_limit"))
+ header_params['Content-Length'] = calculated_obj["content_length"]
+ update_software_source_manifest_details = 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,
+ header_params=header_params,
+ body=update_software_source_manifest_details,
+ response_type="SoftwareSource",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_software_source_manifest_details,
+ response_type="SoftwareSource",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
diff --git a/src/oci/os_management_hub/software_source_client_composite_operations.py b/src/oci/os_management_hub/software_source_client_composite_operations.py
index a4843d35fb..b9877eb527 100644
--- a/src/oci/os_management_hub/software_source_client_composite_operations.py
+++ b/src/oci/os_management_hub/software_source_client_composite_operations.py
@@ -169,6 +169,94 @@ def delete_software_source_and_wait_for_state(self, software_source_id, wait_for
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def remove_packages_from_software_source_and_wait_for_state(self, software_source_id, remove_packages_from_software_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.remove_packages_from_software_source` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RemovePackagesFromSoftwareSourceDetails remove_packages_from_software_source_details: (required)
+ A list of packages to be removed from the software source.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.SoftwareSourceClient.remove_packages_from_software_source`
+
+ :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.remove_packages_from_software_source(software_source_id, remove_packages_from_software_source_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 replace_packages_in_software_source_and_wait_for_state(self, software_source_id, replace_packages_in_software_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.replace_packages_in_software_source` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.ReplacePackagesInSoftwareSourceDetails replace_packages_in_software_source_details: (required)
+ A list of packages that will replace the existing packages in the software source.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.SoftwareSourceClient.replace_packages_in_software_source`
+
+ :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.replace_packages_in_software_source(software_source_id, replace_packages_in_software_source_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_software_source_and_wait_for_state(self, software_source_id, update_software_source_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.update_software_source` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
@@ -212,3 +300,47 @@ def update_software_source_and_wait_for_state(self, software_source_id, update_s
return result_to_return
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def update_software_source_manifest_and_wait_for_state(self, update_software_source_manifest_details, software_source_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.SoftwareSourceClient.update_software_source_manifest` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param stream update_software_source_manifest_details: (required)
+ Provides the document used to update the package list of the software source.
+
+ :param str software_source_id: (required)
+ The `OCID`__ of the software source.
+
+ __ https://docs.cloud.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.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.SoftwareSourceClient.update_software_source_manifest`
+
+ :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_software_source_manifest(update_software_source_manifest_details, software_source_id, **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)
diff --git a/src/oci/os_management_hub/work_request_client.py b/src/oci/os_management_hub/work_request_client.py
index 584db09853..4522a450ea 100644
--- a/src/oci/os_management_hub/work_request_client.py
+++ b/src/oci/os_management_hub/work_request_client.py
@@ -119,7 +119,7 @@ def __init__(self, config, **kwargs):
def get_work_request(self, work_request_id, **kwargs):
"""
- Gets information about the specified work request.
+ Returns information about the specified work request.
:param str work_request_id: (required)
@@ -219,7 +219,7 @@ def get_work_request(self, work_request_id, **kwargs):
def list_work_request_errors(self, work_request_id, **kwargs):
"""
- Gets the errors for the specified work request.
+ Returns the errors for the specified work request.
:param str work_request_id: (required)
@@ -374,7 +374,7 @@ def list_work_request_errors(self, work_request_id, **kwargs):
def list_work_request_logs(self, work_request_id, **kwargs):
"""
- Gets the logs for the specified work request.
+ Returns the logs for the specified work request.
:param str work_request_id: (required)
@@ -544,7 +544,7 @@ def list_work_requests(self, **kwargs):
:param list[str] status: (optional)
A filter to return work requests that match the given status.
- Allowed values are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
+ Allowed values are: "WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
:param str resource_id: (optional)
The `OCID`__ of the resource. This filter returns resources associated with the specified resource.
@@ -599,7 +599,7 @@ def list_work_requests(self, **kwargs):
:param list[str] operation_type: (optional)
The asynchronous operation tracked by this work request. The filter returns only resources that match the given OperationType.
- Allowed values are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE"
+ Allowed values are: "INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT"
:param str display_name_contains: (optional)
A filter to return resources that may partially match the given display name.
@@ -609,6 +609,11 @@ def list_work_requests(self, **kwargs):
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param str rerun_of_id: (optional)
+ A filter to return the work requests that are a rerun of the given work request `OCIDs`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
:param datetime time_created_less_than: (optional)
A filter to return work requests that were created before the date provided (in `RFC 3339`__ format). Example: '2023-08-25T21:10:29.600Z'
@@ -666,6 +671,7 @@ def list_work_requests(self, **kwargs):
"operation_type",
"display_name_contains",
"retry_of_id",
+ "rerun_of_id",
"time_created_less_than",
"time_created_greater_than_or_equal_to",
"is_managed_by_autonomous_linux"
@@ -676,7 +682,7 @@ def list_work_requests(self, **kwargs):
f"list_work_requests got unknown kwargs: {extra_kwargs!r}")
if 'status' in kwargs:
- status_allowed_values = ["ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
+ status_allowed_values = ["WAITING", "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"]
for status_item in kwargs['status']:
if status_item not in status_allowed_values:
raise ValueError(
@@ -698,7 +704,7 @@ def list_work_requests(self, **kwargs):
)
if 'operation_type' in kwargs:
- operation_type_allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE"]
+ operation_type_allowed_values = ["INSTALL_PACKAGES", "REMOVE_PACKAGES", "UPDATE_PACKAGES", "UPDATE_ALL_PACKAGES", "UPDATE_SECURITY", "UPDATE_BUGFIX", "UPDATE_ENHANCEMENT", "UPDATE_OTHER", "UPDATE_KSPLICE_KERNEL", "UPDATE_KSPLICE_USERSPACE", "ENABLE_MODULE_STREAMS", "DISABLE_MODULE_STREAMS", "SWITCH_MODULE_STREAM", "INSTALL_MODULE_PROFILES", "REMOVE_MODULE_PROFILES", "SET_SOFTWARE_SOURCES", "LIST_PACKAGES", "SET_MANAGEMENT_STATION_CONFIG", "SYNC_MANAGEMENT_STATION_MIRROR", "UPDATE_MANAGEMENT_STATION_SOFTWARE", "UPDATE", "MODULE_ACTIONS", "LIFECYCLE_PROMOTION", "CREATE_SOFTWARE_SOURCE", "UPDATE_SOFTWARE_SOURCE", "IMPORT_CONTENT", "SYNC_AGENT_CONFIG", "INSTALL_WINDOWS_UPDATES", "LIST_WINDOWS_UPDATE", "GET_WINDOWS_UPDATE_DETAILS", "INSTALL_ALL_WINDOWS_UPDATES", "INSTALL_SECURITY_WINDOWS_UPDATES", "INSTALL_BUGFIX_WINDOWS_UPDATES", "INSTALL_ENHANCEMENT_WINDOWS_UPDATES", "INSTALL_OTHER_WINDOWS_UPDATES", "REMOVE_CONTENT", "UNREGISTER_MANAGED_INSTANCE", "REBOOT"]
for operation_type_item in kwargs['operation_type']:
if operation_type_item not in operation_type_allowed_values:
raise ValueError(
@@ -720,6 +726,7 @@ def list_work_requests(self, **kwargs):
"operationType": self.base_client.generate_collection_format_param(kwargs.get("operation_type", missing), 'multi'),
"displayNameContains": kwargs.get("display_name_contains", missing),
"retryOfId": kwargs.get("retry_of_id", missing),
+ "rerunOfId": kwargs.get("rerun_of_id", missing),
"timeCreatedLessThan": kwargs.get("time_created_less_than", missing),
"timeCreatedGreaterThanOrEqualTo": kwargs.get("time_created_greater_than_or_equal_to", missing),
"isManagedByAutonomousLinux": kwargs.get("is_managed_by_autonomous_linux", missing)
@@ -766,3 +773,129 @@ def list_work_requests(self, **kwargs):
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+
+ def rerun_work_request(self, work_request_id, rerun_work_request_details, **kwargs):
+ """
+ Reruns a failed work for the specified work request `OCID`__. Rerunning restarts the work on failed targets.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str work_request_id: (required)
+ The `OCID`__ of the work request.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RerunWorkRequestDetails rerun_work_request_details: (required)
+ The resource `OCIDs`__ to rerun the work requests for. If no OCIDs are provided, rerun will apply to all failed work requests associated with the specified work request id.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. 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 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
+
+ :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 rerun_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}/actions/rerun"
+ method = "POST"
+ operation_name = "rerun_work_request"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/osmh/20220901/WorkRequest/RerunWorkRequest"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "retry_strategy",
+ "opc_request_id",
+ "opc_retry_token",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"rerun_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),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy 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=rerun_work_request_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=rerun_work_request_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
diff --git a/src/oci/os_management_hub/work_request_client_composite_operations.py b/src/oci/os_management_hub/work_request_client_composite_operations.py
index 2d1e62d2f4..52f969114e 100644
--- a/src/oci/os_management_hub/work_request_client_composite_operations.py
+++ b/src/oci/os_management_hub/work_request_client_composite_operations.py
@@ -24,3 +24,49 @@ def __init__(self, client, **kwargs):
The service client which will be wrapped by this object
"""
self.client = client
+
+ def rerun_work_request_and_wait_for_state(self, work_request_id, rerun_work_request_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.os_management_hub.WorkRequestClient.rerun_work_request` and waits for the :py:class:`~oci.os_management_hub.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str work_request_id: (required)
+ The `OCID`__ of the work request.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.os_management_hub.models.RerunWorkRequestDetails rerun_work_request_details: (required)
+ The resource `OCIDs`__ to rerun the work requests for. If no OCIDs are provided, rerun will apply to all failed work requests associated with the specified work request id.
+
+ __ https://docs.cloud.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.os_management_hub.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.os_management_hub.WorkRequestClient.rerun_work_request`
+
+ :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.rerun_work_request(work_request_id, rerun_work_request_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)
diff --git a/src/oci/redis/models/redis_cluster.py b/src/oci/redis/models/redis_cluster.py
index 8a4a2fffd1..bdc2f853ab 100644
--- a/src/oci/redis/models/redis_cluster.py
+++ b/src/oci/redis/models/redis_cluster.py
@@ -49,6 +49,10 @@ class RedisCluster(object):
#: This constant has a value of "REDIS_7_0"
SOFTWARE_VERSION_REDIS_7_0 = "REDIS_7_0"
+ #: A constant which can be used with the software_version property of a RedisCluster.
+ #: This constant has a value of "VALKEY_7_2"
+ SOFTWARE_VERSION_VALKEY_7_2 = "VALKEY_7_2"
+
#: A constant which can be used with the cluster_mode property of a RedisCluster.
#: This constant has a value of "SHARDED"
CLUSTER_MODE_SHARDED = "SHARDED"
@@ -110,7 +114,7 @@ def __init__(self, **kwargs):
:param software_version:
The value to assign to the software_version property of this RedisCluster.
- Allowed values for this property are: "V7_0_5", "REDIS_7_0", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "V7_0_5", "REDIS_7_0", "VALKEY_7_2", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type software_version: str
@@ -514,7 +518,7 @@ def software_version(self):
**[Required]** Gets the software_version of this RedisCluster.
The OCI Cache engine version that the cluster is running.
- Allowed values for this property are: "V7_0_5", "REDIS_7_0", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "V7_0_5", "REDIS_7_0", "VALKEY_7_2", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -533,7 +537,7 @@ def software_version(self, software_version):
:param software_version: The software_version of this RedisCluster.
:type: str
"""
- allowed_values = ["V7_0_5", "REDIS_7_0"]
+ allowed_values = ["V7_0_5", "REDIS_7_0", "VALKEY_7_2"]
if not value_allowed_none_or_none_sentinel(software_version, allowed_values):
software_version = 'UNKNOWN_ENUM_VALUE'
self._software_version = software_version
diff --git a/src/oci/redis/models/update_redis_cluster_details.py b/src/oci/redis/models/update_redis_cluster_details.py
index 00d90d3b6d..498ced9fed 100644
--- a/src/oci/redis/models/update_redis_cluster_details.py
+++ b/src/oci/redis/models/update_redis_cluster_details.py
@@ -36,6 +36,10 @@ def __init__(self, **kwargs):
The value to assign to the node_memory_in_gbs property of this UpdateRedisClusterDetails.
:type node_memory_in_gbs: float
+ :param software_version:
+ The value to assign to the software_version property of this UpdateRedisClusterDetails.
+ :type software_version: str
+
:param nsg_ids:
The value to assign to the nsg_ids property of this UpdateRedisClusterDetails.
:type nsg_ids: list[str]
@@ -54,6 +58,7 @@ def __init__(self, **kwargs):
'display_name': 'str',
'node_count': 'int',
'node_memory_in_gbs': 'float',
+ 'software_version': 'str',
'nsg_ids': 'list[str]',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))'
@@ -64,6 +69,7 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'node_count': 'nodeCount',
'node_memory_in_gbs': 'nodeMemoryInGBs',
+ 'software_version': 'softwareVersion',
'nsg_ids': 'nsgIds',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
@@ -73,6 +79,7 @@ def __init__(self, **kwargs):
self._display_name = None
self._node_count = None
self._node_memory_in_gbs = None
+ self._software_version = None
self._nsg_ids = None
self._freeform_tags = None
self._defined_tags = None
@@ -173,6 +180,30 @@ def node_memory_in_gbs(self, node_memory_in_gbs):
"""
self._node_memory_in_gbs = node_memory_in_gbs
+ @property
+ def software_version(self):
+ """
+ Gets the software_version of this UpdateRedisClusterDetails.
+ The OCI Cache engine version that the cluster is running.
+
+
+ :return: The software_version of this UpdateRedisClusterDetails.
+ :rtype: str
+ """
+ return self._software_version
+
+ @software_version.setter
+ def software_version(self, software_version):
+ """
+ Sets the software_version of this UpdateRedisClusterDetails.
+ The OCI Cache engine version that the cluster is running.
+
+
+ :param software_version: The software_version of this UpdateRedisClusterDetails.
+ :type: str
+ """
+ self._software_version = software_version
+
@property
def nsg_ids(self):
"""
diff --git a/src/oci/version.py b/src/oci/version.py
index 0841be45d0..426b3b688b 100644
--- a/src/oci/version.py
+++ b/src/oci/version.py
@@ -2,4 +2,4 @@
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
-__version__ = "2.145.0"
+__version__ = "2.146.0"