oci 2.150.0__py3-none-any.whl → 2.150.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +282 -45
- oci/container_engine/container_engine_client_composite_operations.py +90 -0
- oci/container_engine/models/__init__.py +10 -0
- oci/container_engine/models/cluster_node.py +101 -0
- oci/container_engine/models/image.py +132 -0
- oci/container_engine/models/node_eviction_node_pool_settings.py +33 -2
- oci/container_engine/models/node_eviction_settings.py +103 -0
- oci/container_engine/models/node_pool_cycling_details.py +35 -4
- oci/container_engine/models/reboot_cluster_node_details.py +66 -0
- oci/container_engine/models/replace_boot_volume_cluster_node_details.py +66 -0
- oci/container_engine/models/work_request.py +11 -3
- oci/container_engine/models/work_request_summary.py +11 -3
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +117 -117
- oci/core/compute_management_client.py +32 -32
- oci/core/models/create_volume_details.py +33 -2
- oci/core/models/instance_configuration_create_volume_details.py +33 -2
- oci/core/models/update_volume_details.py +33 -2
- oci/core/models/volume.py +33 -2
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +414 -414
- oci/database/models/autonomous_container_database.py +31 -0
- oci/database/models/autonomous_container_database_summary.py +31 -0
- oci/database/models/create_autonomous_container_database_details.py +31 -0
- oci/database/models/update_autonomous_container_database_details.py +31 -0
- oci/database_management/db_management_client.py +228 -228
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +9 -9
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +345 -12
- oci/dblm/models/__init__.py +22 -0
- oci/dblm/models/additional_patches.py +179 -0
- oci/dblm/models/databases_summary.py +670 -0
- oci/dblm/models/dblm_patch_management.py +410 -0
- oci/dblm/models/fpp_server.py +604 -0
- oci/dblm/models/image_details.py +338 -0
- oci/dblm/models/images_patch_recommendation_summary.py +132 -0
- oci/dblm/models/patch_activity_details.py +394 -0
- oci/dblm/models/patch_compliance_details.py +121 -0
- oci/dblm/models/patch_databases_collection.py +70 -0
- oci/dblm/models/patch_operations_summary.py +194 -0
- oci/dblm/models/resource_info.py +33 -2
- oci/dblm/models/resources_patch_compliance_summary.py +194 -0
- oci/dblm/models/vulnerabilities_summary.py +10 -10
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fips.py +58 -36
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +102 -5
- oci/generative_ai_inference/models/__init__.py +26 -0
- oci/generative_ai_inference/models/apply_guardrails_details.py +124 -0
- oci/generative_ai_inference/models/apply_guardrails_result.py +66 -0
- oci/generative_ai_inference/models/assistant_message.py +3 -0
- oci/generative_ai_inference/models/category_score.py +101 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +53 -2
- oci/generative_ai_inference/models/content_moderation_configuration.py +70 -0
- oci/generative_ai_inference/models/content_moderation_result.py +70 -0
- oci/generative_ai_inference/models/guardrail_configs.py +120 -0
- oci/generative_ai_inference/models/guardrails_input.py +99 -0
- oci/generative_ai_inference/models/guardrails_results.py +124 -0
- oci/generative_ai_inference/models/guardrails_text_input.py +111 -0
- oci/generative_ai_inference/models/personally_identifiable_information_configuration.py +70 -0
- oci/generative_ai_inference/models/personally_identifiable_information_result.py +194 -0
- oci/generative_ai_inference/models/prompt_injection_configuration.py +39 -0
- oci/generative_ai_inference/models/prompt_injection_protection_result.py +70 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +89 -89
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +22 -22
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/regions_definitions.py +9 -0
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/models/__init__.py +6 -0
- oci/visual_builder/models/network_endpoint_details.py +11 -3
- oci/visual_builder/models/private_endpoint_details.py +1 -1
- oci/visual_builder/models/public_endpoint_details.py +113 -0
- oci/visual_builder/models/update_network_endpoint_details.py +11 -3
- oci/visual_builder/models/update_private_endpoint_details.py +1 -1
- oci/visual_builder/models/update_public_endpoint_details.py +113 -0
- oci/visual_builder/models/virtual_cloud_network.py +103 -0
- oci/visual_builder/vb_instance_client.py +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/METADATA +1 -1
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/RECORD +322 -290
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/LICENSE.txt +0 -0
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/WHEEL +0 -0
- {oci-2.150.0.dist-info → oci-2.150.2.dist-info}/top_level.txt +0 -0
@@ -150,7 +150,7 @@ class DbLifeCycleManagementClient(object):
|
|
150
150
|
:rtype: :class:`~oci.response.Response`
|
151
151
|
|
152
152
|
:example:
|
153
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
153
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/create_vulnerability_scan.py.html>`__ to see an example of how to use create_vulnerability_scan API.
|
154
154
|
"""
|
155
155
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
156
156
|
required_arguments = []
|
@@ -214,6 +214,128 @@ class DbLifeCycleManagementClient(object):
|
|
214
214
|
api_reference_link=api_reference_link,
|
215
215
|
required_arguments=required_arguments)
|
216
216
|
|
217
|
+
def get_patch_management(self, compartment_id, **kwargs):
|
218
|
+
"""
|
219
|
+
Overview of Patch Management.
|
220
|
+
|
221
|
+
|
222
|
+
:param str compartment_id: (required)
|
223
|
+
The required ID of the compartment in which to list resources.
|
224
|
+
|
225
|
+
:param str opc_request_id: (optional)
|
226
|
+
The client request ID for tracing.
|
227
|
+
|
228
|
+
:param str database_release: (optional)
|
229
|
+
A filter to return only database that match the given release version.
|
230
|
+
|
231
|
+
:param str lifecycle_state: (optional)
|
232
|
+
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
233
|
+
|
234
|
+
Allowed values are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"
|
235
|
+
|
236
|
+
:param datetime time_started_greater_than_or_equal_to: (optional)
|
237
|
+
A filter to return only resources whose timeStarted is greater than or equal to the given date-time.
|
238
|
+
|
239
|
+
:param datetime time_started_less_than: (optional)
|
240
|
+
A filter to return only resources whose timeStarted is less than the given date-time.
|
241
|
+
|
242
|
+
:param obj retry_strategy: (optional)
|
243
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
244
|
+
|
245
|
+
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.
|
246
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
247
|
+
|
248
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
249
|
+
|
250
|
+
:param bool allow_control_chars: (optional)
|
251
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
252
|
+
By default, the response will not allow control characters in strings
|
253
|
+
|
254
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.DblmPatchManagement`
|
255
|
+
:rtype: :class:`~oci.response.Response`
|
256
|
+
|
257
|
+
:example:
|
258
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/get_patch_management.py.html>`__ to see an example of how to use get_patch_management API.
|
259
|
+
"""
|
260
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
261
|
+
required_arguments = ['compartmentId']
|
262
|
+
resource_path = "/patchManagement"
|
263
|
+
method = "GET"
|
264
|
+
operation_name = "get_patch_management"
|
265
|
+
api_reference_link = ""
|
266
|
+
|
267
|
+
# Don't accept unknown kwargs
|
268
|
+
expected_kwargs = [
|
269
|
+
"allow_control_chars",
|
270
|
+
"retry_strategy",
|
271
|
+
"opc_request_id",
|
272
|
+
"database_release",
|
273
|
+
"lifecycle_state",
|
274
|
+
"time_started_greater_than_or_equal_to",
|
275
|
+
"time_started_less_than"
|
276
|
+
]
|
277
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
278
|
+
if extra_kwargs:
|
279
|
+
raise ValueError(
|
280
|
+
f"get_patch_management got unknown kwargs: {extra_kwargs!r}")
|
281
|
+
|
282
|
+
if 'lifecycle_state' in kwargs:
|
283
|
+
lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"]
|
284
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
285
|
+
raise ValueError(
|
286
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
287
|
+
)
|
288
|
+
|
289
|
+
query_params = {
|
290
|
+
"compartmentId": compartment_id,
|
291
|
+
"databaseRelease": kwargs.get("database_release", missing),
|
292
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
293
|
+
"timeStartedGreaterThanOrEqualTo": kwargs.get("time_started_greater_than_or_equal_to", missing),
|
294
|
+
"timeStartedLessThan": kwargs.get("time_started_less_than", missing)
|
295
|
+
}
|
296
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
297
|
+
|
298
|
+
header_params = {
|
299
|
+
"accept": "application/json",
|
300
|
+
"content-type": "application/json",
|
301
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
302
|
+
}
|
303
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
304
|
+
|
305
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
306
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
307
|
+
client_retry_strategy=self.retry_strategy
|
308
|
+
)
|
309
|
+
if retry_strategy is None:
|
310
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
311
|
+
|
312
|
+
if retry_strategy:
|
313
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
314
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
315
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
316
|
+
return retry_strategy.make_retrying_call(
|
317
|
+
self.base_client.call_api,
|
318
|
+
resource_path=resource_path,
|
319
|
+
method=method,
|
320
|
+
query_params=query_params,
|
321
|
+
header_params=header_params,
|
322
|
+
response_type="DblmPatchManagement",
|
323
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
324
|
+
operation_name=operation_name,
|
325
|
+
api_reference_link=api_reference_link,
|
326
|
+
required_arguments=required_arguments)
|
327
|
+
else:
|
328
|
+
return self.base_client.call_api(
|
329
|
+
resource_path=resource_path,
|
330
|
+
method=method,
|
331
|
+
query_params=query_params,
|
332
|
+
header_params=header_params,
|
333
|
+
response_type="DblmPatchManagement",
|
334
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
335
|
+
operation_name=operation_name,
|
336
|
+
api_reference_link=api_reference_link,
|
337
|
+
required_arguments=required_arguments)
|
338
|
+
|
217
339
|
def get_vulnerability(self, compartment_id, **kwargs):
|
218
340
|
"""
|
219
341
|
Gets a Vulnerability
|
@@ -249,7 +371,7 @@ class DbLifeCycleManagementClient(object):
|
|
249
371
|
:rtype: :class:`~oci.response.Response`
|
250
372
|
|
251
373
|
:example:
|
252
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
374
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/get_vulnerability.py.html>`__ to see an example of how to use get_vulnerability API.
|
253
375
|
"""
|
254
376
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
255
377
|
required_arguments = ['compartmentId']
|
@@ -355,7 +477,7 @@ class DbLifeCycleManagementClient(object):
|
|
355
477
|
:rtype: :class:`~oci.response.Response`
|
356
478
|
|
357
479
|
:example:
|
358
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
480
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/get_vulnerability_scan.py.html>`__ to see an example of how to use get_vulnerability_scan API.
|
359
481
|
"""
|
360
482
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
361
483
|
required_arguments = ['vulnerabilityScanId']
|
@@ -453,7 +575,7 @@ class DbLifeCycleManagementClient(object):
|
|
453
575
|
:rtype: :class:`~oci.response.Response`
|
454
576
|
|
455
577
|
:example:
|
456
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
578
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
457
579
|
"""
|
458
580
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
459
581
|
required_arguments = ['workRequestId']
|
@@ -571,7 +693,7 @@ class DbLifeCycleManagementClient(object):
|
|
571
693
|
:rtype: :class:`~oci.response.Response`
|
572
694
|
|
573
695
|
:example:
|
574
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
696
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_aggregated_vulnerability_data.py.html>`__ to see an example of how to use list_aggregated_vulnerability_data API.
|
575
697
|
"""
|
576
698
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
577
699
|
required_arguments = []
|
@@ -657,6 +779,217 @@ class DbLifeCycleManagementClient(object):
|
|
657
779
|
api_reference_link=api_reference_link,
|
658
780
|
required_arguments=required_arguments)
|
659
781
|
|
782
|
+
def list_databases(self, **kwargs):
|
783
|
+
"""
|
784
|
+
Gets the list of databases
|
785
|
+
|
786
|
+
|
787
|
+
:param str compartment_id: (optional)
|
788
|
+
The ID of the compartment in which to list resources.
|
789
|
+
|
790
|
+
:param str lifecycle_state: (optional)
|
791
|
+
A filter to return only resources their lifecycleState matches the given lifecycleState.
|
792
|
+
|
793
|
+
Allowed values are: "CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"
|
794
|
+
|
795
|
+
:param str database_release: (optional)
|
796
|
+
A filter to return only database that match the given release version.
|
797
|
+
|
798
|
+
:param str database_type: (optional)
|
799
|
+
Filter by database type.
|
800
|
+
Possible values Single Instance or RAC.
|
801
|
+
|
802
|
+
Allowed values are: "SI", "RAC"
|
803
|
+
|
804
|
+
:param int limit: (optional)
|
805
|
+
The maximum number of items to return.
|
806
|
+
|
807
|
+
:param str page: (optional)
|
808
|
+
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.
|
809
|
+
|
810
|
+
:param str sort_order: (optional)
|
811
|
+
The sort order to use, either 'ASC' or 'DESC'.
|
812
|
+
|
813
|
+
Allowed values are: "ASC", "DESC"
|
814
|
+
|
815
|
+
:param str sort_by: (optional)
|
816
|
+
The field to sort by.
|
817
|
+
|
818
|
+
Allowed values are: "timeCreated", "name", "resourceType", "release", "subscribedImage", "patchCompliance"
|
819
|
+
|
820
|
+
:param str image_id: (optional)
|
821
|
+
Subscribed image
|
822
|
+
|
823
|
+
:param str opc_request_id: (optional)
|
824
|
+
The client request ID for tracing.
|
825
|
+
|
826
|
+
:param str display_name: (optional)
|
827
|
+
A filter to return only resources that match the entire display name given.
|
828
|
+
|
829
|
+
:param int drifter_patch_id: (optional)
|
830
|
+
A filter to return only database that have given patchId as additional patch (drifter from image version).
|
831
|
+
|
832
|
+
:param str image_compliance: (optional)
|
833
|
+
Filter databases by image compliance status.
|
834
|
+
|
835
|
+
Allowed values are: "NOT_SUBSCRIBED", "NOT_COMPLIANT_WITH_IMAGES", "ALL_DATABASES"
|
836
|
+
|
837
|
+
:param list[str] severity_type: (optional)
|
838
|
+
Filter by one or more severity types.
|
839
|
+
Possible values are critical, high, medium, low, info and none.
|
840
|
+
|
841
|
+
Allowed values are: "CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO", "NONE"
|
842
|
+
|
843
|
+
:param obj retry_strategy: (optional)
|
844
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
845
|
+
|
846
|
+
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.
|
847
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
848
|
+
|
849
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
850
|
+
|
851
|
+
:param bool allow_control_chars: (optional)
|
852
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
853
|
+
By default, the response will not allow control characters in strings
|
854
|
+
|
855
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.dblm.models.PatchDatabasesCollection`
|
856
|
+
:rtype: :class:`~oci.response.Response`
|
857
|
+
|
858
|
+
:example:
|
859
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_databases.py.html>`__ to see an example of how to use list_databases API.
|
860
|
+
"""
|
861
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
862
|
+
required_arguments = []
|
863
|
+
resource_path = "/patchManagement/databases"
|
864
|
+
method = "GET"
|
865
|
+
operation_name = "list_databases"
|
866
|
+
api_reference_link = ""
|
867
|
+
|
868
|
+
# Don't accept unknown kwargs
|
869
|
+
expected_kwargs = [
|
870
|
+
"allow_control_chars",
|
871
|
+
"retry_strategy",
|
872
|
+
"compartment_id",
|
873
|
+
"lifecycle_state",
|
874
|
+
"database_release",
|
875
|
+
"database_type",
|
876
|
+
"limit",
|
877
|
+
"page",
|
878
|
+
"sort_order",
|
879
|
+
"sort_by",
|
880
|
+
"image_id",
|
881
|
+
"opc_request_id",
|
882
|
+
"display_name",
|
883
|
+
"drifter_patch_id",
|
884
|
+
"image_compliance",
|
885
|
+
"severity_type"
|
886
|
+
]
|
887
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
888
|
+
if extra_kwargs:
|
889
|
+
raise ValueError(
|
890
|
+
f"list_databases got unknown kwargs: {extra_kwargs!r}")
|
891
|
+
|
892
|
+
if 'lifecycle_state' in kwargs:
|
893
|
+
lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "FAILED", "NEEDS_ATTENTION", "DELETING", "DELETED"]
|
894
|
+
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
|
895
|
+
raise ValueError(
|
896
|
+
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
|
897
|
+
)
|
898
|
+
|
899
|
+
if 'database_type' in kwargs:
|
900
|
+
database_type_allowed_values = ["SI", "RAC"]
|
901
|
+
if kwargs['database_type'] not in database_type_allowed_values:
|
902
|
+
raise ValueError(
|
903
|
+
f"Invalid value for `database_type`, must be one of { database_type_allowed_values }"
|
904
|
+
)
|
905
|
+
|
906
|
+
if 'sort_order' in kwargs:
|
907
|
+
sort_order_allowed_values = ["ASC", "DESC"]
|
908
|
+
if kwargs['sort_order'] not in sort_order_allowed_values:
|
909
|
+
raise ValueError(
|
910
|
+
f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
|
911
|
+
)
|
912
|
+
|
913
|
+
if 'sort_by' in kwargs:
|
914
|
+
sort_by_allowed_values = ["timeCreated", "name", "resourceType", "release", "subscribedImage", "patchCompliance"]
|
915
|
+
if kwargs['sort_by'] not in sort_by_allowed_values:
|
916
|
+
raise ValueError(
|
917
|
+
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
|
918
|
+
)
|
919
|
+
|
920
|
+
if 'image_compliance' in kwargs:
|
921
|
+
image_compliance_allowed_values = ["NOT_SUBSCRIBED", "NOT_COMPLIANT_WITH_IMAGES", "ALL_DATABASES"]
|
922
|
+
if kwargs['image_compliance'] not in image_compliance_allowed_values:
|
923
|
+
raise ValueError(
|
924
|
+
f"Invalid value for `image_compliance`, must be one of { image_compliance_allowed_values }"
|
925
|
+
)
|
926
|
+
|
927
|
+
if 'severity_type' in kwargs:
|
928
|
+
severity_type_allowed_values = ["CRITICAL", "HIGH", "MEDIUM", "LOW", "INFO", "NONE"]
|
929
|
+
for severity_type_item in kwargs['severity_type']:
|
930
|
+
if severity_type_item not in severity_type_allowed_values:
|
931
|
+
raise ValueError(
|
932
|
+
f"Invalid value for `severity_type`, must be one of { severity_type_allowed_values }"
|
933
|
+
)
|
934
|
+
|
935
|
+
query_params = {
|
936
|
+
"compartmentId": kwargs.get("compartment_id", missing),
|
937
|
+
"lifecycleState": kwargs.get("lifecycle_state", missing),
|
938
|
+
"databaseRelease": kwargs.get("database_release", missing),
|
939
|
+
"databaseType": kwargs.get("database_type", missing),
|
940
|
+
"limit": kwargs.get("limit", missing),
|
941
|
+
"page": kwargs.get("page", missing),
|
942
|
+
"sortOrder": kwargs.get("sort_order", missing),
|
943
|
+
"sortBy": kwargs.get("sort_by", missing),
|
944
|
+
"imageId": kwargs.get("image_id", missing),
|
945
|
+
"displayName": kwargs.get("display_name", missing),
|
946
|
+
"drifterPatchId": kwargs.get("drifter_patch_id", missing),
|
947
|
+
"imageCompliance": kwargs.get("image_compliance", missing),
|
948
|
+
"severityType": self.base_client.generate_collection_format_param(kwargs.get("severity_type", missing), 'multi')
|
949
|
+
}
|
950
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
951
|
+
|
952
|
+
header_params = {
|
953
|
+
"accept": "application/json",
|
954
|
+
"content-type": "application/json",
|
955
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
956
|
+
}
|
957
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
958
|
+
|
959
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
960
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
961
|
+
client_retry_strategy=self.retry_strategy
|
962
|
+
)
|
963
|
+
if retry_strategy is None:
|
964
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
965
|
+
|
966
|
+
if retry_strategy:
|
967
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
968
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
969
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
970
|
+
return retry_strategy.make_retrying_call(
|
971
|
+
self.base_client.call_api,
|
972
|
+
resource_path=resource_path,
|
973
|
+
method=method,
|
974
|
+
query_params=query_params,
|
975
|
+
header_params=header_params,
|
976
|
+
response_type="PatchDatabasesCollection",
|
977
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
978
|
+
operation_name=operation_name,
|
979
|
+
api_reference_link=api_reference_link,
|
980
|
+
required_arguments=required_arguments)
|
981
|
+
else:
|
982
|
+
return self.base_client.call_api(
|
983
|
+
resource_path=resource_path,
|
984
|
+
method=method,
|
985
|
+
query_params=query_params,
|
986
|
+
header_params=header_params,
|
987
|
+
response_type="PatchDatabasesCollection",
|
988
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
989
|
+
operation_name=operation_name,
|
990
|
+
api_reference_link=api_reference_link,
|
991
|
+
required_arguments=required_arguments)
|
992
|
+
|
660
993
|
def list_notifications(self, compartment_id, **kwargs):
|
661
994
|
"""
|
662
995
|
List of notifications
|
@@ -687,7 +1020,7 @@ class DbLifeCycleManagementClient(object):
|
|
687
1020
|
:rtype: :class:`~oci.response.Response`
|
688
1021
|
|
689
1022
|
:example:
|
690
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1023
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_notifications.py.html>`__ to see an example of how to use list_notifications API.
|
691
1024
|
"""
|
692
1025
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
693
1026
|
required_arguments = ['compartmentId']
|
@@ -828,7 +1161,7 @@ class DbLifeCycleManagementClient(object):
|
|
828
1161
|
:rtype: :class:`~oci.response.Response`
|
829
1162
|
|
830
1163
|
:example:
|
831
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1164
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_vulnerabilities.py.html>`__ to see an example of how to use list_vulnerabilities API.
|
832
1165
|
"""
|
833
1166
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
834
1167
|
required_arguments = []
|
@@ -1016,7 +1349,7 @@ class DbLifeCycleManagementClient(object):
|
|
1016
1349
|
:rtype: :class:`~oci.response.Response`
|
1017
1350
|
|
1018
1351
|
:example:
|
1019
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1352
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_vulnerability_resources.py.html>`__ to see an example of how to use list_vulnerability_resources API.
|
1020
1353
|
"""
|
1021
1354
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1022
1355
|
required_arguments = ['compartmentId']
|
@@ -1205,7 +1538,7 @@ class DbLifeCycleManagementClient(object):
|
|
1205
1538
|
:rtype: :class:`~oci.response.Response`
|
1206
1539
|
|
1207
1540
|
:example:
|
1208
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1541
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_vulnerability_scans.py.html>`__ to see an example of how to use list_vulnerability_scans API.
|
1209
1542
|
"""
|
1210
1543
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1211
1544
|
required_arguments = []
|
@@ -1364,7 +1697,7 @@ class DbLifeCycleManagementClient(object):
|
|
1364
1697
|
:rtype: :class:`~oci.response.Response`
|
1365
1698
|
|
1366
1699
|
:example:
|
1367
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1700
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
1368
1701
|
"""
|
1369
1702
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1370
1703
|
required_arguments = ['workRequestId']
|
@@ -1506,7 +1839,7 @@ class DbLifeCycleManagementClient(object):
|
|
1506
1839
|
:rtype: :class:`~oci.response.Response`
|
1507
1840
|
|
1508
1841
|
:example:
|
1509
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1842
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
1510
1843
|
"""
|
1511
1844
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1512
1845
|
required_arguments = ['workRequestId']
|
@@ -1659,7 +1992,7 @@ class DbLifeCycleManagementClient(object):
|
|
1659
1992
|
:rtype: :class:`~oci.response.Response`
|
1660
1993
|
|
1661
1994
|
:example:
|
1662
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.
|
1995
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.150.2/dblm/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
1663
1996
|
"""
|
1664
1997
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1665
1998
|
required_arguments = []
|
oci/dblm/models/__init__.py
CHANGED
@@ -6,19 +6,30 @@
|
|
6
6
|
|
7
7
|
from __future__ import absolute_import
|
8
8
|
|
9
|
+
from .additional_patches import AdditionalPatches
|
9
10
|
from .aggregated_vulnerability_collection import AggregatedVulnerabilityCollection
|
10
11
|
from .aggregated_vulnerability_summary import AggregatedVulnerabilitySummary
|
11
12
|
from .child_pdb import ChildPdb
|
12
13
|
from .create_vulnerability_scan_details import CreateVulnerabilityScanDetails
|
14
|
+
from .databases_summary import DatabasesSummary
|
15
|
+
from .dblm_patch_management import DblmPatchManagement
|
13
16
|
from .dblm_vulnerability import DblmVulnerability
|
17
|
+
from .fpp_server import FppServer
|
14
18
|
from .host_info import HostInfo
|
19
|
+
from .image_details import ImageDetails
|
20
|
+
from .images_patch_recommendation_summary import ImagesPatchRecommendationSummary
|
15
21
|
from .metric_error import MetricError
|
16
22
|
from .notification_collection import NotificationCollection
|
17
23
|
from .notification_summary import NotificationSummary
|
24
|
+
from .patch_activity_details import PatchActivityDetails
|
25
|
+
from .patch_compliance_details import PatchComplianceDetails
|
26
|
+
from .patch_databases_collection import PatchDatabasesCollection
|
27
|
+
from .patch_operations_summary import PatchOperationsSummary
|
18
28
|
from .patch_recommendation_summary import PatchRecommendationSummary
|
19
29
|
from .patch_recommendations_details_summary import PatchRecommendationsDetailsSummary
|
20
30
|
from .resource_info import ResourceInfo
|
21
31
|
from .resource_summary import ResourceSummary
|
32
|
+
from .resources_patch_compliance_summary import ResourcesPatchComplianceSummary
|
22
33
|
from .vulnerabilities_summary import VulnerabilitiesSummary
|
23
34
|
from .vulnerability_collection import VulnerabilityCollection
|
24
35
|
from .vulnerability_resource_collection import VulnerabilityResourceCollection
|
@@ -38,19 +49,30 @@ from .work_request_summary_collection import WorkRequestSummaryCollection
|
|
38
49
|
|
39
50
|
# Maps type names to classes for dblm services.
|
40
51
|
dblm_type_mapping = {
|
52
|
+
"AdditionalPatches": AdditionalPatches,
|
41
53
|
"AggregatedVulnerabilityCollection": AggregatedVulnerabilityCollection,
|
42
54
|
"AggregatedVulnerabilitySummary": AggregatedVulnerabilitySummary,
|
43
55
|
"ChildPdb": ChildPdb,
|
44
56
|
"CreateVulnerabilityScanDetails": CreateVulnerabilityScanDetails,
|
57
|
+
"DatabasesSummary": DatabasesSummary,
|
58
|
+
"DblmPatchManagement": DblmPatchManagement,
|
45
59
|
"DblmVulnerability": DblmVulnerability,
|
60
|
+
"FppServer": FppServer,
|
46
61
|
"HostInfo": HostInfo,
|
62
|
+
"ImageDetails": ImageDetails,
|
63
|
+
"ImagesPatchRecommendationSummary": ImagesPatchRecommendationSummary,
|
47
64
|
"MetricError": MetricError,
|
48
65
|
"NotificationCollection": NotificationCollection,
|
49
66
|
"NotificationSummary": NotificationSummary,
|
67
|
+
"PatchActivityDetails": PatchActivityDetails,
|
68
|
+
"PatchComplianceDetails": PatchComplianceDetails,
|
69
|
+
"PatchDatabasesCollection": PatchDatabasesCollection,
|
70
|
+
"PatchOperationsSummary": PatchOperationsSummary,
|
50
71
|
"PatchRecommendationSummary": PatchRecommendationSummary,
|
51
72
|
"PatchRecommendationsDetailsSummary": PatchRecommendationsDetailsSummary,
|
52
73
|
"ResourceInfo": ResourceInfo,
|
53
74
|
"ResourceSummary": ResourceSummary,
|
75
|
+
"ResourcesPatchComplianceSummary": ResourcesPatchComplianceSummary,
|
54
76
|
"VulnerabilitiesSummary": VulnerabilitiesSummary,
|
55
77
|
"VulnerabilityCollection": VulnerabilityCollection,
|
56
78
|
"VulnerabilityResourceCollection": VulnerabilityResourceCollection,
|