oci 2.19.0 → 2.20.0
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.
- checksums.yaml +4 -4
- data/README.md +5 -1
- data/lib/oci/adm/adm.rb +38 -0
- data/lib/oci/adm/application_dependency_management_client.rb +1429 -200
- data/lib/oci/adm/application_dependency_management_client_composite_operations.rb +454 -0
- data/lib/oci/adm/models/application_dependency.rb +3 -3
- data/lib/oci/adm/models/application_dependency_recommendation_collection.rb +151 -0
- data/lib/oci/adm/models/application_dependency_recommendation_summary.rb +195 -0
- data/lib/oci/adm/models/application_dependency_vulnerability_collection.rb +3 -3
- data/lib/oci/adm/models/application_dependency_vulnerability_summary.rb +6 -6
- data/lib/oci/adm/models/apply_stage.rb +208 -0
- data/lib/oci/adm/models/change_knowledge_base_compartment_details.rb +2 -2
- data/lib/oci/adm/models/change_remediation_recipe_compartment_details.rb +155 -0
- data/lib/oci/adm/models/change_remediation_run_compartment_details.rb +155 -0
- data/lib/oci/adm/models/change_vulnerability_audit_compartment_details.rb +1 -1
- data/lib/oci/adm/models/create_knowledge_base_details.rb +3 -3
- data/lib/oci/adm/models/create_remediation_recipe_details.rb +285 -0
- data/lib/oci/adm/models/create_remediation_run_details.rb +201 -0
- data/lib/oci/adm/models/create_vulnerability_audit_details.rb +20 -7
- data/lib/oci/adm/models/detect_configuration.rb +217 -0
- data/lib/oci/adm/models/detect_stage.rb +196 -0
- data/lib/oci/adm/models/external_resource_vulnerability_audit_source.rb +1 -1
- data/lib/oci/adm/models/external_scm_configuration.rb +241 -0
- data/lib/oci/adm/models/git_hub_actions_configuration.rb +220 -0
- data/lib/oci/adm/models/git_lab_pipeline_configuration.rb +221 -0
- data/lib/oci/adm/models/jenkins_pipeline_configuration.rb +217 -0
- data/lib/oci/adm/models/knowledge_base.rb +7 -7
- data/lib/oci/adm/models/knowledge_base_collection.rb +2 -2
- data/lib/oci/adm/models/knowledge_base_summary.rb +7 -7
- data/lib/oci/adm/models/network_configuration.rb +172 -0
- data/lib/oci/adm/models/none_verify_configuration.rb +146 -0
- data/lib/oci/adm/models/oci_code_repository_configuration.rb +175 -0
- data/lib/oci/adm/models/oci_dev_ops_build_configuration.rb +177 -0
- data/lib/oci/adm/models/oci_resource_vulnerability_audit_source.rb +2 -2
- data/lib/oci/adm/models/operation_type.rb +6 -0
- data/lib/oci/adm/models/pipeline_properties.rb +169 -0
- data/lib/oci/adm/models/pull_request_properties.rb +169 -0
- data/lib/oci/adm/models/recommend_stage.rb +209 -0
- data/lib/oci/adm/models/remediation_recipe.rb +381 -0
- data/lib/oci/adm/models/remediation_recipe_collection.rb +151 -0
- data/lib/oci/adm/models/remediation_recipe_summary.rb +297 -0
- data/lib/oci/adm/models/remediation_run.rb +418 -0
- data/lib/oci/adm/models/remediation_run_collection.rb +151 -0
- data/lib/oci/adm/models/remediation_run_stage.rb +363 -0
- data/lib/oci/adm/models/remediation_run_stage_collection.rb +151 -0
- data/lib/oci/adm/models/remediation_run_stage_summary.rb +249 -0
- data/lib/oci/adm/models/remediation_run_stage_type.rb +15 -0
- data/lib/oci/adm/models/remediation_run_summary.rb +361 -0
- data/lib/oci/adm/models/scm_configuration.rb +234 -0
- data/lib/oci/adm/models/stage_summary.rb +225 -0
- data/lib/oci/adm/models/unknown_source_vulnerability_audit_source.rb +1 -1
- data/lib/oci/adm/models/update_knowledge_base_details.rb +2 -2
- data/lib/oci/adm/models/update_remediation_recipe_details.rb +267 -0
- data/lib/oci/adm/models/update_remediation_run_details.rb +187 -0
- data/lib/oci/adm/models/update_vulnerability_audit_details.rb +2 -2
- data/lib/oci/adm/models/usage_data_details.rb +176 -0
- data/lib/oci/adm/models/usage_data_via_object_storage_tuple_details.rb +191 -0
- data/lib/oci/adm/models/verify_configuration.rb +201 -0
- data/lib/oci/adm/models/verify_stage.rb +208 -0
- data/lib/oci/adm/models/vulnerability.rb +18 -4
- data/lib/oci/adm/models/vulnerability_audit.rb +67 -18
- data/lib/oci/adm/models/vulnerability_audit_collection.rb +2 -2
- data/lib/oci/adm/models/vulnerability_audit_configuration.rb +7 -5
- data/lib/oci/adm/models/vulnerability_audit_source.rb +2 -2
- data/lib/oci/adm/models/vulnerability_audit_summary.rb +14 -14
- data/lib/oci/adm/models/work_request.rb +6 -0
- data/lib/oci/adm/models/work_request_summary.rb +26 -4
- data/lib/oci/ai_speech/ai_speech.rb +2 -0
- data/lib/oci/ai_speech/models/create_transcription_job_details.rb +2 -2
- data/lib/oci/ai_speech/models/diarization.rb +171 -0
- data/lib/oci/ai_speech/models/transcription_job.rb +3 -3
- data/lib/oci/ai_speech/models/transcription_job_summary.rb +3 -3
- data/lib/oci/ai_speech/models/transcription_model_details.rb +17 -4
- data/lib/oci/ai_speech/models/transcription_settings.rb +150 -0
- data/lib/oci/ai_speech/models/update_transcription_job_details.rb +2 -2
- data/lib/oci/bds/bds.rb +8 -0
- data/lib/oci/bds/bds_client.rb +285 -0
- data/lib/oci/bds/bds_client_composite_operations.rb +150 -0
- data/lib/oci/bds/models/certificate_service_info_details.rb +151 -0
- data/lib/oci/bds/models/certificate_service_info_summary.rb +228 -0
- data/lib/oci/bds/models/disable_certificate_details.rb +165 -0
- data/lib/oci/bds/models/enable_certificate_details.rb +207 -0
- data/lib/oci/bds/models/host_cert_details.rb +179 -0
- data/lib/oci/bds/models/host_specific_certificate_details.rb +203 -0
- data/lib/oci/bds/models/operation_types.rb +2 -1
- data/lib/oci/bds/models/renew_certificate_details.rb +207 -0
- data/lib/oci/bds/models/service.rb +23 -0
- data/lib/oci/bds/models/work_request.rb +1 -0
- data/lib/oci/compute_cloud_at_customer/compute_cloud_at_customer_client.rb +2 -3
- data/lib/oci/core/compute_client.rb +759 -31
- data/lib/oci/core/compute_client_composite_operations.rb +189 -0
- data/lib/oci/core/core.rb +22 -0
- data/lib/oci/core/models/capacity_source.rb +191 -0
- data/lib/oci/core/models/capture_filter.rb +20 -4
- data/lib/oci/core/models/change_compute_capacity_topology_compartment_details.rb +157 -0
- data/lib/oci/core/models/compute_bare_metal_host.rb +325 -0
- data/lib/oci/core/models/compute_bare_metal_host_collection.rb +152 -0
- data/lib/oci/core/models/compute_bare_metal_host_summary.rb +298 -0
- data/lib/oci/core/models/compute_capacity_topology.rb +321 -0
- data/lib/oci/core/models/compute_capacity_topology_collection.rb +152 -0
- data/lib/oci/core/models/compute_capacity_topology_summary.rb +284 -0
- data/lib/oci/core/models/compute_hpc_island.rb +241 -0
- data/lib/oci/core/models/compute_hpc_island_collection.rb +152 -0
- data/lib/oci/core/models/compute_hpc_island_summary.rb +228 -0
- data/lib/oci/core/models/compute_network_block.rb +255 -0
- data/lib/oci/core/models/compute_network_block_collection.rb +152 -0
- data/lib/oci/core/models/compute_network_block_summary.rb +242 -0
- data/lib/oci/core/models/create_capacity_source_details.rb +172 -0
- data/lib/oci/core/models/create_capture_filter_details.rb +21 -5
- data/lib/oci/core/models/create_compute_capacity_topology_details.rb +240 -0
- data/lib/oci/core/models/create_dedicated_capacity_source_details.rb +165 -0
- data/lib/oci/core/models/dedicated_capacity_source.rb +165 -0
- data/lib/oci/core/models/flow_log_capture_filter_rule_details.rb +334 -0
- data/lib/oci/core/models/update_capacity_source_details.rb +172 -0
- data/lib/oci/core/models/update_capture_filter_details.rb +16 -1
- data/lib/oci/core/models/update_compute_capacity_topology_details.rb +207 -0
- data/lib/oci/core/models/update_dedicated_capacity_source_details.rb +147 -0
- data/lib/oci/core/virtual_network_client.rb +6 -0
- data/lib/oci/data_safe/data_safe.rb +60 -0
- data/lib/oci/data_safe/data_safe_client.rb +7342 -4278
- data/lib/oci/data_safe/data_safe_client_composite_operations.rb +1302 -361
- data/lib/oci/data_safe/models/apply_sdm_masking_policy_difference_details.rb +1 -1
- data/lib/oci/data_safe/models/audit_policy_category.rb +2 -1
- data/lib/oci/data_safe/models/audit_policy_dimensions.rb +1 -0
- data/lib/oci/data_safe/models/audit_specification.rb +1 -0
- data/lib/oci/data_safe/models/audit_trail_source.rb +13 -0
- data/lib/oci/data_safe/models/autonomous_database_details.rb +2 -2
- data/lib/oci/data_safe/models/change_database_security_config_compartment_details.rb +155 -0
- data/lib/oci/data_safe/models/change_security_policy_compartment_details.rb +155 -0
- data/lib/oci/data_safe/models/change_security_policy_deployment_compartment_details.rb +155 -0
- data/lib/oci/data_safe/models/change_sql_collection_compartment_details.rb +155 -0
- data/lib/oci/data_safe/models/change_sql_firewall_policy_compartment_details.rb +155 -0
- data/lib/oci/data_safe/models/change_target_database_compartment_details.rb +1 -1
- data/lib/oci/data_safe/models/column_summary.rb +1 -1
- data/lib/oci/data_safe/models/create_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/data_safe/models/create_discovery_job_details.rb +2 -2
- data/lib/oci/data_safe/models/create_masking_column_details.rb +1 -1
- data/lib/oci/data_safe/models/create_masking_policy_details.rb +1 -2
- data/lib/oci/data_safe/models/create_sensitive_data_model_details.rb +1 -1
- data/lib/oci/data_safe/models/create_sql_collection_details.rb +297 -0
- data/lib/oci/data_safe/models/create_target_alert_policy_association_details.rb +1 -1
- data/lib/oci/data_safe/models/database_cloud_service_details.rb +2 -2
- data/lib/oci/data_safe/models/database_security_config.rb +364 -0
- data/lib/oci/data_safe/models/database_security_config_collection.rb +151 -0
- data/lib/oci/data_safe/models/database_security_config_lifecycle_state.rb +18 -0
- data/lib/oci/data_safe/models/database_security_config_summary.rb +348 -0
- data/lib/oci/data_safe/models/discovery_job.rb +1 -1
- data/lib/oci/data_safe/models/discovery_job_result.rb +1 -1
- data/lib/oci/data_safe/models/discovery_job_result_summary.rb +1 -1
- data/lib/oci/data_safe/models/download_masking_log_details.rb +1 -1
- data/lib/oci/data_safe/models/entry_details.rb +192 -0
- data/lib/oci/data_safe/models/firewall_policy_entry_details.rb +177 -0
- data/lib/oci/data_safe/models/mask_data_details.rb +1 -2
- data/lib/oci/data_safe/models/masking_column.rb +1 -1
- data/lib/oci/data_safe/models/masking_column_summary.rb +1 -1
- data/lib/oci/data_safe/models/masking_policy.rb +1 -2
- data/lib/oci/data_safe/models/profile.rb +1 -1
- data/lib/oci/data_safe/models/profile_aggregation.rb +2 -32
- data/lib/oci/data_safe/models/profile_summary.rb +1 -1
- data/lib/oci/data_safe/models/report_definition.rb +4 -0
- data/lib/oci/data_safe/models/report_definition_data_source.rb +3 -1
- data/lib/oci/data_safe/models/report_definition_summary.rb +4 -0
- data/lib/oci/data_safe/models/role_summary.rb +2 -2
- data/lib/oci/data_safe/models/schema_summary.rb +1 -1
- data/lib/oci/data_safe/models/security_assessment.rb +3 -3
- data/lib/oci/data_safe/models/security_assessment_base_line_details.rb +2 -2
- data/lib/oci/data_safe/models/security_assessment_summary.rb +3 -3
- data/lib/oci/data_safe/models/security_policy.rb +320 -0
- data/lib/oci/data_safe/models/security_policy_collection.rb +151 -0
- data/lib/oci/data_safe/models/security_policy_deployment.rb +349 -0
- data/lib/oci/data_safe/models/security_policy_deployment_collection.rb +151 -0
- data/lib/oci/data_safe/models/security_policy_deployment_lifecycle_state.rb +18 -0
- data/lib/oci/data_safe/models/security_policy_deployment_summary.rb +349 -0
- data/lib/oci/data_safe/models/security_policy_entry_state.rb +230 -0
- data/lib/oci/data_safe/models/security_policy_entry_state_collection.rb +151 -0
- data/lib/oci/data_safe/models/security_policy_entry_state_deployment_status.rb +16 -0
- data/lib/oci/data_safe/models/security_policy_entry_state_summary.rb +217 -0
- data/lib/oci/data_safe/models/security_policy_lifecycle_state.rb +17 -0
- data/lib/oci/data_safe/models/security_policy_summary.rb +320 -0
- data/lib/oci/data_safe/models/sensitive_data_model.rb +1 -1
- data/lib/oci/data_safe/models/sql_collection.rb +445 -0
- data/lib/oci/data_safe/models/sql_collection_aggregation.rb +161 -0
- data/lib/oci/data_safe/models/sql_collection_analytics_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_collection_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_collection_dimensions.rb +196 -0
- data/lib/oci/data_safe/models/sql_collection_lifecycle_state.rb +20 -0
- data/lib/oci/data_safe/models/sql_collection_log_aggregation.rb +202 -0
- data/lib/oci/data_safe/models/sql_collection_log_dimensions.rb +183 -0
- data/lib/oci/data_safe/models/sql_collection_log_insights_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_collection_summary.rb +429 -0
- data/lib/oci/data_safe/models/sql_firewall_allowed_sql_aggregation.rb +161 -0
- data/lib/oci/data_safe/models/sql_firewall_allowed_sql_analytics_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_firewall_allowed_sql_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_firewall_allowed_sql_dimensions.rb +239 -0
- data/lib/oci/data_safe/models/sql_firewall_allowed_sql_lifecycle_state.rb +13 -0
- data/lib/oci/data_safe/models/sql_firewall_allowed_sql_summary.rb +418 -0
- data/lib/oci/data_safe/models/sql_firewall_config.rb +254 -0
- data/lib/oci/data_safe/models/sql_firewall_policy.rb +557 -0
- data/lib/oci/data_safe/models/sql_firewall_policy_aggregation.rb +161 -0
- data/lib/oci/data_safe/models/sql_firewall_policy_analytics_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_firewall_policy_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_firewall_policy_dimensions.rb +262 -0
- data/lib/oci/data_safe/models/sql_firewall_policy_lifecycle_state.rb +19 -0
- data/lib/oci/data_safe/models/sql_firewall_policy_summary.rb +499 -0
- data/lib/oci/data_safe/models/sql_firewall_violation_aggregation.rb +216 -0
- data/lib/oci/data_safe/models/sql_firewall_violation_aggregation_dimensions.rb +321 -0
- data/lib/oci/data_safe/models/sql_firewall_violation_analytics_collection.rb +151 -0
- data/lib/oci/data_safe/models/sql_firewall_violation_summary.rb +413 -0
- data/lib/oci/data_safe/models/sql_firewall_violations_collection.rb +151 -0
- data/lib/oci/data_safe/models/table_summary.rb +2 -1
- data/lib/oci/data_safe/models/target_alert_policy_association.rb +1 -1
- data/lib/oci/data_safe/models/target_alert_policy_association_summary.rb +1 -1
- data/lib/oci/data_safe/models/target_database.rb +2 -2
- data/lib/oci/data_safe/models/target_database_summary.rb +1 -1
- data/lib/oci/data_safe/models/update_data_safe_private_endpoint_details.rb +1 -1
- data/lib/oci/data_safe/models/update_database_security_config_details.rb +212 -0
- data/lib/oci/data_safe/models/update_masking_column_details.rb +1 -1
- data/lib/oci/data_safe/models/update_masking_policy_details.rb +1 -2
- data/lib/oci/data_safe/models/update_security_policy_deployment_details.rb +199 -0
- data/lib/oci/data_safe/models/update_security_policy_details.rb +199 -0
- data/lib/oci/data_safe/models/update_sql_collection_details.rb +199 -0
- data/lib/oci/data_safe/models/update_sql_firewall_config_details.rb +221 -0
- data/lib/oci/data_safe/models/update_sql_firewall_policy_details.rb +346 -0
- data/lib/oci/data_safe/models/update_target_alert_policy_association_details.rb +1 -1
- data/lib/oci/data_safe/models/user_assessment.rb +7 -7
- data/lib/oci/data_safe/models/user_assessment_base_line_details.rb +2 -2
- data/lib/oci/data_safe/models/user_assessment_summary.rb +9 -9
- data/lib/oci/data_safe/models/user_summary.rb +4 -4
- data/lib/oci/data_safe/models/work_request.rb +20 -0
- data/lib/oci/data_safe/models/work_request_summary.rb +20 -0
- data/lib/oci/data_science/data_science.rb +3 -0
- data/lib/oci/data_science/data_science_client.rb +51 -51
- data/lib/oci/data_science/models/create_job_details.rb +15 -1
- data/lib/oci/data_science/models/create_notebook_session_details.rb +18 -4
- data/lib/oci/data_science/models/fast_launch_job_config_summary.rb +1 -0
- data/lib/oci/data_science/models/file_storage_mount_configuration_details.rb +185 -0
- data/lib/oci/data_science/models/job.rb +15 -1
- data/lib/oci/data_science/models/job_run.rb +15 -1
- data/lib/oci/data_science/models/job_shape_summary.rb +1 -0
- data/lib/oci/data_science/models/model_deployment_shape_series.rb +2 -1
- data/lib/oci/data_science/models/model_deployment_shape_summary.rb +1 -0
- data/lib/oci/data_science/models/notebook_session.rb +15 -1
- data/lib/oci/data_science/models/notebook_session_shape_series.rb +2 -1
- data/lib/oci/data_science/models/notebook_session_shape_summary.rb +1 -0
- data/lib/oci/data_science/models/object_storage_mount_configuration_details.rb +187 -0
- data/lib/oci/data_science/models/storage_mount_configuration_details.rb +223 -0
- data/lib/oci/data_science/models/update_job_details.rb +15 -1
- data/lib/oci/data_science/models/update_notebook_session_details.rb +18 -4
- data/lib/oci/database/database.rb +21 -0
- data/lib/oci/database/database_client.rb +1057 -19
- data/lib/oci/database/database_client_composite_operations.rb +330 -0
- data/lib/oci/database/models/autonomous_container_database.rb +47 -4
- data/lib/oci/database/models/autonomous_container_database_backup_config.rb +1 -0
- data/lib/oci/database/models/autonomous_container_database_summary.rb +47 -4
- data/lib/oci/database/models/autonomous_patch.rb +40 -4
- data/lib/oci/database/models/autonomous_patch_summary.rb +40 -4
- data/lib/oci/database/models/autonomous_vm_cluster.rb +158 -4
- data/lib/oci/database/models/autonomous_vm_cluster_resource_usage.rb +435 -0
- data/lib/oci/database/models/autonomous_vm_cluster_summary.rb +158 -4
- data/lib/oci/database/models/cloud_autonomous_vm_cluster.rb +46 -4
- data/lib/oci/database/models/cloud_autonomous_vm_cluster_summary.rb +46 -4
- data/lib/oci/database/models/configure_saas_admin_user_details.rb +242 -0
- data/lib/oci/database/models/console_history.rb +291 -0
- data/lib/oci/database/models/console_history_collection.rb +151 -0
- data/lib/oci/database/models/console_history_summary.rb +294 -0
- data/lib/oci/database/models/convert_to_regular_pluggable_database_details.rb +184 -0
- data/lib/oci/database/models/create_autonomous_container_database_dataguard_association_details.rb +274 -0
- data/lib/oci/database/models/create_autonomous_container_database_details.rb +15 -1
- data/lib/oci/database/models/create_cloud_vm_cluster_details.rb +18 -4
- data/lib/oci/database/models/create_console_history_details.rb +192 -0
- data/lib/oci/database/models/create_database_from_another_database_details.rb +18 -4
- data/lib/oci/database/models/create_database_from_backup_details.rb +18 -4
- data/lib/oci/database/models/create_maintenance_run_details.rb +256 -0
- data/lib/oci/database/models/create_pluggable_database_creation_type_details.rb +200 -0
- data/lib/oci/database/models/create_pluggable_database_details.rb +43 -1
- data/lib/oci/database/models/create_pluggable_database_from_local_clone_details.rb +163 -0
- data/lib/oci/database/models/create_pluggable_database_from_relocate_details.rb +208 -0
- data/lib/oci/database/models/create_pluggable_database_from_remote_clone_details.rb +221 -0
- data/lib/oci/database/models/create_pluggable_database_refreshable_clone_details.rb +157 -0
- data/lib/oci/database/models/create_vm_cluster_details.rb +18 -4
- data/lib/oci/database/models/database_connection_string_profile.rb +18 -4
- data/lib/oci/database/models/db_system_upgrade_history_entry.rb +31 -3
- data/lib/oci/database/models/db_system_upgrade_history_entry_summary.rb +31 -3
- data/lib/oci/database/models/generate_autonomous_database_wallet_details.rb +18 -4
- data/lib/oci/database/models/local_clone_pluggable_database_details.rb +1 -0
- data/lib/oci/database/models/maintenance_run.rb +16 -1
- data/lib/oci/database/models/maintenance_run_summary.rb +16 -1
- data/lib/oci/database/models/peer_autonomous_container_database_backup_config.rb +1 -0
- data/lib/oci/database/models/pluggable_database.rb +42 -5
- data/lib/oci/database/models/pluggable_database_node_level_details.rb +192 -0
- data/lib/oci/database/models/pluggable_database_refreshable_clone_config.rb +155 -0
- data/lib/oci/database/models/pluggable_database_summary.rb +42 -5
- data/lib/oci/database/models/remote_clone_pluggable_database_details.rb +1 -0
- data/lib/oci/database/models/restore_database_details.rb +20 -4
- data/lib/oci/database/models/saas_admin_user_configuration.rb +245 -0
- data/lib/oci/database/models/saas_admin_user_status.rb +204 -0
- data/lib/oci/database/models/system_version_collection.rb +151 -0
- data/lib/oci/database/models/system_version_summary.rb +179 -0
- data/lib/oci/database/models/update_autonomous_container_database_details.rb +15 -1
- data/lib/oci/database/models/update_autonomous_vm_cluster_details.rb +46 -4
- data/lib/oci/database/models/update_cloud_autonomous_vm_cluster_details.rb +43 -1
- data/lib/oci/database/models/update_console_history_details.rb +191 -0
- data/lib/oci/database/models/upgrade_db_system_details.rb +15 -1
- data/lib/oci/database_management/database_management.rb +17 -0
- data/lib/oci/database_management/managed_my_sql_databases_client.rb +577 -0
- data/lib/oci/database_management/managed_my_sql_databases_client_composite_operations.rb +27 -0
- data/lib/oci/database_management/models/managed_my_sql_database.rb +217 -0
- data/lib/oci/database_management/models/managed_my_sql_database_collection.rb +151 -0
- data/lib/oci/database_management/models/managed_my_sql_database_summary.rb +217 -0
- data/lib/oci/database_management/models/mds_type.rb +14 -0
- data/lib/oci/database_management/models/my_sql_configuration_data_collection.rb +151 -0
- data/lib/oci/database_management/models/my_sql_configuration_data_summary.rb +383 -0
- data/lib/oci/database_management/models/my_sql_data_collection.rb +151 -0
- data/lib/oci/database_management/models/my_sql_data_summary.rb +573 -0
- data/lib/oci/database_management/models/my_sql_database_status.rb +14 -0
- data/lib/oci/database_management/models/my_sql_database_usage_metrics.rb +286 -0
- data/lib/oci/database_management/models/my_sql_deployment_type.rb +13 -0
- data/lib/oci/database_management/models/my_sql_fleet_by_category.rb +183 -0
- data/lib/oci/database_management/models/my_sql_fleet_metric_definition.rb +199 -0
- data/lib/oci/database_management/models/my_sql_fleet_metric_summary_definition.rb +189 -0
- data/lib/oci/database_management/models/my_sql_fleet_metrics.rb +197 -0
- data/lib/oci/database_management/models/my_sql_fleet_summary.rb +165 -0
- data/lib/oci/database_tools/database_tools.rb +60 -0
- data/lib/oci/database_tools/database_tools_client.rb +286 -19
- data/lib/oci/database_tools/database_tools_client_composite_operations.rb +160 -0
- data/lib/oci/database_tools/models/add_resource_lock_details.rb +202 -0
- data/lib/oci/database_tools/models/connection_type.rb +3 -1
- data/lib/oci/database_tools/models/create_database_tools_connection_details.rb +48 -5
- data/lib/oci/database_tools/models/create_database_tools_connection_generic_jdbc_details.rb +241 -0
- data/lib/oci/database_tools/models/create_database_tools_connection_my_sql_details.rb +12 -3
- data/lib/oci/database_tools/models/create_database_tools_connection_oracle_database_details.rb +28 -6
- data/lib/oci/database_tools/models/create_database_tools_connection_postgresql_details.rb +272 -0
- data/lib/oci/database_tools/models/create_database_tools_private_endpoint_details.rb +11 -1
- data/lib/oci/database_tools/models/create_database_tools_related_resource_postgresql_details.rb +177 -0
- data/lib/oci/database_tools/models/database_tools_connection.rb +52 -4
- data/lib/oci/database_tools/models/database_tools_connection_generic_jdbc.rb +264 -0
- data/lib/oci/database_tools/models/database_tools_connection_generic_jdbc_summary.rb +264 -0
- data/lib/oci/database_tools/models/database_tools_connection_my_sql.rb +10 -2
- data/lib/oci/database_tools/models/database_tools_connection_my_sql_summary.rb +10 -2
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database.rb +26 -5
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client.rb +194 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_details.rb +187 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_no_proxy.rb +146 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_no_proxy_details.rb +146 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_no_proxy_summary.rb +146 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_summary.rb +194 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_user_name.rb +186 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_user_name_details.rb +186 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_proxy_client_user_name_summary.rb +186 -0
- data/lib/oci/database_tools/models/database_tools_connection_oracle_database_summary.rb +26 -5
- data/lib/oci/database_tools/models/database_tools_connection_postgresql.rb +295 -0
- data/lib/oci/database_tools/models/database_tools_connection_postgresql_summary.rb +295 -0
- data/lib/oci/database_tools/models/database_tools_connection_summary.rb +52 -4
- data/lib/oci/database_tools/models/database_tools_endpoint_service.rb +1 -0
- data/lib/oci/database_tools/models/database_tools_endpoint_service_summary.rb +1 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_generic_jdbc.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_generic_jdbc_details.rb +183 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_generic_jdbc_summary.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_postgresql.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_postgresql_details.rb +183 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_postgresql_summary.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_generic_jdbc.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_generic_jdbc_details.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_generic_jdbc_summary.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_postgresql.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_postgresql_details.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_content_secret_id_postgresql_summary.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_generic_jdbc.rb +206 -0
- data/lib/oci/database_tools/models/database_tools_key_store_generic_jdbc_details.rb +199 -0
- data/lib/oci/database_tools/models/database_tools_key_store_generic_jdbc_summary.rb +206 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_generic_jdbc.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_generic_jdbc_details.rb +183 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_generic_jdbc_summary.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_postgresql.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_postgresql_details.rb +183 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_postgresql_summary.rb +190 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_generic_jdbc.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_generic_jdbc_details.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_generic_jdbc_summary.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_postgresql.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_postgresql_details.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_password_secret_id_postgresql_summary.rb +163 -0
- data/lib/oci/database_tools/models/database_tools_key_store_postgresql.rb +202 -0
- data/lib/oci/database_tools/models/database_tools_key_store_postgresql_details.rb +195 -0
- data/lib/oci/database_tools/models/database_tools_key_store_postgresql_summary.rb +202 -0
- data/lib/oci/database_tools/models/database_tools_private_endpoint.rb +12 -1
- data/lib/oci/database_tools/models/database_tools_private_endpoint_summary.rb +12 -1
- data/lib/oci/database_tools/models/database_tools_related_resource_postgresql.rb +184 -0
- data/lib/oci/database_tools/models/key_store_type_generic_jdbc.rb +18 -0
- data/lib/oci/database_tools/models/key_store_type_postgresql.rb +14 -0
- data/lib/oci/database_tools/models/lifecycle_state.rb +2 -1
- data/lib/oci/database_tools/models/proxy_authentication_type.rb +13 -0
- data/lib/oci/database_tools/models/related_resource_entity_type_postgresql.rb +12 -0
- data/lib/oci/database_tools/models/remove_resource_lock_details.rb +202 -0
- data/lib/oci/database_tools/models/resource_lock.rb +215 -0
- data/lib/oci/database_tools/models/runtime_support.rb +13 -0
- data/lib/oci/database_tools/models/update_database_tools_connection_details.rb +5 -1
- data/lib/oci/database_tools/models/update_database_tools_connection_generic_jdbc_details.rb +228 -0
- data/lib/oci/database_tools/models/update_database_tools_connection_oracle_database_details.rb +17 -4
- data/lib/oci/database_tools/models/update_database_tools_connection_postgresql_details.rb +259 -0
- data/lib/oci/database_tools/models/update_database_tools_related_resource_postgresql_details.rb +177 -0
- data/lib/oci/database_tools/models/validate_database_tools_connection_details.rb +4 -1
- data/lib/oci/database_tools/models/validate_database_tools_connection_my_sql_result.rb +1 -1
- data/lib/oci/database_tools/models/validate_database_tools_connection_oracle_database_result.rb +1 -1
- data/lib/oci/database_tools/models/validate_database_tools_connection_postgresql_details.rb +146 -0
- data/lib/oci/database_tools/models/validate_database_tools_connection_postgresql_result.rb +193 -0
- data/lib/oci/database_tools/models/validate_database_tools_connection_result.rb +3 -0
- data/lib/oci/disaster_recovery/disaster_recovery.rb +45 -0
- data/lib/oci/disaster_recovery/disaster_recovery_client.rb +124 -115
- data/lib/oci/disaster_recovery/disaster_recovery_client_composite_operations.rb +45 -45
- data/lib/oci/disaster_recovery/models/associate_dr_protection_group_details.rb +7 -5
- data/lib/oci/disaster_recovery/models/block_volume_attachment_details.rb +160 -0
- data/lib/oci/disaster_recovery/models/block_volume_mount_details.rb +159 -0
- data/lib/oci/disaster_recovery/models/cancel_dr_plan_execution_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/change_dr_protection_group_compartment_details.rb +3 -3
- data/lib/oci/disaster_recovery/models/compute_instance_movable_file_system_operation.rb +204 -0
- data/lib/oci/disaster_recovery/models/compute_instance_movable_vnic_mapping.rb +14 -12
- data/lib/oci/disaster_recovery/models/compute_instance_movable_vnic_mapping_details.rb +15 -12
- data/lib/oci/disaster_recovery/models/compute_instance_non_movable_block_volume_operation.rb +185 -0
- data/lib/oci/disaster_recovery/models/compute_instance_non_movable_file_system_operation.rb +193 -0
- data/lib/oci/disaster_recovery/models/compute_instance_vnic_mapping.rb +8 -6
- data/lib/oci/disaster_recovery/models/compute_instance_vnic_mapping_details.rb +14 -11
- data/lib/oci/disaster_recovery/models/create_block_volume_attachment_details.rb +160 -0
- data/lib/oci/disaster_recovery/models/create_block_volume_mount_details.rb +159 -0
- data/lib/oci/disaster_recovery/models/create_compute_instance_movable_file_system_operation_details.rb +204 -0
- data/lib/oci/disaster_recovery/models/create_compute_instance_non_movable_block_volume_operation_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/create_compute_instance_non_movable_file_system_operation_details.rb +193 -0
- data/lib/oci/disaster_recovery/models/create_dr_plan_details.rb +10 -6
- data/lib/oci/disaster_recovery/models/create_dr_plan_execution_details.rb +6 -4
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_details.rb +8 -6
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.rb +9 -8
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.rb +33 -16
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.rb +56 -5
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_database_details.rb +2 -2
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_details.rb +9 -3
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/create_file_system_mount_details.rb +159 -0
- data/lib/oci/disaster_recovery/models/create_file_system_unmount_details.rb +159 -0
- data/lib/oci/disaster_recovery/models/create_object_storage_log_location_details.rb +3 -3
- data/lib/oci/disaster_recovery/models/disassociate_dr_protection_group_default_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/disassociate_dr_protection_group_details.rb +2 -2
- data/lib/oci/disaster_recovery/models/dr_plan.rb +25 -20
- data/lib/oci/disaster_recovery/models/dr_plan_collection.rb +2 -2
- data/lib/oci/disaster_recovery/models/dr_plan_execution.rb +31 -25
- data/lib/oci/disaster_recovery/models/dr_plan_execution_collection.rb +2 -3
- data/lib/oci/disaster_recovery/models/dr_plan_execution_option_details.rb +9 -1
- data/lib/oci/disaster_recovery/models/dr_plan_execution_options.rb +8 -0
- data/lib/oci/disaster_recovery/models/dr_plan_execution_summary.rb +29 -23
- data/lib/oci/disaster_recovery/models/dr_plan_execution_type.rb +5 -1
- data/lib/oci/disaster_recovery/models/dr_plan_group.rb +8 -6
- data/lib/oci/disaster_recovery/models/dr_plan_group_execution.rb +11 -9
- data/lib/oci/disaster_recovery/models/dr_plan_step.rb +45 -6
- data/lib/oci/disaster_recovery/models/dr_plan_step_execution.rb +49 -10
- data/lib/oci/disaster_recovery/models/dr_plan_step_type.rb +39 -0
- data/lib/oci/disaster_recovery/models/dr_plan_summary.rb +28 -18
- data/lib/oci/disaster_recovery/models/dr_plan_type.rb +3 -1
- data/lib/oci/disaster_recovery/models/dr_plan_user_defined_step.rb +10 -12
- data/lib/oci/disaster_recovery/models/dr_protection_group.rb +54 -17
- data/lib/oci/disaster_recovery/models/dr_protection_group_collection.rb +2 -2
- data/lib/oci/disaster_recovery/models/dr_protection_group_lifecycle_state.rb +1 -0
- data/lib/oci/disaster_recovery/models/dr_protection_group_lifecycle_sub_state.rb +12 -0
- data/lib/oci/disaster_recovery/models/dr_protection_group_member.rb +8 -2
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.rb +1 -1
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_compute_instance.rb +8 -6
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.rb +32 -14
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.rb +55 -5
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_database.rb +4 -3
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_file_system.rb +186 -0
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_load_balancer.rb +187 -0
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.rb +187 -0
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_type.rb +4 -1
- data/lib/oci/disaster_recovery/models/dr_protection_group_member_volume_group.rb +1 -1
- data/lib/oci/disaster_recovery/models/dr_protection_group_summary.rb +53 -16
- data/lib/oci/disaster_recovery/models/file_system_export_mapping.rb +176 -0
- data/lib/oci/disaster_recovery/models/file_system_export_mapping_details.rb +175 -0
- data/lib/oci/disaster_recovery/models/file_system_mount_details.rb +158 -0
- data/lib/oci/disaster_recovery/models/file_system_unmount_details.rb +158 -0
- data/lib/oci/disaster_recovery/models/ignore_dr_plan_execution_details.rb +2 -2
- data/lib/oci/disaster_recovery/models/invoke_function_step.rb +1 -1
- data/lib/oci/disaster_recovery/models/load_balancer_backend_set_mapping.rb +197 -0
- data/lib/oci/disaster_recovery/models/load_balancer_backend_set_mapping_details.rb +198 -0
- data/lib/oci/disaster_recovery/models/network_load_balancer_backend_set_mapping.rb +197 -0
- data/lib/oci/disaster_recovery/models/network_load_balancer_backend_set_mapping_details.rb +198 -0
- data/lib/oci/disaster_recovery/models/object_storage_log_location.rb +4 -4
- data/lib/oci/disaster_recovery/models/object_storage_script_location.rb +4 -4
- data/lib/oci/disaster_recovery/models/pause_dr_plan_execution_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/resume_dr_plan_execution_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/retry_dr_plan_execution_details.rb +2 -2
- data/lib/oci/disaster_recovery/models/run_local_script_user_defined_step.rb +8 -3
- data/lib/oci/disaster_recovery/models/run_object_store_script_user_defined_step.rb +8 -3
- data/lib/oci/disaster_recovery/models/start_drill_execution_option_details.rb +187 -0
- data/lib/oci/disaster_recovery/models/start_drill_execution_options.rb +187 -0
- data/lib/oci/disaster_recovery/models/start_drill_precheck_execution_option_details.rb +168 -0
- data/lib/oci/disaster_recovery/models/start_drill_precheck_execution_options.rb +168 -0
- data/lib/oci/disaster_recovery/models/stop_drill_execution_option_details.rb +187 -0
- data/lib/oci/disaster_recovery/models/stop_drill_execution_options.rb +187 -0
- data/lib/oci/disaster_recovery/models/stop_drill_precheck_execution_option_details.rb +168 -0
- data/lib/oci/disaster_recovery/models/stop_drill_precheck_execution_options.rb +168 -0
- data/lib/oci/disaster_recovery/models/update_block_volume_attachment_details.rb +160 -0
- data/lib/oci/disaster_recovery/models/update_block_volume_mount_details.rb +159 -0
- data/lib/oci/disaster_recovery/models/update_compute_instance_movable_file_system_operation_details.rb +204 -0
- data/lib/oci/disaster_recovery/models/update_compute_instance_non_movable_block_volume_operation_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/update_compute_instance_non_movable_file_system_operation_details.rb +193 -0
- data/lib/oci/disaster_recovery/models/update_dr_plan_details.rb +5 -3
- data/lib/oci/disaster_recovery/models/update_dr_plan_execution_details.rb +5 -3
- data/lib/oci/disaster_recovery/models/update_dr_plan_group_details.rb +6 -4
- data/lib/oci/disaster_recovery/models/update_dr_plan_step_details.rb +4 -4
- data/lib/oci/disaster_recovery/models/update_dr_plan_user_defined_step_details.rb +14 -5
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_details.rb +7 -4
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.rb +9 -8
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.rb +33 -16
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.rb +56 -5
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_database_details.rb +2 -2
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_details.rb +9 -3
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.rb +185 -0
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/update_dr_protection_group_role_details.rb +2 -2
- data/lib/oci/disaster_recovery/models/update_file_system_mount_details.rb +158 -0
- data/lib/oci/disaster_recovery/models/update_file_system_unmount_details.rb +158 -0
- data/lib/oci/disaster_recovery/models/update_invoke_function_user_defined_step_details.rb +1 -1
- data/lib/oci/disaster_recovery/models/update_object_storage_log_location_details.rb +3 -3
- data/lib/oci/disaster_recovery/models/update_object_storage_script_location_details.rb +4 -4
- data/lib/oci/disaster_recovery/models/update_run_local_script_user_defined_step_details.rb +7 -2
- data/lib/oci/disaster_recovery/models/update_run_object_store_script_user_defined_step_details.rb +8 -1
- data/lib/oci/disaster_recovery/models/work_request.rb +3 -3
- data/lib/oci/disaster_recovery/models/work_request_error_collection.rb +1 -1
- data/lib/oci/disaster_recovery/models/work_request_log_entry.rb +1 -1
- data/lib/oci/disaster_recovery/models/work_request_resource.rb +1 -1
- data/lib/oci/disaster_recovery/models/work_request_summary.rb +4 -4
- data/lib/oci/disaster_recovery/models/work_request_summary_collection.rb +1 -1
- data/lib/oci/golden_gate/golden_gate.rb +33 -0
- data/lib/oci/golden_gate/golden_gate_client.rb +286 -6
- data/lib/oci/golden_gate/golden_gate_client_composite_operations.rb +104 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection.rb +262 -0
- data/lib/oci/golden_gate/models/amazon_kinesis_connection_summary.rb +243 -0
- data/lib/oci/golden_gate/models/amazon_redshift_connection.rb +276 -0
- data/lib/oci/golden_gate/models/amazon_redshift_connection_summary.rb +257 -0
- data/lib/oci/golden_gate/models/amazon_s3_connection.rb +5 -5
- data/lib/oci/golden_gate/models/amazon_s3_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/azure_data_lake_storage_connection.rb +5 -5
- data/lib/oci/golden_gate/models/azure_data_lake_storage_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/azure_synapse_connection.rb +5 -5
- data/lib/oci/golden_gate/models/azure_synapse_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/certificate.rb +448 -0
- data/lib/oci/golden_gate/models/certificate_collection.rb +152 -0
- data/lib/oci/golden_gate/models/certificate_lifecycle_state.rb +16 -0
- data/lib/oci/golden_gate/models/certificate_summary.rb +249 -0
- data/lib/oci/golden_gate/models/connection.rb +33 -19
- data/lib/oci/golden_gate/models/connection_summary.rb +33 -19
- data/lib/oci/golden_gate/models/connection_type.rb +8 -1
- data/lib/oci/golden_gate/models/create_amazon_kinesis_connection_details.rb +230 -0
- data/lib/oci/golden_gate/models/create_amazon_redshift_connection_details.rb +241 -0
- data/lib/oci/golden_gate/models/create_amazon_s3_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_azure_data_lake_storage_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_azure_synapse_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_certificate_details.rb +168 -0
- data/lib/oci/golden_gate/models/create_connection_details.rb +34 -20
- data/lib/oci/golden_gate/models/create_deployment_details.rb +3 -1
- data/lib/oci/golden_gate/models/create_elasticsearch_connection_details.rb +279 -0
- data/lib/oci/golden_gate/models/create_generic_connection_details.rb +215 -0
- data/lib/oci/golden_gate/models/create_golden_gate_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_google_big_query_connection_details.rb +216 -0
- data/lib/oci/golden_gate/models/create_google_cloud_storage_connection_details.rb +216 -0
- data/lib/oci/golden_gate/models/create_hdfs_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_java_message_service_connection_details.rb +113 -5
- data/lib/oci/golden_gate/models/create_kafka_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_kafka_schema_registry_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_microsoft_sqlserver_connection_details.rb +6 -6
- data/lib/oci/golden_gate/models/create_mongo_db_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_mysql_connection_details.rb +10 -11
- data/lib/oci/golden_gate/models/create_oci_object_storage_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_oracle_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_oracle_nosql_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/create_postgresql_connection_details.rb +9 -8
- data/lib/oci/golden_gate/models/create_redis_connection_details.rb +327 -0
- data/lib/oci/golden_gate/models/create_snowflake_connection_details.rb +5 -5
- data/lib/oci/golden_gate/models/deployment.rb +2 -0
- data/lib/oci/golden_gate/models/deployment_summary.rb +2 -0
- data/lib/oci/golden_gate/models/deployment_type.rb +3 -1
- data/lib/oci/golden_gate/models/deployment_type_summary.rb +46 -6
- data/lib/oci/golden_gate/models/deployment_version_summary.rb +2 -0
- data/lib/oci/golden_gate/models/elasticsearch_connection.rb +340 -0
- data/lib/oci/golden_gate/models/elasticsearch_connection_summary.rb +283 -0
- data/lib/oci/golden_gate/models/generic_connection.rb +262 -0
- data/lib/oci/golden_gate/models/generic_connection_summary.rb +243 -0
- data/lib/oci/golden_gate/models/golden_gate_connection.rb +5 -5
- data/lib/oci/golden_gate/models/golden_gate_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/google_big_query_connection.rb +247 -0
- data/lib/oci/golden_gate/models/google_big_query_connection_summary.rb +228 -0
- data/lib/oci/golden_gate/models/google_cloud_storage_connection.rb +247 -0
- data/lib/oci/golden_gate/models/google_cloud_storage_connection_summary.rb +228 -0
- data/lib/oci/golden_gate/models/hdfs_connection.rb +5 -5
- data/lib/oci/golden_gate/models/hdfs_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/java_message_service_connection.rb +76 -5
- data/lib/oci/golden_gate/models/java_message_service_connection_summary.rb +37 -5
- data/lib/oci/golden_gate/models/kafka_connection.rb +5 -5
- data/lib/oci/golden_gate/models/kafka_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/kafka_schema_registry_connection.rb +5 -5
- data/lib/oci/golden_gate/models/kafka_schema_registry_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/microsoft_sqlserver_connection.rb +7 -6
- data/lib/oci/golden_gate/models/microsoft_sqlserver_connection_summary.rb +6 -6
- data/lib/oci/golden_gate/models/mongo_db_connection.rb +5 -5
- data/lib/oci/golden_gate/models/mongo_db_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/mysql_connection.rb +5 -5
- data/lib/oci/golden_gate/models/mysql_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/oci_object_storage_connection.rb +5 -5
- data/lib/oci/golden_gate/models/oci_object_storage_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/operation_type.rb +3 -1
- data/lib/oci/golden_gate/models/oracle_connection.rb +5 -5
- data/lib/oci/golden_gate/models/oracle_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/oracle_nosql_connection.rb +5 -5
- data/lib/oci/golden_gate/models/oracle_nosql_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/postgresql_connection.rb +5 -5
- data/lib/oci/golden_gate/models/postgresql_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/redis_connection.rb +341 -0
- data/lib/oci/golden_gate/models/redis_connection_summary.rb +283 -0
- data/lib/oci/golden_gate/models/snowflake_connection.rb +5 -5
- data/lib/oci/golden_gate/models/snowflake_connection_summary.rb +5 -5
- data/lib/oci/golden_gate/models/technology_type.rb +8 -0
- data/lib/oci/golden_gate/models/update_amazon_kinesis_connection_details.rb +208 -0
- data/lib/oci/golden_gate/models/update_amazon_redshift_connection_details.rb +219 -0
- data/lib/oci/golden_gate/models/update_connection_details.rb +15 -1
- data/lib/oci/golden_gate/models/update_elasticsearch_connection_details.rb +257 -0
- data/lib/oci/golden_gate/models/update_generic_connection_details.rb +193 -0
- data/lib/oci/golden_gate/models/update_google_big_query_connection_details.rb +194 -0
- data/lib/oci/golden_gate/models/update_google_cloud_storage_connection_details.rb +194 -0
- data/lib/oci/golden_gate/models/update_java_message_service_connection_details.rb +109 -1
- data/lib/oci/golden_gate/models/update_microsoft_sqlserver_connection_details.rb +1 -1
- data/lib/oci/golden_gate/models/update_mysql_connection_details.rb +5 -6
- data/lib/oci/golden_gate/models/update_postgresql_connection_details.rb +4 -3
- data/lib/oci/golden_gate/models/update_redis_connection_details.rb +305 -0
- data/lib/oci/golden_gate/models/work_request.rb +2 -0
- data/lib/oci/identity_domains/identity_domains.rb +108 -0
- data/lib/oci/identity_domains/identity_domains_client.rb +12111 -4165
- data/lib/oci/identity_domains/models/app_extension_radius_app_app.rb +27 -1
- data/lib/oci/identity_domains/models/approval_workflow.rb +506 -0
- data/lib/oci/identity_domains/models/approval_workflow_approval_workflow_steps.rb +240 -0
- data/lib/oci/identity_domains/models/approval_workflow_assignment.rb +498 -0
- data/lib/oci/identity_domains/models/approval_workflow_assignment_approval_workflow.rb +270 -0
- data/lib/oci/identity_domains/models/approval_workflow_assignment_assigned_to.rb +270 -0
- data/lib/oci/identity_domains/models/approval_workflow_assignments.rb +203 -0
- data/lib/oci/identity_domains/models/approval_workflow_max_duration.rb +217 -0
- data/lib/oci/identity_domains/models/approval_workflow_step.rb +558 -0
- data/lib/oci/identity_domains/models/approval_workflow_step_approvers.rb +240 -0
- data/lib/oci/identity_domains/models/approval_workflow_steps.rb +203 -0
- data/lib/oci/identity_domains/models/approval_workflows.rb +203 -0
- data/lib/oci/identity_domains/models/authentication_factors_remover.rb +23 -4
- data/lib/oci/identity_domains/models/branding_setting.rb +841 -0
- data/lib/oci/identity_domains/models/branding_settings.rb +203 -0
- data/lib/oci/identity_domains/models/branding_settings_company_names.rb +175 -0
- data/lib/oci/identity_domains/models/branding_settings_default_company_names.rb +181 -0
- data/lib/oci/identity_domains/models/branding_settings_default_images.rb +198 -0
- data/lib/oci/identity_domains/models/branding_settings_default_login_texts.rb +181 -0
- data/lib/oci/identity_domains/models/branding_settings_images.rb +192 -0
- data/lib/oci/identity_domains/models/branding_settings_login_texts.rb +175 -0
- data/lib/oci/identity_domains/models/cloud_gate.rb +697 -0
- data/lib/oci/identity_domains/models/cloud_gate_ext_mappings.rb +397 -0
- data/lib/oci/identity_domains/models/cloud_gate_ext_servers.rb +253 -0
- data/lib/oci/identity_domains/models/cloud_gate_ext_upstream_server_groups.rb +259 -0
- data/lib/oci/identity_domains/models/cloud_gate_ext_upstream_servers.rb +311 -0
- data/lib/oci/identity_domains/models/cloud_gate_mapping.rb +620 -0
- data/lib/oci/identity_domains/models/cloud_gate_mapping_cloud_gate.rb +191 -0
- data/lib/oci/identity_domains/models/cloud_gate_mapping_gateway_app.rb +211 -0
- data/lib/oci/identity_domains/models/cloud_gate_mapping_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/cloud_gate_mapping_server.rb +191 -0
- data/lib/oci/identity_domains/models/cloud_gate_mapping_upstream_server_group.rb +218 -0
- data/lib/oci/identity_domains/models/cloud_gate_mappings.rb +203 -0
- data/lib/oci/identity_domains/models/cloud_gate_oauth_client.rb +217 -0
- data/lib/oci/identity_domains/models/cloud_gate_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/cloud_gate_server.rb +601 -0
- data/lib/oci/identity_domains/models/cloud_gate_server_cloud_gate.rb +191 -0
- data/lib/oci/identity_domains/models/cloud_gate_server_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/cloud_gate_servers.rb +203 -0
- data/lib/oci/identity_domains/models/cloud_gates.rb +203 -0
- data/lib/oci/identity_domains/models/condition.rb +612 -0
- data/lib/oci/identity_domains/models/condition_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/conditions.rb +203 -0
- data/lib/oci/identity_domains/models/defined_tags.rb +1 -0
- data/lib/oci/identity_domains/models/extension_social_identity_provider.rb +27 -1
- data/lib/oci/identity_domains/models/freeform_tags.rb +1 -0
- data/lib/oci/identity_domains/models/identity_provider_relay_idp_param_mappings.rb +203 -0
- data/lib/oci/identity_domains/models/me_password_changer.rb +1 -1
- data/lib/oci/identity_domains/models/my_authentication_factors_remover.rb +23 -4
- data/lib/oci/identity_domains/models/my_completed_approval.rb +648 -0
- data/lib/oci/identity_domains/models/my_completed_approvals.rb +203 -0
- data/lib/oci/identity_domains/models/my_pending_approval.rb +648 -0
- data/lib/oci/identity_domains/models/my_pending_approvals.rb +203 -0
- data/lib/oci/identity_domains/models/my_request.rb +113 -2
- data/lib/oci/identity_domains/models/my_request_approval_details.rb +297 -0
- data/lib/oci/identity_domains/models/my_request_requesting.rb +22 -1
- data/lib/oci/identity_domains/models/network_perimeter.rb +514 -0
- data/lib/oci/identity_domains/models/network_perimeter_ip_addresses.rb +240 -0
- data/lib/oci/identity_domains/models/network_perimeter_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/network_perimeters.rb +203 -0
- data/lib/oci/identity_domains/models/notification_setting.rb +611 -0
- data/lib/oci/identity_domains/models/notification_settings.rb +203 -0
- data/lib/oci/identity_domains/models/notification_settings_event_settings.rb +185 -0
- data/lib/oci/identity_domains/models/notification_settings_from_email_address.rb +273 -0
- data/lib/oci/identity_domains/models/notification_settings_search_request.rb +198 -0
- data/lib/oci/identity_domains/models/o_auth_client_certificate.rb +675 -0
- data/lib/oci/identity_domains/models/o_auth_client_certificate_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/o_auth_client_certificates.rb +203 -0
- data/lib/oci/identity_domains/models/o_auth_partner_certificate.rb +675 -0
- data/lib/oci/identity_domains/models/o_auth_partner_certificate_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/o_auth_partner_certificates.rb +203 -0
- data/lib/oci/identity_domains/models/policies.rb +203 -0
- data/lib/oci/identity_domains/models/policy.rb +567 -0
- data/lib/oci/identity_domains/models/policy_policy_type.rb +189 -0
- data/lib/oci/identity_domains/models/policy_rules.rb +222 -0
- data/lib/oci/identity_domains/models/policy_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/rule.rb +625 -0
- data/lib/oci/identity_domains/models/rule_condition_group.rb +250 -0
- data/lib/oci/identity_domains/models/rule_policy_type.rb +189 -0
- data/lib/oci/identity_domains/models/rule_return.rb +202 -0
- data/lib/oci/identity_domains/models/rule_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/rules.rb +203 -0
- data/lib/oci/identity_domains/models/schema.rb +358 -0
- data/lib/oci/identity_domains/models/schema_attributes.rb +2135 -0
- data/lib/oci/identity_domains/models/schema_idcs_complex_attribute_name_mappings.rb +206 -0
- data/lib/oci/identity_domains/models/schema_idcs_csv_attribute_name_mappings.rb +325 -0
- data/lib/oci/identity_domains/models/schema_localized_canonical_values.rb +202 -0
- data/lib/oci/identity_domains/models/schema_localized_display_name.rb +187 -0
- data/lib/oci/identity_domains/models/schema_referenced_resource_type_unique_attribute_name_mappings.rb +187 -0
- data/lib/oci/identity_domains/models/schema_resolve_value_using_resource_type.rb +187 -0
- data/lib/oci/identity_domains/models/schema_search_request.rb +263 -0
- data/lib/oci/identity_domains/models/schema_sub_attributes.rb +1655 -0
- data/lib/oci/identity_domains/models/schemas.rb +203 -0
- data/lib/oci/identity_domains/models/self_registration_profile.rb +884 -0
- data/lib/oci/identity_domains/models/self_registration_profile_after_submit_text.rb +201 -0
- data/lib/oci/identity_domains/models/self_registration_profile_consent_text.rb +201 -0
- data/lib/oci/identity_domains/models/self_registration_profile_default_groups.rb +199 -0
- data/lib/oci/identity_domains/models/self_registration_profile_display_name.rb +201 -0
- data/lib/oci/identity_domains/models/self_registration_profile_email_template.rb +209 -0
- data/lib/oci/identity_domains/models/self_registration_profile_footer_text.rb +201 -0
- data/lib/oci/identity_domains/models/self_registration_profile_header_text.rb +201 -0
- data/lib/oci/identity_domains/models/self_registration_profile_search_request.rb +273 -0
- data/lib/oci/identity_domains/models/self_registration_profile_user_attributes.rb +244 -0
- data/lib/oci/identity_domains/models/self_registration_profiles.rb +203 -0
- data/lib/oci/identity_domains/models/setting.rb +1610 -0
- data/lib/oci/identity_domains/models/settings.rb +203 -0
- data/lib/oci/identity_domains/models/settings_certificate_validation.rb +394 -0
- data/lib/oci/identity_domains/models/settings_cloud_gate_cors_settings.rb +278 -0
- data/lib/oci/identity_domains/models/settings_company_names.rb +177 -0
- data/lib/oci/identity_domains/models/settings_default_company_names.rb +181 -0
- data/lib/oci/identity_domains/models/settings_default_images.rb +198 -0
- data/lib/oci/identity_domains/models/settings_default_login_texts.rb +182 -0
- data/lib/oci/identity_domains/models/settings_images.rb +192 -0
- data/lib/oci/identity_domains/models/settings_login_texts.rb +178 -0
- data/lib/oci/identity_domains/models/settings_purge_configs.rb +187 -0
- data/lib/oci/identity_domains/models/settings_search_request.rb +198 -0
- data/lib/oci/identity_domains/models/settings_tenant_custom_claims.rb +330 -0
- data/lib/oci/identity_domains/models/user_ext_risk_scores.rb +2 -0
- data/lib/oci/jms/java_management_service_client.rb +730 -72
- data/lib/oci/jms/java_management_service_client_composite_operations.rb +251 -0
- data/lib/oci/jms/jms.rb +23 -0
- data/lib/oci/jms/models/agent.rb +247 -0
- data/lib/oci/jms/models/agent_type.rb +13 -0
- data/lib/oci/jms/models/announcement_summary.rb +1 -1
- data/lib/oci/jms/models/blocklist.rb +7 -0
- data/lib/oci/jms/models/blocklist_entry.rb +7 -0
- data/lib/oci/jms/models/create_blocklist_details.rb +8 -1
- data/lib/oci/jms/models/create_drs_file_details.rb +179 -0
- data/lib/oci/jms/models/disable_drs_details.rb +156 -0
- data/lib/oci/jms/models/drs_file.rb +259 -0
- data/lib/oci/jms/models/drs_file_collection.rb +151 -0
- data/lib/oci/jms/models/drs_file_sort_by.rb +17 -0
- data/lib/oci/jms/models/drs_file_status.rb +15 -0
- data/lib/oci/jms/models/drs_file_summary.rb +259 -0
- data/lib/oci/jms/models/drs_target.rb +156 -0
- data/lib/oci/jms/models/enable_drs_details.rb +156 -0
- data/lib/oci/jms/models/export_duration.rb +14 -0
- data/lib/oci/jms/models/export_frequency.rb +14 -0
- data/lib/oci/jms/models/export_resources.rb +14 -0
- data/lib/oci/jms/models/export_run_status.rb +17 -0
- data/lib/oci/jms/models/export_setting.rb +386 -0
- data/lib/oci/jms/models/export_status.rb +223 -0
- data/lib/oci/jms/models/fleet.rb +16 -1
- data/lib/oci/jms/models/fleet_agent_configuration.rb +15 -1
- data/lib/oci/jms/models/fleet_summary.rb +16 -1
- data/lib/oci/jms/models/java_artifact.rb +119 -4
- data/lib/oci/jms/models/java_family.rb +53 -4
- data/lib/oci/jms/models/java_family_summary.rb +34 -4
- data/lib/oci/jms/models/java_migration_analysis_result.rb +15 -1
- data/lib/oci/jms/models/java_migration_analysis_result_summary.rb +15 -1
- data/lib/oci/jms/models/java_release.rb +34 -4
- data/lib/oci/jms/models/java_release_summary.rb +34 -4
- data/lib/oci/jms/models/lcm_work_item_details.rb +166 -0
- data/lib/oci/jms/models/manage_drs_details.rb +153 -0
- data/lib/oci/jms/models/managed_instance_usage.rb +45 -1
- data/lib/oci/jms/models/operation_type.rb +8 -1
- data/lib/oci/jms/models/patch_detail.rb +169 -0
- data/lib/oci/jms/models/performance_tuning_analysis.rb +1 -1
- data/lib/oci/jms/models/plugin.rb +162 -0
- data/lib/oci/jms/models/request_crypto_analyses_details.rb +2 -2
- data/lib/oci/jms/models/update_drs_file_details.rb +179 -0
- data/lib/oci/jms/models/update_export_setting_details.rb +306 -0
- data/lib/oci/jms/models/update_fleet_agent_configuration_details.rb +17 -4
- data/lib/oci/jms/models/work_item_details.rb +7 -0
- data/lib/oci/jms/models/work_item_type.rb +6 -1
- data/lib/oci/jms/models/work_request.rb +7 -0
- data/lib/oci/jms_java_downloads/java_download_client.rb +1812 -0
- data/lib/oci/jms_java_downloads/java_download_client_composite_operations.rb +392 -0
- data/lib/oci/jms_java_downloads/jms_java_downloads.rb +74 -0
- data/lib/oci/jms_java_downloads/models/action_type.rb +17 -0
- data/lib/oci/jms_java_downloads/models/aggregation_sort_by.rb +13 -0
- data/lib/oci/jms_java_downloads/models/checksum_type.rb +12 -0
- data/lib/oci/jms_java_downloads/models/create_java_download_report_details.rb +269 -0
- data/lib/oci/jms_java_downloads/models/create_java_download_token_details.rb +267 -0
- data/lib/oci/jms_java_downloads/models/create_java_license_acceptance_record_details.rb +210 -0
- data/lib/oci/jms_java_downloads/models/download_url.rb +189 -0
- data/lib/oci/jms_java_downloads/models/download_url_type.rb +13 -0
- data/lib/oci/jms_java_downloads/models/generate_artifact_download_url_details.rb +155 -0
- data/lib/oci/jms_java_downloads/models/java_download_count_aggregation.rb +249 -0
- data/lib/oci/jms_java_downloads/models/java_download_count_aggregation_collection.rb +186 -0
- data/lib/oci/jms_java_downloads/models/java_download_count_aggregation_type.rb +14 -0
- data/lib/oci/jms_java_downloads/models/java_download_record.rb +274 -0
- data/lib/oci/jms_java_downloads/models/java_download_record_collection.rb +152 -0
- data/lib/oci/jms_java_downloads/models/java_download_record_sort_by.rb +14 -0
- data/lib/oci/jms_java_downloads/models/java_download_record_summary.rb +277 -0
- data/lib/oci/jms_java_downloads/models/java_download_report.rb +386 -0
- data/lib/oci/jms_java_downloads/models/java_download_report_collection.rb +152 -0
- data/lib/oci/jms_java_downloads/models/java_download_report_format.rb +12 -0
- data/lib/oci/jms_java_downloads/models/java_download_report_sort_by.rb +13 -0
- data/lib/oci/jms_java_downloads/models/java_download_report_summary.rb +388 -0
- data/lib/oci/jms_java_downloads/models/java_download_token.rb +447 -0
- data/lib/oci/jms_java_downloads/models/java_download_token_collection.rb +152 -0
- data/lib/oci/jms_java_downloads/models/java_download_token_summary.rb +450 -0
- data/lib/oci/jms_java_downloads/models/java_license.rb +202 -0
- data/lib/oci/jms_java_downloads/models/java_license_acceptance_record.rb +376 -0
- data/lib/oci/jms_java_downloads/models/java_license_acceptance_record_collection.rb +152 -0
- data/lib/oci/jms_java_downloads/models/java_license_acceptance_record_summary.rb +380 -0
- data/lib/oci/jms_java_downloads/models/java_license_collection.rb +152 -0
- data/lib/oci/jms_java_downloads/models/java_license_summary.rb +204 -0
- data/lib/oci/jms_java_downloads/models/license_acceptance_sort_by.rb +14 -0
- data/lib/oci/jms_java_downloads/models/license_acceptance_status.rb +13 -0
- data/lib/oci/jms_java_downloads/models/license_sort_by.rb +13 -0
- data/lib/oci/jms_java_downloads/models/license_type.rb +14 -0
- data/lib/oci/jms_java_downloads/models/lifecycle_state.rb +18 -0
- data/lib/oci/jms_java_downloads/models/operation_status.rb +19 -0
- data/lib/oci/jms_java_downloads/models/operation_type.rb +16 -0
- data/lib/oci/jms_java_downloads/models/principal.rb +175 -0
- data/lib/oci/jms_java_downloads/models/request_summarized_java_download_counts_details.rb +321 -0
- data/lib/oci/jms_java_downloads/models/sort_order.rb +13 -0
- data/lib/oci/jms_java_downloads/models/token_lifecycle_details.rb +14 -0
- data/lib/oci/jms_java_downloads/models/token_sort_by.rb +16 -0
- data/lib/oci/jms_java_downloads/models/update_java_download_token_details.rb +239 -0
- data/lib/oci/jms_java_downloads/models/update_java_license_acceptance_record_details.rb +168 -0
- data/lib/oci/jms_java_downloads/models/work_request.rb +309 -0
- data/lib/oci/jms_java_downloads/models/work_request_error.rb +174 -0
- data/lib/oci/jms_java_downloads/models/work_request_error_collection.rb +151 -0
- data/lib/oci/jms_java_downloads/models/work_request_log_entry.rb +161 -0
- data/lib/oci/jms_java_downloads/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/jms_java_downloads/models/work_request_resource.rb +221 -0
- data/lib/oci/jms_java_downloads/models/work_request_summary.rb +309 -0
- data/lib/oci/jms_java_downloads/models/work_request_summary_collection.rb +151 -0
- data/lib/oci/jms_java_downloads/util.rb +3 -0
- data/lib/oci/lockbox/lockbox.rb +1 -0
- data/lib/oci/lockbox/lockbox_client.rb +147 -1
- data/lib/oci/lockbox/models/access_context_attribute.rb +14 -4
- data/lib/oci/lockbox/models/access_request.rb +51 -4
- data/lib/oci/lockbox/models/access_request_summary.rb +17 -1
- data/lib/oci/lockbox/models/approval_template.rb +0 -1
- data/lib/oci/lockbox/models/approval_template_summary.rb +0 -1
- data/lib/oci/lockbox/models/create_approval_template_details.rb +0 -1
- data/lib/oci/lockbox/models/create_lockbox_details.rb +17 -3
- data/lib/oci/lockbox/models/export_access_requests_details.rb +183 -0
- data/lib/oci/lockbox/models/lockbox.rb +31 -3
- data/lib/oci/lockbox/models/lockbox_summary.rb +17 -3
- data/lib/oci/lockbox/models/operation_status.rb +2 -1
- data/lib/oci/lockbox/models/operation_type.rb +4 -1
- data/lib/oci/lockbox/models/work_request.rb +4 -0
- data/lib/oci/lockbox/models/work_request_summary.rb +4 -0
- data/lib/oci/log_analytics/log_analytics_client.rb +91 -0
- data/lib/oci/log_analytics/models/export_details.rb +7 -8
- data/lib/oci/logging/logging.rb +4 -0
- data/lib/oci/logging/logging_management_client.rb +1 -4
- data/lib/oci/logging/models/grok_pattern.rb +3 -3
- data/lib/oci/logging/models/operational_metrics_configuration.rb +161 -0
- data/lib/oci/logging/models/operational_metrics_destination.rb +155 -0
- data/lib/oci/logging/models/operational_metrics_record_input.rb +165 -0
- data/lib/oci/logging/models/operational_metrics_source.rb +193 -0
- data/lib/oci/logging/models/parameter.rb +2 -34
- data/lib/oci/logging/models/unified_agent_cri_parser.rb +2 -2
- data/lib/oci/logging/models/unified_agent_csv_parser.rb +2 -2
- data/lib/oci/logging/models/unified_agent_grok_parser.rb +4 -4
- data/lib/oci/logging/models/unified_agent_logging_destination.rb +17 -4
- data/lib/oci/logging/models/unified_agent_logging_source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_msgpack_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_multiline_grok_parser.rb +3 -3
- data/lib/oci/logging/models/unified_agent_parser.rb +5 -5
- data/lib/oci/logging/models/unified_agent_regex_parser.rb +1 -1
- data/lib/oci/logging/models/unified_agent_syslog_parser.rb +4 -4
- data/lib/oci/logging/models/unified_agent_tail_log_source.rb +1 -1
- data/lib/oci/logging/models/unified_agent_tsv_parser.rb +2 -2
- data/lib/oci/logging/models/unified_json_parser.rb +1 -1
- data/lib/oci/marketplace/marketplace.rb +15 -0
- data/lib/oci/marketplace/marketplace_client.rb +360 -0
- data/lib/oci/marketplace/marketplace_client_composite_operations.rb +51 -0
- data/lib/oci/marketplace/models/container_listing_package.rb +178 -0
- data/lib/oci/marketplace/models/create_publication_package.rb +3 -1
- data/lib/oci/marketplace/models/export_package_details.rb +169 -0
- data/lib/oci/marketplace/models/kubernetes_listing_package.rb +178 -0
- data/lib/oci/marketplace/models/listing.rb +2 -0
- data/lib/oci/marketplace/models/listing_package.rb +4 -0
- data/lib/oci/marketplace/models/listing_package_summary.rb +2 -0
- data/lib/oci/marketplace/models/listing_summary.rb +2 -0
- data/lib/oci/marketplace/models/operation_status.rb +15 -0
- data/lib/oci/marketplace/models/operation_type.rb +12 -0
- data/lib/oci/marketplace/models/package_type_enum.rb +3 -1
- data/lib/oci/marketplace/models/publication.rb +2 -0
- data/lib/oci/marketplace/models/publication_package.rb +2 -0
- data/lib/oci/marketplace/models/publication_package_summary.rb +2 -0
- data/lib/oci/marketplace/models/publication_summary.rb +2 -0
- data/lib/oci/marketplace/models/work_request.rb +327 -0
- data/lib/oci/marketplace/models/work_request_action_type.rb +18 -0
- data/lib/oci/marketplace/models/work_request_collection.rb +151 -0
- data/lib/oci/marketplace/models/work_request_error.rb +175 -0
- data/lib/oci/marketplace/models/work_request_error_collection.rb +152 -0
- data/lib/oci/marketplace/models/work_request_log_entry.rb +162 -0
- data/lib/oci/marketplace/models/work_request_log_entry_collection.rb +152 -0
- data/lib/oci/marketplace/models/work_request_resource.rb +233 -0
- data/lib/oci/marketplace/models/work_request_resource_metadata_key.rb +12 -0
- data/lib/oci/marketplace/models/work_request_summary.rb +330 -0
- data/lib/oci/marketplace_publisher/marketplace_publisher.rb +128 -0
- data/lib/oci/marketplace_publisher/marketplace_publisher_client.rb +4790 -0
- data/lib/oci/marketplace_publisher/marketplace_publisher_client_composite_operations.rb +1698 -0
- data/lib/oci/marketplace_publisher/models/action_type.rb +17 -0
- data/lib/oci/marketplace_publisher/models/artifact.rb +407 -0
- data/lib/oci/marketplace_publisher/models/artifact_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/artifact_summary.rb +319 -0
- data/lib/oci/marketplace_publisher/models/artifact_type_enum.rb +13 -0
- data/lib/oci/marketplace_publisher/models/category.rb +243 -0
- data/lib/oci/marketplace_publisher/models/category_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/category_summary.rb +224 -0
- data/lib/oci/marketplace_publisher/models/change_artifact_compartment_details.rb +155 -0
- data/lib/oci/marketplace_publisher/models/change_listing_compartment_details.rb +155 -0
- data/lib/oci/marketplace_publisher/models/change_term_compartment_details.rb +155 -0
- data/lib/oci/marketplace_publisher/models/container_image_artifact.rb +212 -0
- data/lib/oci/marketplace_publisher/models/container_image_details.rb +266 -0
- data/lib/oci/marketplace_publisher/models/container_package.rb +218 -0
- data/lib/oci/marketplace_publisher/models/create_artifact_details.rb +245 -0
- data/lib/oci/marketplace_publisher/models/create_container_image_artifact_details.rb +180 -0
- data/lib/oci/marketplace_publisher/models/create_container_image_details.rb +169 -0
- data/lib/oci/marketplace_publisher/models/create_helm_chart_image_details.rb +183 -0
- data/lib/oci/marketplace_publisher/models/create_kubernetes_image_artifact_details.rb +194 -0
- data/lib/oci/marketplace_publisher/models/create_listing_details.rb +250 -0
- data/lib/oci/marketplace_publisher/models/create_listing_revision_attachment_details.rb +244 -0
- data/lib/oci/marketplace_publisher/models/create_listing_revision_details.rb +395 -0
- data/lib/oci/marketplace_publisher/models/create_listing_revision_note_details.rb +201 -0
- data/lib/oci/marketplace_publisher/models/create_listing_revision_package_details.rb +281 -0
- data/lib/oci/marketplace_publisher/models/create_related_document_attachment_details.rb +184 -0
- data/lib/oci/marketplace_publisher/models/create_screen_shot_attachment_details.rb +167 -0
- data/lib/oci/marketplace_publisher/models/create_term_details.rb +197 -0
- data/lib/oci/marketplace_publisher/models/create_video_attachment_details.rb +184 -0
- data/lib/oci/marketplace_publisher/models/create_video_details.rb +155 -0
- data/lib/oci/marketplace_publisher/models/helm_chart_image_details.rb +280 -0
- data/lib/oci/marketplace_publisher/models/helm_chart_package.rb +218 -0
- data/lib/oci/marketplace_publisher/models/kubernetes_image_artifact.rb +226 -0
- data/lib/oci/marketplace_publisher/models/language_item.rb +161 -0
- data/lib/oci/marketplace_publisher/models/listing.rb +394 -0
- data/lib/oci/marketplace_publisher/models/listing_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/listing_revision.rb +664 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_attachment.rb +367 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_attachment_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_attachment_summary.rb +333 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_icon_attachment.rb +169 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_note.rb +344 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_note_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_note_summary.rb +305 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_package.rb +499 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_package_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_package_summary.rb +363 -0
- data/lib/oci/marketplace_publisher/models/listing_revision_summary.rb +401 -0
- data/lib/oci/marketplace_publisher/models/listing_summary.rb +337 -0
- data/lib/oci/marketplace_publisher/models/listing_type.rb +12 -0
- data/lib/oci/marketplace_publisher/models/market.rb +271 -0
- data/lib/oci/marketplace_publisher/models/market_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/market_summary.rb +237 -0
- data/lib/oci/marketplace_publisher/models/named_link.rb +161 -0
- data/lib/oci/marketplace_publisher/models/operation_status.rb +19 -0
- data/lib/oci/marketplace_publisher/models/operation_type.rb +26 -0
- data/lib/oci/marketplace_publisher/models/opn_membership.rb +232 -0
- data/lib/oci/marketplace_publisher/models/package_type.rb +13 -0
- data/lib/oci/marketplace_publisher/models/private_offer_account_details.rb +161 -0
- data/lib/oci/marketplace_publisher/models/product.rb +243 -0
- data/lib/oci/marketplace_publisher/models/product_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/product_summary.rb +223 -0
- data/lib/oci/marketplace_publisher/models/publication_status.rb +14 -0
- data/lib/oci/marketplace_publisher/models/publish_listing_revision_as_private_details.rb +155 -0
- data/lib/oci/marketplace_publisher/models/publisher.rb +525 -0
- data/lib/oci/marketplace_publisher/models/publisher_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/publisher_summary.rb +448 -0
- data/lib/oci/marketplace_publisher/models/related_document_attachment.rb +260 -0
- data/lib/oci/marketplace_publisher/models/screen_shot_attachment.rb +221 -0
- data/lib/oci/marketplace_publisher/models/sort_order.rb +13 -0
- data/lib/oci/marketplace_publisher/models/submit_listing_revision_for_review_details.rb +169 -0
- data/lib/oci/marketplace_publisher/models/support_contact.rb +181 -0
- data/lib/oci/marketplace_publisher/models/term.rb +334 -0
- data/lib/oci/marketplace_publisher/models/term_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/term_summary.rb +282 -0
- data/lib/oci/marketplace_publisher/models/term_version.rb +373 -0
- data/lib/oci/marketplace_publisher/models/term_version_attachment.rb +169 -0
- data/lib/oci/marketplace_publisher/models/term_version_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/term_version_summary.rb +285 -0
- data/lib/oci/marketplace_publisher/models/update_artifact_details.rb +246 -0
- data/lib/oci/marketplace_publisher/models/update_container_image_artifact_details.rb +179 -0
- data/lib/oci/marketplace_publisher/models/update_container_image_details.rb +169 -0
- data/lib/oci/marketplace_publisher/models/update_helm_chart_image_details.rb +183 -0
- data/lib/oci/marketplace_publisher/models/update_kubernetes_image_artifact_details.rb +193 -0
- data/lib/oci/marketplace_publisher/models/update_listing_details.rb +173 -0
- data/lib/oci/marketplace_publisher/models/update_listing_revision_attachment_details.rb +230 -0
- data/lib/oci/marketplace_publisher/models/update_listing_revision_details.rb +371 -0
- data/lib/oci/marketplace_publisher/models/update_listing_revision_package_details.rb +267 -0
- data/lib/oci/marketplace_publisher/models/update_related_document_attachment_details.rb +180 -0
- data/lib/oci/marketplace_publisher/models/update_screen_shot_attachment_details.rb +163 -0
- data/lib/oci/marketplace_publisher/models/update_term_details.rb +173 -0
- data/lib/oci/marketplace_publisher/models/update_term_version_details.rb +187 -0
- data/lib/oci/marketplace_publisher/models/update_video_attachment_details.rb +163 -0
- data/lib/oci/marketplace_publisher/models/upload_data.rb +179 -0
- data/lib/oci/marketplace_publisher/models/validation_status.rb +14 -0
- data/lib/oci/marketplace_publisher/models/version_details.rb +175 -0
- data/lib/oci/marketplace_publisher/models/video_attachment.rb +207 -0
- data/lib/oci/marketplace_publisher/models/work_request.rb +322 -0
- data/lib/oci/marketplace_publisher/models/work_request_error.rb +174 -0
- data/lib/oci/marketplace_publisher/models/work_request_error_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/work_request_log_entry.rb +161 -0
- data/lib/oci/marketplace_publisher/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/models/work_request_resource.rb +231 -0
- data/lib/oci/marketplace_publisher/models/work_request_resource_metadata_key.rb +12 -0
- data/lib/oci/marketplace_publisher/models/work_request_summary.rb +322 -0
- data/lib/oci/marketplace_publisher/models/work_request_summary_collection.rb +151 -0
- data/lib/oci/marketplace_publisher/util.rb +3 -0
- data/lib/oci/monitoring/models/alarm.rb +25 -18
- data/lib/oci/monitoring/models/alarm_dimension_states_collection.rb +2 -2
- data/lib/oci/monitoring/models/alarm_history_collection.rb +1 -1
- data/lib/oci/monitoring/models/alarm_status_summary.rb +4 -4
- data/lib/oci/monitoring/models/alarm_summary.rb +17 -10
- data/lib/oci/monitoring/models/create_alarm_details.rb +21 -15
- data/lib/oci/monitoring/models/datapoint.rb +1 -0
- data/lib/oci/monitoring/models/list_metrics_details.rb +1 -0
- data/lib/oci/monitoring/models/metric.rb +2 -1
- data/lib/oci/monitoring/models/metric_data.rb +6 -4
- data/lib/oci/monitoring/models/metric_data_details.rb +1 -0
- data/lib/oci/monitoring/models/summarize_metrics_data_details.rb +3 -3
- data/lib/oci/monitoring/models/suppression.rb +2 -1
- data/lib/oci/monitoring/models/update_alarm_details.rb +21 -16
- data/lib/oci/monitoring/monitoring_client.rb +120 -36
- data/lib/oci/mysql/db_system_client.rb +14 -0
- data/lib/oci/mysql/models/create_db_system_details.rb +34 -4
- data/lib/oci/mysql/models/database_management_status.rb +13 -0
- data/lib/oci/mysql/models/db_system.rb +40 -4
- data/lib/oci/mysql/models/db_system_snapshot.rb +40 -4
- data/lib/oci/mysql/models/db_system_summary.rb +40 -4
- data/lib/oci/mysql/models/update_db_system_details.rb +34 -4
- data/lib/oci/mysql/mysql.rb +1 -0
- data/lib/oci/network_firewall/models/action_type.rb +1 -1
- data/lib/oci/network_firewall/models/address_list.rb +222 -0
- data/lib/oci/network_firewall/models/address_list_summary.rb +209 -0
- data/lib/oci/network_firewall/models/address_list_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/address_list_type.rb +13 -0
- data/lib/oci/network_firewall/models/app_type.rb +13 -0
- data/lib/oci/network_firewall/models/application.rb +50 -9
- data/lib/oci/network_firewall/models/application_group.rb +190 -0
- data/lib/oci/network_firewall/models/application_group_summary.rb +179 -0
- data/lib/oci/network_firewall/models/application_group_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/application_summary.rb +212 -0
- data/lib/oci/network_firewall/models/application_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/apply_network_firewall_policy_details.rb +151 -0
- data/lib/oci/network_firewall/models/change_network_firewall_compartment_details.rb +1 -1
- data/lib/oci/network_firewall/models/change_network_firewall_policy_compartment_details.rb +1 -1
- data/lib/oci/network_firewall/models/clone_network_firewall_policy_details.rb +203 -0
- data/lib/oci/network_firewall/models/create_address_list_details.rb +185 -0
- data/lib/oci/network_firewall/models/create_application_details.rb +191 -0
- data/lib/oci/network_firewall/models/create_application_group_details.rb +161 -0
- data/lib/oci/network_firewall/models/create_decryption_profile_details.rb +191 -0
- data/lib/oci/network_firewall/models/create_decryption_rule_details.rb +223 -0
- data/lib/oci/network_firewall/models/create_icmp6_application_details.rb +181 -0
- data/lib/oci/network_firewall/models/create_icmp_application_details.rb +181 -0
- data/lib/oci/network_firewall/models/create_mapped_secret_details.rb +206 -0
- data/lib/oci/network_firewall/models/create_network_firewall_details.rb +6 -4
- data/lib/oci/network_firewall/models/create_network_firewall_policy_details.rb +7 -122
- data/lib/oci/network_firewall/models/create_security_rule_details.rb +231 -0
- data/lib/oci/network_firewall/models/create_service_details.rb +191 -0
- data/lib/oci/network_firewall/models/create_service_list_details.rb +161 -0
- data/lib/oci/network_firewall/models/create_ssl_forward_proxy_profile_details.rb +281 -0
- data/lib/oci/network_firewall/models/create_ssl_inbound_inspection_profile_details.rb +195 -0
- data/lib/oci/network_firewall/models/create_tcp_service_details.rb +168 -0
- data/lib/oci/network_firewall/models/create_udp_service_details.rb +168 -0
- data/lib/oci/network_firewall/models/create_url_list_details.rb +162 -0
- data/lib/oci/network_firewall/models/create_vault_mapped_secret_details.rb +185 -0
- data/lib/oci/network_firewall/models/decryption_action_type.rb +13 -0
- data/lib/oci/network_firewall/models/decryption_profile.rb +29 -5
- data/lib/oci/network_firewall/models/decryption_profile_summary.rb +200 -0
- data/lib/oci/network_firewall/models/decryption_profile_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/decryption_rule.rb +28 -5
- data/lib/oci/network_firewall/models/decryption_rule_match_criteria.rb +22 -14
- data/lib/oci/network_firewall/models/decryption_rule_summary.rb +239 -0
- data/lib/oci/network_firewall/models/decryption_rule_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/icmp6_application.rb +11 -3
- data/lib/oci/network_firewall/models/icmp6_application_summary.rb +185 -0
- data/lib/oci/network_firewall/models/icmp_application.rb +10 -2
- data/lib/oci/network_firewall/models/icmp_application_summary.rb +185 -0
- data/lib/oci/network_firewall/models/inspection_type.rb +13 -0
- data/lib/oci/network_firewall/models/lifecycle_state.rb +5 -2
- data/lib/oci/network_firewall/models/mapped_secret.rb +48 -6
- data/lib/oci/network_firewall/models/mapped_secret_summary.rb +210 -0
- data/lib/oci/network_firewall/models/mapped_secret_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/mapped_secret_type.rb +12 -0
- data/lib/oci/network_firewall/models/network_firewall.rb +15 -9
- data/lib/oci/network_firewall/models/network_firewall_collection.rb +1 -1
- data/lib/oci/network_firewall/models/network_firewall_policy.rb +20 -132
- data/lib/oci/network_firewall/models/network_firewall_policy_summary.rb +9 -4
- data/lib/oci/network_firewall/models/network_firewall_policy_summary_collection.rb +1 -1
- data/lib/oci/network_firewall/models/network_firewall_summary.rb +9 -4
- data/lib/oci/network_firewall/models/operation_status.rb +2 -1
- data/lib/oci/network_firewall/models/operation_type.rb +1 -1
- data/lib/oci/network_firewall/models/{tcp_application.rb → port_range.rb} +5 -12
- data/lib/oci/network_firewall/models/rule_position.rb +169 -0
- data/lib/oci/network_firewall/models/security_rule.rb +28 -5
- data/lib/oci/network_firewall/models/security_rule_match_criteria.rb +44 -26
- data/lib/oci/network_firewall/models/security_rule_summary.rb +253 -0
- data/lib/oci/network_firewall/models/security_rule_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/service.rb +213 -0
- data/lib/oci/network_firewall/models/service_list.rb +190 -0
- data/lib/oci/network_firewall/models/service_list_summary.rb +179 -0
- data/lib/oci/network_firewall/models/service_list_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/service_summary.rb +195 -0
- data/lib/oci/network_firewall/models/service_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/service_type.rb +13 -0
- data/lib/oci/network_firewall/models/simple_url_pattern.rb +5 -27
- data/lib/oci/network_firewall/models/sort_order.rb +1 -1
- data/lib/oci/network_firewall/models/ssl_forward_proxy_profile.rb +19 -11
- data/lib/oci/network_firewall/models/ssl_inbound_inspection_profile.rb +13 -5
- data/lib/oci/network_firewall/models/tcp_service.rb +172 -0
- data/lib/oci/network_firewall/models/traffic_action_type.rb +15 -0
- data/lib/oci/network_firewall/models/traffic_inspection_type.rb +13 -0
- data/lib/oci/network_firewall/models/udp_service.rb +172 -0
- data/lib/oci/network_firewall/models/update_address_list_details.rb +181 -0
- data/lib/oci/network_firewall/models/update_application_details.rb +182 -0
- data/lib/oci/network_firewall/models/update_application_group_details.rb +152 -0
- data/lib/oci/network_firewall/models/update_decryption_profile_details.rb +181 -0
- data/lib/oci/network_firewall/models/update_decryption_rule_details.rb +213 -0
- data/lib/oci/network_firewall/models/update_fqdn_address_list_details.rb +159 -0
- data/lib/oci/network_firewall/models/update_icmp6_application_details.rb +178 -0
- data/lib/oci/network_firewall/models/{udp_application.rb → update_icmp_application_details.rb} +25 -24
- data/lib/oci/network_firewall/models/update_ip_address_list_details.rb +159 -0
- data/lib/oci/network_firewall/models/update_mapped_secret_details.rb +195 -0
- data/lib/oci/network_firewall/models/update_network_firewall_details.rb +6 -4
- data/lib/oci/network_firewall/models/update_network_firewall_policy_details.rb +7 -122
- data/lib/oci/network_firewall/models/update_security_rule_details.rb +221 -0
- data/lib/oci/network_firewall/models/update_service_details.rb +182 -0
- data/lib/oci/network_firewall/models/update_service_list_details.rb +152 -0
- data/lib/oci/network_firewall/models/update_ssl_forward_proxy_profile_details.rb +277 -0
- data/lib/oci/network_firewall/models/update_ssl_inbound_inspection_profile_details.rb +191 -0
- data/lib/oci/network_firewall/models/update_tcp_service_details.rb +164 -0
- data/lib/oci/network_firewall/models/update_udp_service_details.rb +164 -0
- data/lib/oci/network_firewall/models/update_url_list_details.rb +151 -0
- data/lib/oci/network_firewall/models/update_vault_mapped_secret_details.rb +181 -0
- data/lib/oci/network_firewall/models/url_list.rb +192 -0
- data/lib/oci/network_firewall/models/url_list_summary.rb +179 -0
- data/lib/oci/network_firewall/models/url_list_summary_collection.rb +151 -0
- data/lib/oci/network_firewall/models/url_pattern.rb +1 -1
- data/lib/oci/network_firewall/models/vault_mapped_secret.rb +10 -2
- data/lib/oci/network_firewall/models/work_request.rb +2 -1
- data/lib/oci/network_firewall/models/work_request_error.rb +1 -1
- data/lib/oci/network_firewall/models/work_request_error_collection.rb +1 -1
- data/lib/oci/network_firewall/models/work_request_log_entry.rb +1 -1
- data/lib/oci/network_firewall/models/work_request_log_entry_collection.rb +1 -1
- data/lib/oci/network_firewall/models/work_request_resource.rb +1 -1
- data/lib/oci/network_firewall/models/work_request_resource_metadata_key.rb +1 -1
- data/lib/oci/network_firewall/models/work_request_summary.rb +2 -1
- data/lib/oci/network_firewall/models/work_request_summary_collection.rb +1 -1
- data/lib/oci/network_firewall/network_firewall.rb +78 -3
- data/lib/oci/network_firewall/network_firewall_client.rb +4575 -367
- data/lib/oci/network_firewall/network_firewall_client_composite_operations.rb +650 -1
- data/lib/oci/nosql/models/create_replica_details.rb +203 -0
- data/lib/oci/nosql/models/replica.rb +265 -0
- data/lib/oci/nosql/models/table.rb +78 -1
- data/lib/oci/nosql/models/table_collection.rb +18 -4
- data/lib/oci/nosql/models/table_summary.rb +52 -1
- data/lib/oci/nosql/models/table_usage_summary.rb +19 -4
- data/lib/oci/nosql/nosql.rb +2 -0
- data/lib/oci/nosql/nosql_client.rb +140 -0
- data/lib/oci/nosql/nosql_client_composite_operations.rb +100 -0
- data/lib/oci/ocvp/cluster_client.rb +473 -0
- data/lib/oci/ocvp/cluster_client_composite_operations.rb +167 -0
- data/lib/oci/ocvp/esxi_host_client.rb +152 -3
- data/lib/oci/ocvp/esxi_host_client_composite_operations.rb +102 -1
- data/lib/oci/ocvp/models/action_types.rb +1 -1
- data/lib/oci/ocvp/models/change_sddc_compartment_details.rb +1 -1
- data/lib/oci/ocvp/models/cluster.rb +630 -0
- data/lib/oci/ocvp/models/cluster_collection.rb +151 -0
- data/lib/oci/ocvp/models/cluster_summary.rb +449 -0
- data/lib/oci/ocvp/models/commitment.rb +15 -0
- data/lib/oci/ocvp/models/create_cluster_details.rb +439 -0
- data/lib/oci/ocvp/models/create_esxi_host_details.rb +72 -87
- data/lib/oci/ocvp/models/create_sddc_details.rb +46 -379
- data/lib/oci/ocvp/models/{datastore_summary.rb → datastore_details.rb} +2 -2
- data/lib/oci/ocvp/models/datastore_info.rb +12 -5
- data/lib/oci/ocvp/models/datastore_types.rb +1 -1
- data/lib/oci/ocvp/models/downgrade_hcx_details.rb +1 -1
- data/lib/oci/ocvp/models/esxi_host.rb +80 -49
- data/lib/oci/ocvp/models/esxi_host_collection.rb +1 -1
- data/lib/oci/ocvp/models/esxi_host_summary.rb +64 -48
- data/lib/oci/ocvp/models/hcx_license_status.rb +1 -1
- data/lib/oci/ocvp/models/hcx_license_summary.rb +1 -1
- data/lib/oci/ocvp/models/{sku.rb → hcx_modes.rb} +5 -6
- data/lib/oci/ocvp/models/initial_cluster_configuration.rb +395 -0
- data/lib/oci/ocvp/models/initial_configuration.rb +156 -0
- data/lib/oci/ocvp/models/lifecycle_states.rb +1 -1
- data/lib/oci/ocvp/models/network_configuration.rb +411 -0
- data/lib/oci/ocvp/models/operation_status.rb +1 -1
- data/lib/oci/ocvp/models/operation_types.rb +6 -2
- data/lib/oci/ocvp/models/password_types.rb +14 -0
- data/lib/oci/ocvp/models/replace_host_details.rb +160 -0
- data/lib/oci/ocvp/models/sddc.rb +71 -576
- data/lib/oci/ocvp/models/sddc_collection.rb +1 -1
- data/lib/oci/ocvp/models/sddc_password.rb +186 -0
- data/lib/oci/ocvp/models/sddc_summary.rb +41 -83
- data/lib/oci/ocvp/models/sort_orders.rb +1 -1
- data/lib/oci/ocvp/models/{supported_sku_summary.rb → supported_commitment_summary.rb} +4 -4
- data/lib/oci/ocvp/models/supported_commitment_summary_collection.rb +152 -0
- data/lib/oci/ocvp/models/supported_esxi_software_version_summary.rb +178 -0
- data/lib/oci/ocvp/models/supported_host_shape_collection.rb +1 -1
- data/lib/oci/ocvp/models/supported_host_shape_summary.rb +27 -49
- data/lib/oci/ocvp/models/supported_vmware_software_version_collection.rb +1 -1
- data/lib/oci/ocvp/models/supported_vmware_software_version_summary.rb +20 -5
- data/lib/oci/ocvp/models/update_cluster_details.rb +248 -0
- data/lib/oci/ocvp/models/update_esxi_host_details.rb +22 -22
- data/lib/oci/ocvp/models/update_sddc_details.rb +22 -165
- data/lib/oci/ocvp/models/vsphere_license.rb +1 -1
- data/lib/oci/ocvp/models/{sddc_types.rb → vsphere_types.rb} +4 -4
- data/lib/oci/ocvp/models/vsphere_upgrade_object.rb +1 -1
- data/lib/oci/ocvp/models/work_request.rb +5 -1
- data/lib/oci/ocvp/models/work_request_collection.rb +1 -1
- data/lib/oci/ocvp/models/work_request_error.rb +1 -1
- data/lib/oci/ocvp/models/work_request_error_collection.rb +1 -1
- data/lib/oci/ocvp/models/work_request_log_entry.rb +1 -1
- data/lib/oci/ocvp/models/work_request_log_entry_collection.rb +1 -1
- data/lib/oci/ocvp/models/work_request_resource.rb +1 -1
- data/lib/oci/ocvp/ocvp.rb +21 -6
- data/lib/oci/ocvp/sddc_client.rb +114 -31
- data/lib/oci/ocvp/sddc_client_composite_operations.rb +1 -1
- data/lib/oci/ocvp/work_request_client.rb +3 -3
- data/lib/oci/ocvp/work_request_client_composite_operations.rb +1 -1
- data/lib/oci/onesubscription/models/commitment.rb +1 -0
- data/lib/oci/opsi/models/archival_state.rb +14 -0
- data/lib/oci/opsi/models/awr_hub_objects.rb +155 -0
- data/lib/oci/opsi/models/awr_hub_source.rb +531 -0
- data/lib/oci/opsi/models/awr_hub_source_lifecycle_state.rb +17 -0
- data/lib/oci/opsi/models/awr_hub_source_status.rb +15 -0
- data/lib/oci/opsi/models/awr_hub_source_summary.rb +531 -0
- data/lib/oci/opsi/models/awr_hub_source_summary_collection.rb +151 -0
- data/lib/oci/opsi/models/awr_hub_source_type.rb +27 -0
- data/lib/oci/opsi/models/awr_hub_sources.rb +155 -0
- data/lib/oci/opsi/models/change_awr_hub_source_compartment_details.rb +156 -0
- data/lib/oci/opsi/models/change_operations_insights_warehouse_compartment_details.rb +155 -0
- data/lib/oci/opsi/models/create_awr_hub_details.rb +1 -1
- data/lib/oci/opsi/models/create_awr_hub_source_details.rb +276 -0
- data/lib/oci/opsi/models/list_objects.rb +175 -0
- data/lib/oci/opsi/models/object_summary.rb +279 -0
- data/lib/oci/opsi/models/operation_type.rb +7 -1
- data/lib/oci/opsi/models/storage_tier.rb +14 -0
- data/lib/oci/opsi/models/update_awr_hub_source_details.rb +210 -0
- data/lib/oci/opsi/models/work_request.rb +6 -0
- data/lib/oci/opsi/operations_insights_client.rb +1197 -156
- data/lib/oci/opsi/operations_insights_client_composite_operations.rb +346 -0
- data/lib/oci/opsi/opsi.rb +16 -0
- data/lib/oci/osub_subscription/models/commitment.rb +1 -0
- data/lib/oci/psql/models/action_type.rb +17 -0
- data/lib/oci/psql/models/backup.rb +433 -0
- data/lib/oci/psql/models/backup_collection.rb +151 -0
- data/lib/oci/psql/models/backup_policy.rb +206 -0
- data/lib/oci/psql/models/backup_source_details.rb +180 -0
- data/lib/oci/psql/models/backup_summary.rb +340 -0
- data/lib/oci/psql/models/change_backup_compartment_details.rb +157 -0
- data/lib/oci/psql/models/change_configuration_compartment_details.rb +157 -0
- data/lib/oci/psql/models/change_db_system_compartment_details.rb +157 -0
- data/lib/oci/psql/models/config_overrides.rb +169 -0
- data/lib/oci/psql/models/config_params.rb +251 -0
- data/lib/oci/psql/models/configuration.rb +369 -0
- data/lib/oci/psql/models/configuration_collection.rb +151 -0
- data/lib/oci/psql/models/configuration_details.rb +151 -0
- data/lib/oci/psql/models/configuration_summary.rb +323 -0
- data/lib/oci/psql/models/connection_details.rb +188 -0
- data/lib/oci/psql/models/create_backup_details.rb +239 -0
- data/lib/oci/psql/models/create_configuration_details.rb +295 -0
- data/lib/oci/psql/models/create_db_instance_details.rb +181 -0
- data/lib/oci/psql/models/create_db_system_details.rb +381 -0
- data/lib/oci/psql/models/credentials.rb +167 -0
- data/lib/oci/psql/models/daily_backup_policy.rb +167 -0
- data/lib/oci/psql/models/db_configuration_override_collection.rb +151 -0
- data/lib/oci/psql/models/db_instance.rb +270 -0
- data/lib/oci/psql/models/db_instance_endpoint.rb +165 -0
- data/lib/oci/psql/models/db_system.rb +506 -0
- data/lib/oci/psql/models/db_system_collection.rb +151 -0
- data/lib/oci/psql/models/db_system_details.rb +169 -0
- data/lib/oci/psql/models/db_system_summary.rb +378 -0
- data/lib/oci/psql/models/default_config_params.rb +237 -0
- data/lib/oci/psql/models/default_configuration.rb +308 -0
- data/lib/oci/psql/models/default_configuration_collection.rb +151 -0
- data/lib/oci/psql/models/default_configuration_details.rb +151 -0
- data/lib/oci/psql/models/default_configuration_summary.rb +261 -0
- data/lib/oci/psql/models/endpoint.rb +176 -0
- data/lib/oci/psql/models/failover_db_system_details.rb +169 -0
- data/lib/oci/psql/models/management_policy.rb +170 -0
- data/lib/oci/psql/models/management_policy_details.rb +169 -0
- data/lib/oci/psql/models/monthly_backup_policy.rb +183 -0
- data/lib/oci/psql/models/network_details.rb +185 -0
- data/lib/oci/psql/models/none_backup_policy.rb +150 -0
- data/lib/oci/psql/models/none_source_details.rb +147 -0
- data/lib/oci/psql/models/oci_optimized_storage_details.rb +167 -0
- data/lib/oci/psql/models/operation_status.rb +18 -0
- data/lib/oci/psql/models/operation_type.rb +19 -0
- data/lib/oci/psql/models/password_details.rb +187 -0
- data/lib/oci/psql/models/patch_db_system_details.rb +154 -0
- data/lib/oci/psql/models/patch_insert_instruction.rb +204 -0
- data/lib/oci/psql/models/patch_instruction.rb +204 -0
- data/lib/oci/psql/models/patch_merge_instruction.rb +170 -0
- data/lib/oci/psql/models/patch_move_instruction.rb +195 -0
- data/lib/oci/psql/models/patch_prohibit_instruction.rb +170 -0
- data/lib/oci/psql/models/patch_remove_instruction.rb +152 -0
- data/lib/oci/psql/models/patch_replace_instruction.rb +167 -0
- data/lib/oci/psql/models/patch_require_instruction.rb +169 -0
- data/lib/oci/psql/models/plain_text_password_details.rb +159 -0
- data/lib/oci/psql/models/primary_db_instance_details.rb +155 -0
- data/lib/oci/psql/models/reset_master_user_password_details.rb +157 -0
- data/lib/oci/psql/models/restart_db_instance_in_db_system_details.rb +184 -0
- data/lib/oci/psql/models/restore_db_system_details.rb +167 -0
- data/lib/oci/psql/models/shape_collection.rb +151 -0
- data/lib/oci/psql/models/shape_summary.rb +190 -0
- data/lib/oci/psql/models/sort_order.rb +13 -0
- data/lib/oci/psql/models/source_details.rb +193 -0
- data/lib/oci/psql/models/storage_details.rb +208 -0
- data/lib/oci/psql/models/update_backup_details.rb +211 -0
- data/lib/oci/psql/models/update_configuration_details.rb +165 -0
- data/lib/oci/psql/models/update_db_config_params.rb +186 -0
- data/lib/oci/psql/models/update_db_system_db_instance_details.rb +165 -0
- data/lib/oci/psql/models/update_db_system_details.rb +236 -0
- data/lib/oci/psql/models/update_storage_details_params.rb +153 -0
- data/lib/oci/psql/models/vault_secret_password_details.rb +177 -0
- data/lib/oci/psql/models/weekly_backup_policy.rb +213 -0
- data/lib/oci/psql/models/work_request.rb +311 -0
- data/lib/oci/psql/models/work_request_error.rb +174 -0
- data/lib/oci/psql/models/work_request_error_collection.rb +151 -0
- data/lib/oci/psql/models/work_request_log_entry.rb +161 -0
- data/lib/oci/psql/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/psql/models/work_request_resource.rb +228 -0
- data/lib/oci/psql/models/work_request_resource_metadata_key.rb +12 -0
- data/lib/oci/psql/models/work_request_summary.rb +311 -0
- data/lib/oci/psql/models/work_request_summary_collection.rb +151 -0
- data/lib/oci/psql/postgresql_client.rb +2223 -0
- data/lib/oci/psql/postgresql_client_composite_operations.rb +873 -0
- data/lib/oci/psql/psql.rb +104 -0
- data/lib/oci/psql/util.rb +3 -0
- data/lib/oci/redis/models/action_type.rb +17 -0
- data/lib/oci/redis/models/change_redis_cluster_compartment_details.rb +157 -0
- data/lib/oci/redis/models/create_redis_cluster_details.rb +257 -0
- data/lib/oci/redis/models/node.rb +184 -0
- data/lib/oci/redis/models/node_collection.rb +151 -0
- data/lib/oci/redis/models/operation_status.rb +19 -0
- data/lib/oci/redis/models/operation_type.rb +20 -0
- data/lib/oci/redis/models/redis_cluster.rb +451 -0
- data/lib/oci/redis/models/redis_cluster_collection.rb +151 -0
- data/lib/oci/redis/models/redis_cluster_summary.rb +396 -0
- data/lib/oci/redis/models/sort_order.rb +13 -0
- data/lib/oci/redis/models/update_redis_cluster_details.rb +215 -0
- data/lib/oci/redis/models/work_request.rb +311 -0
- data/lib/oci/redis/models/work_request_error.rb +173 -0
- data/lib/oci/redis/models/work_request_error_collection.rb +151 -0
- data/lib/oci/redis/models/work_request_log_entry.rb +161 -0
- data/lib/oci/redis/models/work_request_log_entry_collection.rb +151 -0
- data/lib/oci/redis/models/work_request_resource.rb +221 -0
- data/lib/oci/redis/models/work_request_summary.rb +343 -0
- data/lib/oci/{ocvp/models/supported_sku_summary_collection.rb → redis/models/work_request_summary_collection.rb} +7 -8
- data/lib/oci/redis/redis.rb +42 -0
- data/lib/oci/redis/redis_cluster_client.rb +839 -0
- data/lib/oci/redis/redis_cluster_client_composite_operations.rb +225 -0
- data/lib/oci/redis/util.rb +3 -0
- data/lib/oci/regions_definitions.rb +15 -4
- data/lib/oci/stack_monitoring/models/anomaly_data_point.rb +191 -0
- data/lib/oci/stack_monitoring/models/anomaly_metric_data.rb +165 -0
- data/lib/oci/stack_monitoring/models/associated_monitored_resource.rb +30 -1
- data/lib/oci/stack_monitoring/models/associated_resources_summary.rb +30 -1
- data/lib/oci/stack_monitoring/models/baselineable_metric.rb +375 -0
- data/lib/oci/stack_monitoring/models/baselineable_metric_life_cycle_states.rb +13 -0
- data/lib/oci/stack_monitoring/models/baselineable_metric_summary.rb +319 -0
- data/lib/oci/stack_monitoring/models/baselineable_metric_summary_collection.rb +151 -0
- data/lib/oci/stack_monitoring/models/change_metric_extension_compartment_details.rb +157 -0
- data/lib/oci/stack_monitoring/models/change_monitored_resource_task_compartment_details.rb +157 -0
- data/lib/oci/stack_monitoring/models/config.rb +4 -0
- data/lib/oci/stack_monitoring/models/config_summary.rb +2 -0
- data/lib/oci/stack_monitoring/models/create_baselineable_metric_details.rb +199 -0
- data/lib/oci/stack_monitoring/models/create_config_details.rb +2 -0
- data/lib/oci/stack_monitoring/models/create_license_auto_assign_config_details.rb +189 -0
- data/lib/oci/stack_monitoring/models/create_license_enterprise_extensibility_config_details.rb +180 -0
- data/lib/oci/stack_monitoring/models/create_metric_extension_details.rb +245 -0
- data/lib/oci/stack_monitoring/models/create_monitored_resource_details.rb +26 -1
- data/lib/oci/stack_monitoring/models/create_monitored_resource_task_details.rb +214 -0
- data/lib/oci/stack_monitoring/models/create_monitored_resource_type_details.rb +250 -0
- data/lib/oci/stack_monitoring/models/data_point.rb +161 -0
- data/lib/oci/stack_monitoring/models/disable_metric_extension_details.rb +155 -0
- data/lib/oci/stack_monitoring/models/discovery_details.rb +30 -1
- data/lib/oci/stack_monitoring/models/discovery_job_summary.rb +30 -1
- data/lib/oci/stack_monitoring/models/enable_metric_extension_details.rb +155 -0
- data/lib/oci/stack_monitoring/models/enabled_resource_details.rb +155 -0
- data/lib/oci/stack_monitoring/models/evaluate_baselineable_metric_details.rb +165 -0
- data/lib/oci/stack_monitoring/models/evaluate_baselineable_metric_result.rb +165 -0
- data/lib/oci/stack_monitoring/models/import_oci_telemetry_resources_task_details.rb +245 -0
- data/lib/oci/stack_monitoring/models/jmx_query_properties.rb +221 -0
- data/lib/oci/stack_monitoring/models/jmx_update_query_properties.rb +221 -0
- data/lib/oci/stack_monitoring/models/license_auto_assign_config_details.rb +217 -0
- data/lib/oci/stack_monitoring/models/license_auto_assign_config_summary.rb +216 -0
- data/lib/oci/stack_monitoring/models/license_enterprise_extensibility_config_details.rb +201 -0
- data/lib/oci/stack_monitoring/models/license_enterprise_extensibility_config_summary.rb +200 -0
- data/lib/oci/stack_monitoring/models/license_type.rb +13 -0
- data/lib/oci/stack_monitoring/models/manage_license_details.rb +165 -0
- data/lib/oci/stack_monitoring/models/metric.rb +290 -0
- data/lib/oci/stack_monitoring/models/metric_data.rb +179 -0
- data/lib/oci/stack_monitoring/models/metric_extension.rb +444 -0
- data/lib/oci/stack_monitoring/models/metric_extension_collection.rb +151 -0
- data/lib/oci/stack_monitoring/models/metric_extension_collection_methods.rb +14 -0
- data/lib/oci/stack_monitoring/models/metric_extension_life_cycle_details.rb +13 -0
- data/lib/oci/stack_monitoring/models/metric_extension_life_cycle_states.rb +13 -0
- data/lib/oci/stack_monitoring/models/metric_extension_query_properties.rb +194 -0
- data/lib/oci/stack_monitoring/models/metric_extension_sort_by.rb +13 -0
- data/lib/oci/stack_monitoring/models/metric_extension_summary.rb +366 -0
- data/lib/oci/stack_monitoring/models/metric_extension_update_query_properties.rb +187 -0
- data/lib/oci/stack_monitoring/models/monitored_resource.rb +30 -1
- data/lib/oci/stack_monitoring/models/monitored_resource_member_summary.rb +30 -1
- data/lib/oci/stack_monitoring/models/monitored_resource_sort_by.rb +13 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_summary.rb +44 -1
- data/lib/oci/stack_monitoring/models/monitored_resource_task.rb +340 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_task_details.rb +186 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_task_lifecycle_state.rb +19 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_task_summary.rb +311 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_tasks_collection.rb +151 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_type.rb +346 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_type_summary.rb +345 -0
- data/lib/oci/stack_monitoring/models/monitored_resource_types_collection.rb +151 -0
- data/lib/oci/stack_monitoring/models/monitored_resources_count_aggregation.rb +166 -0
- data/lib/oci/stack_monitoring/models/monitored_resources_count_aggregation_collection.rb +151 -0
- data/lib/oci/stack_monitoring/models/operation_type.rb +5 -1
- data/lib/oci/stack_monitoring/models/os_command_query_properties.rb +206 -0
- data/lib/oci/stack_monitoring/models/os_command_update_query_properties.rb +206 -0
- data/lib/oci/stack_monitoring/models/resource_type_lifecycle_state.rb +17 -0
- data/lib/oci/stack_monitoring/models/resource_type_metadata_details.rb +189 -0
- data/lib/oci/stack_monitoring/models/script_file_details.rb +161 -0
- data/lib/oci/stack_monitoring/models/search_monitored_resources_details.rb +24 -1
- data/lib/oci/stack_monitoring/models/sql_details.rb +165 -0
- data/lib/oci/stack_monitoring/models/sql_in_param_details.rb +169 -0
- data/lib/oci/stack_monitoring/models/sql_out_param_details.rb +189 -0
- data/lib/oci/stack_monitoring/models/sql_out_param_types.rb +13 -0
- data/lib/oci/stack_monitoring/models/sql_query_properties.rb +224 -0
- data/lib/oci/stack_monitoring/models/sql_query_types.rb +13 -0
- data/lib/oci/stack_monitoring/models/sql_update_query_properties.rb +216 -0
- data/lib/oci/stack_monitoring/models/system_format_resource_type_metadata_details.rb +251 -0
- data/lib/oci/stack_monitoring/models/test_metric_extension_data.rb +197 -0
- data/lib/oci/stack_monitoring/models/test_metric_extension_details.rb +155 -0
- data/lib/oci/stack_monitoring/models/unique_property_set.rb +151 -0
- data/lib/oci/stack_monitoring/models/update_baselineable_metric_details.rb +309 -0
- data/lib/oci/stack_monitoring/models/update_config_details.rb +2 -0
- data/lib/oci/stack_monitoring/models/update_license_auto_assign_config_details.rb +185 -0
- data/lib/oci/stack_monitoring/models/update_license_enterprise_extensibility_config_details.rb +176 -0
- data/lib/oci/stack_monitoring/models/update_metric_extension_details.rb +206 -0
- data/lib/oci/stack_monitoring/models/update_monitored_resource_task_details.rb +173 -0
- data/lib/oci/stack_monitoring/models/update_monitored_resource_type_details.rb +220 -0
- data/lib/oci/stack_monitoring/models/work_request.rb +4 -0
- data/lib/oci/stack_monitoring/models/work_request_summary.rb +4 -0
- data/lib/oci/stack_monitoring/stack_monitoring.rb +73 -0
- data/lib/oci/stack_monitoring/stack_monitoring_client.rb +2942 -717
- data/lib/oci/stack_monitoring/stack_monitoring_client_composite_operations.rb +651 -16
- data/lib/oci/tenant_manager_control_plane/models/sku.rb +0 -1
- data/lib/oci/version.rb +1 -1
- data/lib/oci/vn_monitoring/models/capture_filter.rb +20 -4
- data/lib/oci/vn_monitoring/models/create_capture_filter_details.rb +21 -5
- data/lib/oci/vn_monitoring/models/flow_log_capture_filter_rule_details.rb +334 -0
- data/lib/oci/vn_monitoring/models/service.rb +1 -0
- data/lib/oci/vn_monitoring/models/update_capture_filter_details.rb +16 -1
- data/lib/oci/vn_monitoring/vn_monitoring.rb +1 -0
- data/lib/oci.rb +4 -0
- metadata +929 -9
|
@@ -100,8 +100,8 @@ module OCI
|
|
|
100
100
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
101
101
|
|
|
102
102
|
|
|
103
|
-
#
|
|
104
|
-
# @param [String]
|
|
103
|
+
# Activates the specified Remediation Recipe.
|
|
104
|
+
# @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
|
|
105
105
|
# @param [Hash] opts the optional parameters
|
|
106
106
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
107
107
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -113,14 +113,14 @@ module OCI
|
|
|
113
113
|
#
|
|
114
114
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
115
115
|
# @return [Response] A Response object with data of type nil
|
|
116
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
117
|
-
def
|
|
118
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
116
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/activate_remediation_recipe.rb.html) to see an example of how to use activate_remediation_recipe API.
|
|
117
|
+
def activate_remediation_recipe(remediation_recipe_id, opts = {})
|
|
118
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#activate_remediation_recipe.' if logger
|
|
119
119
|
|
|
120
|
-
raise "Missing the required parameter '
|
|
121
|
-
raise "Parameter value for '
|
|
120
|
+
raise "Missing the required parameter 'remediation_recipe_id' when calling activate_remediation_recipe." if remediation_recipe_id.nil?
|
|
121
|
+
raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
|
|
122
122
|
|
|
123
|
-
path = '/
|
|
123
|
+
path = '/remediationRecipes/{remediationRecipeId}/actions/activate'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
|
|
124
124
|
operation_signing_strategy = :standard
|
|
125
125
|
|
|
126
126
|
# rubocop:disable Style/NegatedIf
|
|
@@ -138,9 +138,9 @@ module OCI
|
|
|
138
138
|
post_body = nil
|
|
139
139
|
|
|
140
140
|
# rubocop:disable Metrics/BlockLength
|
|
141
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
141
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#activate_remediation_recipe') do
|
|
142
142
|
@api_client.call_api(
|
|
143
|
-
:
|
|
143
|
+
:POST,
|
|
144
144
|
path,
|
|
145
145
|
endpoint,
|
|
146
146
|
header_params: header_params,
|
|
@@ -160,9 +160,8 @@ module OCI
|
|
|
160
160
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
161
161
|
|
|
162
162
|
|
|
163
|
-
#
|
|
164
|
-
# @param [String]
|
|
165
|
-
# @param [OCI::Adm::Models::ChangeKnowledgeBaseCompartmentDetails] change_knowledge_base_compartment_details The information to be updated.
|
|
163
|
+
# Cancels the specified remediation run.
|
|
164
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
166
165
|
# @param [Hash] opts the optional parameters
|
|
167
166
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
168
167
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -179,16 +178,15 @@ module OCI
|
|
|
179
178
|
# has been deleted and purged from the system, then a retry of the original creation request
|
|
180
179
|
# might be rejected.
|
|
181
180
|
#
|
|
182
|
-
# @return [Response] A Response object with data of type
|
|
183
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
184
|
-
def
|
|
185
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
181
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
|
|
182
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/cancel_remediation_run.rb.html) to see an example of how to use cancel_remediation_run API.
|
|
183
|
+
def cancel_remediation_run(remediation_run_id, opts = {})
|
|
184
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#cancel_remediation_run.' if logger
|
|
186
185
|
|
|
187
|
-
raise "Missing the required parameter '
|
|
188
|
-
raise "
|
|
189
|
-
raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
|
|
186
|
+
raise "Missing the required parameter 'remediation_run_id' when calling cancel_remediation_run." if remediation_run_id.nil?
|
|
187
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
190
188
|
|
|
191
|
-
path = '/
|
|
189
|
+
path = '/remediationRuns/{remediationRunId}/actions/cancel'.sub('{remediationRunId}', remediation_run_id.to_s)
|
|
192
190
|
operation_signing_strategy = :standard
|
|
193
191
|
|
|
194
192
|
# rubocop:disable Style/NegatedIf
|
|
@@ -205,10 +203,10 @@ module OCI
|
|
|
205
203
|
# rubocop:enable Style/NegatedIf
|
|
206
204
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
207
205
|
|
|
208
|
-
post_body =
|
|
206
|
+
post_body = nil
|
|
209
207
|
|
|
210
208
|
# rubocop:disable Metrics/BlockLength
|
|
211
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
209
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#cancel_remediation_run') do
|
|
212
210
|
@api_client.call_api(
|
|
213
211
|
:POST,
|
|
214
212
|
path,
|
|
@@ -216,6 +214,67 @@ module OCI
|
|
|
216
214
|
header_params: header_params,
|
|
217
215
|
query_params: query_params,
|
|
218
216
|
operation_signing_strategy: operation_signing_strategy,
|
|
217
|
+
body: post_body,
|
|
218
|
+
return_type: 'OCI::Adm::Models::RemediationRun'
|
|
219
|
+
)
|
|
220
|
+
end
|
|
221
|
+
# rubocop:enable Metrics/BlockLength
|
|
222
|
+
end
|
|
223
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
224
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
225
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
226
|
+
|
|
227
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
228
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
229
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
# Cancel work request with the given ID.
|
|
233
|
+
# @param [String] work_request_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request.
|
|
234
|
+
# @param [Hash] opts the optional parameters
|
|
235
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
236
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
237
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
238
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
239
|
+
# etag from a previous GET or POST response for that resource.
|
|
240
|
+
# The resource will be updated or deleted only if the etag you
|
|
241
|
+
# provide matches the resource's current etag value.
|
|
242
|
+
#
|
|
243
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
244
|
+
# @return [Response] A Response object with data of type nil
|
|
245
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/cancel_work_request.rb.html) to see an example of how to use cancel_work_request API.
|
|
246
|
+
def cancel_work_request(work_request_id, opts = {})
|
|
247
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#cancel_work_request.' if logger
|
|
248
|
+
|
|
249
|
+
raise "Missing the required parameter 'work_request_id' when calling cancel_work_request." if work_request_id.nil?
|
|
250
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
251
|
+
|
|
252
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
|
253
|
+
operation_signing_strategy = :standard
|
|
254
|
+
|
|
255
|
+
# rubocop:disable Style/NegatedIf
|
|
256
|
+
# Query Params
|
|
257
|
+
query_params = {}
|
|
258
|
+
|
|
259
|
+
# Header Params
|
|
260
|
+
header_params = {}
|
|
261
|
+
header_params[:accept] = 'application/json'
|
|
262
|
+
header_params[:'content-type'] = 'application/json'
|
|
263
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
264
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
265
|
+
# rubocop:enable Style/NegatedIf
|
|
266
|
+
|
|
267
|
+
post_body = nil
|
|
268
|
+
|
|
269
|
+
# rubocop:disable Metrics/BlockLength
|
|
270
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#cancel_work_request') do
|
|
271
|
+
@api_client.call_api(
|
|
272
|
+
:DELETE,
|
|
273
|
+
path,
|
|
274
|
+
endpoint,
|
|
275
|
+
header_params: header_params,
|
|
276
|
+
query_params: query_params,
|
|
277
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
219
278
|
body: post_body
|
|
220
279
|
)
|
|
221
280
|
end
|
|
@@ -230,9 +289,9 @@ module OCI
|
|
|
230
289
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
231
290
|
|
|
232
291
|
|
|
233
|
-
# Moves a
|
|
234
|
-
# @param [String]
|
|
235
|
-
# @param [OCI::Adm::Models::
|
|
292
|
+
# Moves a Knowledge Base from one compartment to another.
|
|
293
|
+
# @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
|
|
294
|
+
# @param [OCI::Adm::Models::ChangeKnowledgeBaseCompartmentDetails] change_knowledge_base_compartment_details The information to be updated.
|
|
236
295
|
# @param [Hash] opts the optional parameters
|
|
237
296
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
238
297
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -250,15 +309,15 @@ module OCI
|
|
|
250
309
|
# might be rejected.
|
|
251
310
|
#
|
|
252
311
|
# @return [Response] A Response object with data of type nil
|
|
253
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
254
|
-
def
|
|
255
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
312
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_knowledge_base_compartment.rb.html) to see an example of how to use change_knowledge_base_compartment API.
|
|
313
|
+
def change_knowledge_base_compartment(knowledge_base_id, change_knowledge_base_compartment_details, opts = {})
|
|
314
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#change_knowledge_base_compartment.' if logger
|
|
256
315
|
|
|
257
|
-
raise "Missing the required parameter '
|
|
258
|
-
raise "Missing the required parameter '
|
|
259
|
-
raise "Parameter value for '
|
|
316
|
+
raise "Missing the required parameter 'knowledge_base_id' when calling change_knowledge_base_compartment." if knowledge_base_id.nil?
|
|
317
|
+
raise "Missing the required parameter 'change_knowledge_base_compartment_details' when calling change_knowledge_base_compartment." if change_knowledge_base_compartment_details.nil?
|
|
318
|
+
raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
|
|
260
319
|
|
|
261
|
-
path = '/
|
|
320
|
+
path = '/knowledgeBases/{knowledgeBaseId}/actions/changeCompartment'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
|
|
262
321
|
operation_signing_strategy = :standard
|
|
263
322
|
|
|
264
323
|
# rubocop:disable Style/NegatedIf
|
|
@@ -275,10 +334,10 @@ module OCI
|
|
|
275
334
|
# rubocop:enable Style/NegatedIf
|
|
276
335
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
277
336
|
|
|
278
|
-
post_body = @api_client.object_to_http_body(
|
|
337
|
+
post_body = @api_client.object_to_http_body(change_knowledge_base_compartment_details)
|
|
279
338
|
|
|
280
339
|
# rubocop:disable Metrics/BlockLength
|
|
281
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
340
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_knowledge_base_compartment') do
|
|
282
341
|
@api_client.call_api(
|
|
283
342
|
:POST,
|
|
284
343
|
path,
|
|
@@ -300,11 +359,18 @@ module OCI
|
|
|
300
359
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
301
360
|
|
|
302
361
|
|
|
303
|
-
#
|
|
304
|
-
# @param [
|
|
362
|
+
# Moves a Remediation Recipe from one compartment to another.
|
|
363
|
+
# @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
|
|
364
|
+
# @param [OCI::Adm::Models::ChangeRemediationRecipeCompartmentDetails] change_remediation_recipe_compartment_details The information to be updated.
|
|
305
365
|
# @param [Hash] opts the optional parameters
|
|
306
366
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
307
367
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
368
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
369
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
370
|
+
# etag from a previous GET or POST response for that resource.
|
|
371
|
+
# The resource will be updated or deleted only if the etag you
|
|
372
|
+
# provide matches the resource's current etag value.
|
|
373
|
+
#
|
|
308
374
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
309
375
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
310
376
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
@@ -313,13 +379,15 @@ module OCI
|
|
|
313
379
|
# might be rejected.
|
|
314
380
|
#
|
|
315
381
|
# @return [Response] A Response object with data of type nil
|
|
316
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
317
|
-
def
|
|
318
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
382
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_remediation_recipe_compartment.rb.html) to see an example of how to use change_remediation_recipe_compartment API.
|
|
383
|
+
def change_remediation_recipe_compartment(remediation_recipe_id, change_remediation_recipe_compartment_details, opts = {})
|
|
384
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#change_remediation_recipe_compartment.' if logger
|
|
319
385
|
|
|
320
|
-
raise "Missing the required parameter '
|
|
386
|
+
raise "Missing the required parameter 'remediation_recipe_id' when calling change_remediation_recipe_compartment." if remediation_recipe_id.nil?
|
|
387
|
+
raise "Missing the required parameter 'change_remediation_recipe_compartment_details' when calling change_remediation_recipe_compartment." if change_remediation_recipe_compartment_details.nil?
|
|
388
|
+
raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
|
|
321
389
|
|
|
322
|
-
path = '/
|
|
390
|
+
path = '/remediationRecipes/{remediationRecipeId}/actions/changeCompartment'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
|
|
323
391
|
operation_signing_strategy = :standard
|
|
324
392
|
|
|
325
393
|
# rubocop:disable Style/NegatedIf
|
|
@@ -330,15 +398,16 @@ module OCI
|
|
|
330
398
|
header_params = {}
|
|
331
399
|
header_params[:accept] = 'application/json'
|
|
332
400
|
header_params[:'content-type'] = 'application/json'
|
|
401
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
333
402
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
334
403
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
335
404
|
# rubocop:enable Style/NegatedIf
|
|
336
405
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
337
406
|
|
|
338
|
-
post_body = @api_client.object_to_http_body(
|
|
407
|
+
post_body = @api_client.object_to_http_body(change_remediation_recipe_compartment_details)
|
|
339
408
|
|
|
340
409
|
# rubocop:disable Metrics/BlockLength
|
|
341
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
410
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_remediation_recipe_compartment') do
|
|
342
411
|
@api_client.call_api(
|
|
343
412
|
:POST,
|
|
344
413
|
path,
|
|
@@ -360,11 +429,18 @@ module OCI
|
|
|
360
429
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
361
430
|
|
|
362
431
|
|
|
363
|
-
#
|
|
364
|
-
# @param [
|
|
432
|
+
# Moves a remediation run from one compartment to another.
|
|
433
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
434
|
+
# @param [OCI::Adm::Models::ChangeRemediationRunCompartmentDetails] change_remediation_run_compartment_details The information to be updated.
|
|
365
435
|
# @param [Hash] opts the optional parameters
|
|
366
436
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
367
437
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
438
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
439
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
440
|
+
# etag from a previous GET or POST response for that resource.
|
|
441
|
+
# The resource will be updated or deleted only if the etag you
|
|
442
|
+
# provide matches the resource's current etag value.
|
|
443
|
+
#
|
|
368
444
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
369
445
|
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
370
446
|
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
@@ -372,20 +448,16 @@ module OCI
|
|
|
372
448
|
# has been deleted and purged from the system, then a retry of the original creation request
|
|
373
449
|
# might be rejected.
|
|
374
450
|
#
|
|
375
|
-
# @
|
|
376
|
-
#
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
# provide matches the resource's current etag value.
|
|
380
|
-
#
|
|
381
|
-
# @return [Response] A Response object with data of type {OCI::Adm::Models::VulnerabilityAudit VulnerabilityAudit}
|
|
382
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_vulnerability_audit.rb.html) to see an example of how to use create_vulnerability_audit API.
|
|
383
|
-
def create_vulnerability_audit(create_vulnerability_audit_details, opts = {})
|
|
384
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#create_vulnerability_audit.' if logger
|
|
451
|
+
# @return [Response] A Response object with data of type nil
|
|
452
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_remediation_run_compartment.rb.html) to see an example of how to use change_remediation_run_compartment API.
|
|
453
|
+
def change_remediation_run_compartment(remediation_run_id, change_remediation_run_compartment_details, opts = {})
|
|
454
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#change_remediation_run_compartment.' if logger
|
|
385
455
|
|
|
386
|
-
raise "Missing the required parameter '
|
|
456
|
+
raise "Missing the required parameter 'remediation_run_id' when calling change_remediation_run_compartment." if remediation_run_id.nil?
|
|
457
|
+
raise "Missing the required parameter 'change_remediation_run_compartment_details' when calling change_remediation_run_compartment." if change_remediation_run_compartment_details.nil?
|
|
458
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
387
459
|
|
|
388
|
-
path = '/
|
|
460
|
+
path = '/remediationRuns/{remediationRunId}/actions/changeCompartment'.sub('{remediationRunId}', remediation_run_id.to_s)
|
|
389
461
|
operation_signing_strategy = :standard
|
|
390
462
|
|
|
391
463
|
# rubocop:disable Style/NegatedIf
|
|
@@ -396,16 +468,16 @@ module OCI
|
|
|
396
468
|
header_params = {}
|
|
397
469
|
header_params[:accept] = 'application/json'
|
|
398
470
|
header_params[:'content-type'] = 'application/json'
|
|
471
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
399
472
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
400
473
|
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
401
|
-
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
402
474
|
# rubocop:enable Style/NegatedIf
|
|
403
475
|
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
404
476
|
|
|
405
|
-
post_body = @api_client.object_to_http_body(
|
|
477
|
+
post_body = @api_client.object_to_http_body(change_remediation_run_compartment_details)
|
|
406
478
|
|
|
407
479
|
# rubocop:disable Metrics/BlockLength
|
|
408
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
480
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_remediation_run_compartment') do
|
|
409
481
|
@api_client.call_api(
|
|
410
482
|
:POST,
|
|
411
483
|
path,
|
|
@@ -413,8 +485,7 @@ module OCI
|
|
|
413
485
|
header_params: header_params,
|
|
414
486
|
query_params: query_params,
|
|
415
487
|
operation_signing_strategy: operation_signing_strategy,
|
|
416
|
-
body: post_body
|
|
417
|
-
return_type: 'OCI::Adm::Models::VulnerabilityAudit'
|
|
488
|
+
body: post_body
|
|
418
489
|
)
|
|
419
490
|
end
|
|
420
491
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -428,8 +499,9 @@ module OCI
|
|
|
428
499
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
429
500
|
|
|
430
501
|
|
|
431
|
-
#
|
|
432
|
-
# @param [String]
|
|
502
|
+
# Moves a Vulnerability Audit from one compartment to another.
|
|
503
|
+
# @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
|
|
504
|
+
# @param [OCI::Adm::Models::ChangeVulnerabilityAuditCompartmentDetails] change_vulnerability_audit_compartment_details The information to be updated.
|
|
433
505
|
# @param [Hash] opts the optional parameters
|
|
434
506
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
435
507
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
@@ -440,15 +512,22 @@ module OCI
|
|
|
440
512
|
# provide matches the resource's current etag value.
|
|
441
513
|
#
|
|
442
514
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
515
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
516
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
517
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
518
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
519
|
+
# might be rejected.
|
|
520
|
+
#
|
|
443
521
|
# @return [Response] A Response object with data of type nil
|
|
444
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
445
|
-
def
|
|
446
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
522
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/change_vulnerability_audit_compartment.rb.html) to see an example of how to use change_vulnerability_audit_compartment API.
|
|
523
|
+
def change_vulnerability_audit_compartment(vulnerability_audit_id, change_vulnerability_audit_compartment_details, opts = {})
|
|
524
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#change_vulnerability_audit_compartment.' if logger
|
|
447
525
|
|
|
448
|
-
raise "Missing the required parameter '
|
|
449
|
-
raise "
|
|
526
|
+
raise "Missing the required parameter 'vulnerability_audit_id' when calling change_vulnerability_audit_compartment." if vulnerability_audit_id.nil?
|
|
527
|
+
raise "Missing the required parameter 'change_vulnerability_audit_compartment_details' when calling change_vulnerability_audit_compartment." if change_vulnerability_audit_compartment_details.nil?
|
|
528
|
+
raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
|
|
450
529
|
|
|
451
|
-
path = '/
|
|
530
|
+
path = '/vulnerabilityAudits/{vulnerabilityAuditId}/actions/changeCompartment'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
|
|
452
531
|
operation_signing_strategy = :standard
|
|
453
532
|
|
|
454
533
|
# rubocop:disable Style/NegatedIf
|
|
@@ -461,14 +540,16 @@ module OCI
|
|
|
461
540
|
header_params[:'content-type'] = 'application/json'
|
|
462
541
|
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
463
542
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
543
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
464
544
|
# rubocop:enable Style/NegatedIf
|
|
545
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
465
546
|
|
|
466
|
-
post_body =
|
|
547
|
+
post_body = @api_client.object_to_http_body(change_vulnerability_audit_compartment_details)
|
|
467
548
|
|
|
468
549
|
# rubocop:disable Metrics/BlockLength
|
|
469
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
550
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#change_vulnerability_audit_compartment') do
|
|
470
551
|
@api_client.call_api(
|
|
471
|
-
:
|
|
552
|
+
:POST,
|
|
472
553
|
path,
|
|
473
554
|
endpoint,
|
|
474
555
|
header_params: header_params,
|
|
@@ -488,27 +569,26 @@ module OCI
|
|
|
488
569
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
489
570
|
|
|
490
571
|
|
|
491
|
-
#
|
|
492
|
-
# @param [
|
|
572
|
+
# Creates a new Knowledge Base.
|
|
573
|
+
# @param [OCI::Adm::Models::CreateKnowledgeBaseDetails] create_knowledge_base_details The details to create a new Knowledge Base.
|
|
493
574
|
# @param [Hash] opts the optional parameters
|
|
494
575
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
495
576
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
496
|
-
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
497
|
-
# for a resource, set the `if-match` parameter to the value of the
|
|
498
|
-
# etag from a previous GET or POST response for that resource.
|
|
499
|
-
# The resource will be updated or deleted only if the etag you
|
|
500
|
-
# provide matches the resource's current etag value.
|
|
501
|
-
#
|
|
502
577
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
578
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
579
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
580
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
581
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
582
|
+
# might be rejected.
|
|
583
|
+
#
|
|
503
584
|
# @return [Response] A Response object with data of type nil
|
|
504
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
505
|
-
def
|
|
506
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
585
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_knowledge_base.rb.html) to see an example of how to use create_knowledge_base API.
|
|
586
|
+
def create_knowledge_base(create_knowledge_base_details, opts = {})
|
|
587
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#create_knowledge_base.' if logger
|
|
507
588
|
|
|
508
|
-
raise "Missing the required parameter '
|
|
509
|
-
raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
|
|
589
|
+
raise "Missing the required parameter 'create_knowledge_base_details' when calling create_knowledge_base." if create_knowledge_base_details.nil?
|
|
510
590
|
|
|
511
|
-
path = '/
|
|
591
|
+
path = '/knowledgeBases'
|
|
512
592
|
operation_signing_strategy = :standard
|
|
513
593
|
|
|
514
594
|
# rubocop:disable Style/NegatedIf
|
|
@@ -519,16 +599,17 @@ module OCI
|
|
|
519
599
|
header_params = {}
|
|
520
600
|
header_params[:accept] = 'application/json'
|
|
521
601
|
header_params[:'content-type'] = 'application/json'
|
|
522
|
-
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
523
602
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
603
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
524
604
|
# rubocop:enable Style/NegatedIf
|
|
605
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
525
606
|
|
|
526
|
-
post_body =
|
|
607
|
+
post_body = @api_client.object_to_http_body(create_knowledge_base_details)
|
|
527
608
|
|
|
528
609
|
# rubocop:disable Metrics/BlockLength
|
|
529
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
610
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_knowledge_base') do
|
|
530
611
|
@api_client.call_api(
|
|
531
|
-
:
|
|
612
|
+
:POST,
|
|
532
613
|
path,
|
|
533
614
|
endpoint,
|
|
534
615
|
header_params: header_params,
|
|
@@ -548,21 +629,26 @@ module OCI
|
|
|
548
629
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
549
630
|
|
|
550
631
|
|
|
551
|
-
#
|
|
552
|
-
# @param [
|
|
632
|
+
# Creates a new Remediation Recipe.
|
|
633
|
+
# @param [OCI::Adm::Models::CreateRemediationRecipeDetails] create_remediation_recipe_details The details to create a new Remediation Recipe.
|
|
553
634
|
# @param [Hash] opts the optional parameters
|
|
554
635
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
555
636
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
556
637
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
557
|
-
# @
|
|
558
|
-
#
|
|
559
|
-
|
|
560
|
-
|
|
638
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
639
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
640
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
641
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
642
|
+
# might be rejected.
|
|
643
|
+
#
|
|
644
|
+
# @return [Response] A Response object with data of type nil
|
|
645
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_remediation_recipe.rb.html) to see an example of how to use create_remediation_recipe API.
|
|
646
|
+
def create_remediation_recipe(create_remediation_recipe_details, opts = {})
|
|
647
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#create_remediation_recipe.' if logger
|
|
561
648
|
|
|
562
|
-
raise "Missing the required parameter '
|
|
563
|
-
raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
|
|
649
|
+
raise "Missing the required parameter 'create_remediation_recipe_details' when calling create_remediation_recipe." if create_remediation_recipe_details.nil?
|
|
564
650
|
|
|
565
|
-
path = '/
|
|
651
|
+
path = '/remediationRecipes'
|
|
566
652
|
operation_signing_strategy = :standard
|
|
567
653
|
|
|
568
654
|
# rubocop:disable Style/NegatedIf
|
|
@@ -574,21 +660,22 @@ module OCI
|
|
|
574
660
|
header_params[:accept] = 'application/json'
|
|
575
661
|
header_params[:'content-type'] = 'application/json'
|
|
576
662
|
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
663
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
577
664
|
# rubocop:enable Style/NegatedIf
|
|
665
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
578
666
|
|
|
579
|
-
post_body =
|
|
667
|
+
post_body = @api_client.object_to_http_body(create_remediation_recipe_details)
|
|
580
668
|
|
|
581
669
|
# rubocop:disable Metrics/BlockLength
|
|
582
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
670
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_remediation_recipe') do
|
|
583
671
|
@api_client.call_api(
|
|
584
|
-
:
|
|
672
|
+
:POST,
|
|
585
673
|
path,
|
|
586
674
|
endpoint,
|
|
587
675
|
header_params: header_params,
|
|
588
676
|
query_params: query_params,
|
|
589
677
|
operation_signing_strategy: operation_signing_strategy,
|
|
590
|
-
body: post_body
|
|
591
|
-
return_type: 'OCI::Adm::Models::KnowledgeBase'
|
|
678
|
+
body: post_body
|
|
592
679
|
)
|
|
593
680
|
end
|
|
594
681
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -602,26 +689,996 @@ module OCI
|
|
|
602
689
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
603
690
|
|
|
604
691
|
|
|
605
|
-
#
|
|
606
|
-
# @param [
|
|
692
|
+
# Creates a new remediation run.
|
|
693
|
+
# @param [OCI::Adm::Models::CreateRemediationRunDetails] create_remediation_run_details The details used to create a new remediation run.
|
|
607
694
|
# @param [Hash] opts the optional parameters
|
|
608
695
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
609
696
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
610
697
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
611
|
-
# @
|
|
612
|
-
#
|
|
613
|
-
|
|
614
|
-
|
|
698
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
699
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
700
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
701
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
702
|
+
# might be rejected.
|
|
703
|
+
#
|
|
704
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
|
|
705
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_remediation_run.rb.html) to see an example of how to use create_remediation_run API.
|
|
706
|
+
def create_remediation_run(create_remediation_run_details, opts = {})
|
|
707
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#create_remediation_run.' if logger
|
|
708
|
+
|
|
709
|
+
raise "Missing the required parameter 'create_remediation_run_details' when calling create_remediation_run." if create_remediation_run_details.nil?
|
|
710
|
+
|
|
711
|
+
path = '/remediationRuns'
|
|
712
|
+
operation_signing_strategy = :standard
|
|
713
|
+
|
|
714
|
+
# rubocop:disable Style/NegatedIf
|
|
715
|
+
# Query Params
|
|
716
|
+
query_params = {}
|
|
717
|
+
|
|
718
|
+
# Header Params
|
|
719
|
+
header_params = {}
|
|
720
|
+
header_params[:accept] = 'application/json'
|
|
721
|
+
header_params[:'content-type'] = 'application/json'
|
|
722
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
723
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
724
|
+
# rubocop:enable Style/NegatedIf
|
|
725
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
726
|
+
|
|
727
|
+
post_body = @api_client.object_to_http_body(create_remediation_run_details)
|
|
728
|
+
|
|
729
|
+
# rubocop:disable Metrics/BlockLength
|
|
730
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_remediation_run') do
|
|
731
|
+
@api_client.call_api(
|
|
732
|
+
:POST,
|
|
733
|
+
path,
|
|
734
|
+
endpoint,
|
|
735
|
+
header_params: header_params,
|
|
736
|
+
query_params: query_params,
|
|
737
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
738
|
+
body: post_body,
|
|
739
|
+
return_type: 'OCI::Adm::Models::RemediationRun'
|
|
740
|
+
)
|
|
741
|
+
end
|
|
742
|
+
# rubocop:enable Metrics/BlockLength
|
|
743
|
+
end
|
|
744
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
745
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
746
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
747
|
+
|
|
748
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
749
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
750
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
# Creates a new Vulnerability Audit by providing a tree of Application Dependencies.
|
|
754
|
+
# @param [OCI::Adm::Models::CreateVulnerabilityAuditDetails] create_vulnerability_audit_details The details to create a new Vulnerability Audit.
|
|
755
|
+
# @param [Hash] opts the optional parameters
|
|
756
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
757
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
758
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
759
|
+
# @option opts [String] :opc_retry_token A token that uniquely identifies a request so it can be retried in case of a timeout or
|
|
760
|
+
# server error without risk of executing that same action again. Retry tokens expire after 24
|
|
761
|
+
# hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
|
762
|
+
# has been deleted and purged from the system, then a retry of the original creation request
|
|
763
|
+
# might be rejected.
|
|
764
|
+
#
|
|
765
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
766
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
767
|
+
# etag from a previous GET or POST response for that resource.
|
|
768
|
+
# The resource will be updated or deleted only if the etag you
|
|
769
|
+
# provide matches the resource's current etag value.
|
|
770
|
+
#
|
|
771
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::VulnerabilityAudit VulnerabilityAudit}
|
|
772
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/create_vulnerability_audit.rb.html) to see an example of how to use create_vulnerability_audit API.
|
|
773
|
+
def create_vulnerability_audit(create_vulnerability_audit_details, opts = {})
|
|
774
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#create_vulnerability_audit.' if logger
|
|
775
|
+
|
|
776
|
+
raise "Missing the required parameter 'create_vulnerability_audit_details' when calling create_vulnerability_audit." if create_vulnerability_audit_details.nil?
|
|
777
|
+
|
|
778
|
+
path = '/vulnerabilityAudits'
|
|
779
|
+
operation_signing_strategy = :standard
|
|
780
|
+
|
|
781
|
+
# rubocop:disable Style/NegatedIf
|
|
782
|
+
# Query Params
|
|
783
|
+
query_params = {}
|
|
784
|
+
|
|
785
|
+
# Header Params
|
|
786
|
+
header_params = {}
|
|
787
|
+
header_params[:accept] = 'application/json'
|
|
788
|
+
header_params[:'content-type'] = 'application/json'
|
|
789
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
790
|
+
header_params[:'opc-retry-token'] = opts[:opc_retry_token] if opts[:opc_retry_token]
|
|
791
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
792
|
+
# rubocop:enable Style/NegatedIf
|
|
793
|
+
header_params[:'opc-retry-token'] ||= OCI::Retry.generate_opc_retry_token
|
|
794
|
+
|
|
795
|
+
post_body = @api_client.object_to_http_body(create_vulnerability_audit_details)
|
|
796
|
+
|
|
797
|
+
# rubocop:disable Metrics/BlockLength
|
|
798
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#create_vulnerability_audit') do
|
|
799
|
+
@api_client.call_api(
|
|
800
|
+
:POST,
|
|
801
|
+
path,
|
|
802
|
+
endpoint,
|
|
803
|
+
header_params: header_params,
|
|
804
|
+
query_params: query_params,
|
|
805
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
806
|
+
body: post_body,
|
|
807
|
+
return_type: 'OCI::Adm::Models::VulnerabilityAudit'
|
|
808
|
+
)
|
|
809
|
+
end
|
|
810
|
+
# rubocop:enable Metrics/BlockLength
|
|
811
|
+
end
|
|
812
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
813
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
814
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
815
|
+
|
|
816
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
817
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
818
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
# Deactivates the specified Remediation Recipe.
|
|
822
|
+
# @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
|
|
823
|
+
# @param [Hash] opts the optional parameters
|
|
824
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
825
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
826
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
827
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
828
|
+
# etag from a previous GET or POST response for that resource.
|
|
829
|
+
# The resource will be updated or deleted only if the etag you
|
|
830
|
+
# provide matches the resource's current etag value.
|
|
831
|
+
#
|
|
832
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
833
|
+
# @return [Response] A Response object with data of type nil
|
|
834
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/deactivate_remediation_recipe.rb.html) to see an example of how to use deactivate_remediation_recipe API.
|
|
835
|
+
def deactivate_remediation_recipe(remediation_recipe_id, opts = {})
|
|
836
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#deactivate_remediation_recipe.' if logger
|
|
837
|
+
|
|
838
|
+
raise "Missing the required parameter 'remediation_recipe_id' when calling deactivate_remediation_recipe." if remediation_recipe_id.nil?
|
|
839
|
+
raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
|
|
840
|
+
|
|
841
|
+
path = '/remediationRecipes/{remediationRecipeId}/actions/deactivate'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
|
|
842
|
+
operation_signing_strategy = :standard
|
|
843
|
+
|
|
844
|
+
# rubocop:disable Style/NegatedIf
|
|
845
|
+
# Query Params
|
|
846
|
+
query_params = {}
|
|
847
|
+
|
|
848
|
+
# Header Params
|
|
849
|
+
header_params = {}
|
|
850
|
+
header_params[:accept] = 'application/json'
|
|
851
|
+
header_params[:'content-type'] = 'application/json'
|
|
852
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
853
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
854
|
+
# rubocop:enable Style/NegatedIf
|
|
855
|
+
|
|
856
|
+
post_body = nil
|
|
857
|
+
|
|
858
|
+
# rubocop:disable Metrics/BlockLength
|
|
859
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#deactivate_remediation_recipe') do
|
|
860
|
+
@api_client.call_api(
|
|
861
|
+
:POST,
|
|
862
|
+
path,
|
|
863
|
+
endpoint,
|
|
864
|
+
header_params: header_params,
|
|
865
|
+
query_params: query_params,
|
|
866
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
867
|
+
body: post_body
|
|
868
|
+
)
|
|
869
|
+
end
|
|
870
|
+
# rubocop:enable Metrics/BlockLength
|
|
871
|
+
end
|
|
872
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
873
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
874
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
875
|
+
|
|
876
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
877
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
878
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
879
|
+
|
|
880
|
+
|
|
881
|
+
# Deletes the specified Knowledge Base.
|
|
882
|
+
# @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
|
|
883
|
+
# @param [Hash] opts the optional parameters
|
|
884
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
885
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
886
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
887
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
888
|
+
# etag from a previous GET or POST response for that resource.
|
|
889
|
+
# The resource will be updated or deleted only if the etag you
|
|
890
|
+
# provide matches the resource's current etag value.
|
|
891
|
+
#
|
|
892
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
893
|
+
# @return [Response] A Response object with data of type nil
|
|
894
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_knowledge_base.rb.html) to see an example of how to use delete_knowledge_base API.
|
|
895
|
+
def delete_knowledge_base(knowledge_base_id, opts = {})
|
|
896
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_knowledge_base.' if logger
|
|
897
|
+
|
|
898
|
+
raise "Missing the required parameter 'knowledge_base_id' when calling delete_knowledge_base." if knowledge_base_id.nil?
|
|
899
|
+
raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
|
|
900
|
+
|
|
901
|
+
path = '/knowledgeBases/{knowledgeBaseId}'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
|
|
902
|
+
operation_signing_strategy = :standard
|
|
903
|
+
|
|
904
|
+
# rubocop:disable Style/NegatedIf
|
|
905
|
+
# Query Params
|
|
906
|
+
query_params = {}
|
|
907
|
+
|
|
908
|
+
# Header Params
|
|
909
|
+
header_params = {}
|
|
910
|
+
header_params[:accept] = 'application/json'
|
|
911
|
+
header_params[:'content-type'] = 'application/json'
|
|
912
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
913
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
914
|
+
# rubocop:enable Style/NegatedIf
|
|
915
|
+
|
|
916
|
+
post_body = nil
|
|
917
|
+
|
|
918
|
+
# rubocop:disable Metrics/BlockLength
|
|
919
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_knowledge_base') do
|
|
920
|
+
@api_client.call_api(
|
|
921
|
+
:DELETE,
|
|
922
|
+
path,
|
|
923
|
+
endpoint,
|
|
924
|
+
header_params: header_params,
|
|
925
|
+
query_params: query_params,
|
|
926
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
927
|
+
body: post_body
|
|
928
|
+
)
|
|
929
|
+
end
|
|
930
|
+
# rubocop:enable Metrics/BlockLength
|
|
931
|
+
end
|
|
932
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
933
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
934
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
935
|
+
|
|
936
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
937
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
938
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
939
|
+
|
|
940
|
+
|
|
941
|
+
# Deletes the specified Remediation Recipe.
|
|
942
|
+
# @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
|
|
943
|
+
# @param [Hash] opts the optional parameters
|
|
944
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
945
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
946
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
947
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
948
|
+
# etag from a previous GET or POST response for that resource.
|
|
949
|
+
# The resource will be updated or deleted only if the etag you
|
|
950
|
+
# provide matches the resource's current etag value.
|
|
951
|
+
#
|
|
952
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
953
|
+
# @return [Response] A Response object with data of type nil
|
|
954
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_remediation_recipe.rb.html) to see an example of how to use delete_remediation_recipe API.
|
|
955
|
+
def delete_remediation_recipe(remediation_recipe_id, opts = {})
|
|
956
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_remediation_recipe.' if logger
|
|
957
|
+
|
|
958
|
+
raise "Missing the required parameter 'remediation_recipe_id' when calling delete_remediation_recipe." if remediation_recipe_id.nil?
|
|
959
|
+
raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
|
|
960
|
+
|
|
961
|
+
path = '/remediationRecipes/{remediationRecipeId}'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
|
|
962
|
+
operation_signing_strategy = :standard
|
|
963
|
+
|
|
964
|
+
# rubocop:disable Style/NegatedIf
|
|
965
|
+
# Query Params
|
|
966
|
+
query_params = {}
|
|
967
|
+
|
|
968
|
+
# Header Params
|
|
969
|
+
header_params = {}
|
|
970
|
+
header_params[:accept] = 'application/json'
|
|
971
|
+
header_params[:'content-type'] = 'application/json'
|
|
972
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
973
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
974
|
+
# rubocop:enable Style/NegatedIf
|
|
975
|
+
|
|
976
|
+
post_body = nil
|
|
977
|
+
|
|
978
|
+
# rubocop:disable Metrics/BlockLength
|
|
979
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_remediation_recipe') do
|
|
980
|
+
@api_client.call_api(
|
|
981
|
+
:DELETE,
|
|
982
|
+
path,
|
|
983
|
+
endpoint,
|
|
984
|
+
header_params: header_params,
|
|
985
|
+
query_params: query_params,
|
|
986
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
987
|
+
body: post_body
|
|
988
|
+
)
|
|
989
|
+
end
|
|
990
|
+
# rubocop:enable Metrics/BlockLength
|
|
991
|
+
end
|
|
992
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
993
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
994
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
995
|
+
|
|
996
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
997
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
998
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
# Deletes the specified remediation run.
|
|
1002
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
1003
|
+
# @param [Hash] opts the optional parameters
|
|
1004
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1005
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1006
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
1007
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
1008
|
+
# etag from a previous GET or POST response for that resource.
|
|
1009
|
+
# The resource will be updated or deleted only if the etag you
|
|
1010
|
+
# provide matches the resource's current etag value.
|
|
1011
|
+
#
|
|
1012
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1013
|
+
# @return [Response] A Response object with data of type nil
|
|
1014
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_remediation_run.rb.html) to see an example of how to use delete_remediation_run API.
|
|
1015
|
+
def delete_remediation_run(remediation_run_id, opts = {})
|
|
1016
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_remediation_run.' if logger
|
|
1017
|
+
|
|
1018
|
+
raise "Missing the required parameter 'remediation_run_id' when calling delete_remediation_run." if remediation_run_id.nil?
|
|
1019
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
1020
|
+
|
|
1021
|
+
path = '/remediationRuns/{remediationRunId}'.sub('{remediationRunId}', remediation_run_id.to_s)
|
|
1022
|
+
operation_signing_strategy = :standard
|
|
1023
|
+
|
|
1024
|
+
# rubocop:disable Style/NegatedIf
|
|
1025
|
+
# Query Params
|
|
1026
|
+
query_params = {}
|
|
1027
|
+
|
|
1028
|
+
# Header Params
|
|
1029
|
+
header_params = {}
|
|
1030
|
+
header_params[:accept] = 'application/json'
|
|
1031
|
+
header_params[:'content-type'] = 'application/json'
|
|
1032
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1033
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1034
|
+
# rubocop:enable Style/NegatedIf
|
|
1035
|
+
|
|
1036
|
+
post_body = nil
|
|
1037
|
+
|
|
1038
|
+
# rubocop:disable Metrics/BlockLength
|
|
1039
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_remediation_run') do
|
|
1040
|
+
@api_client.call_api(
|
|
1041
|
+
:DELETE,
|
|
1042
|
+
path,
|
|
1043
|
+
endpoint,
|
|
1044
|
+
header_params: header_params,
|
|
1045
|
+
query_params: query_params,
|
|
1046
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1047
|
+
body: post_body
|
|
1048
|
+
)
|
|
1049
|
+
end
|
|
1050
|
+
# rubocop:enable Metrics/BlockLength
|
|
1051
|
+
end
|
|
1052
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1053
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1054
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1055
|
+
|
|
1056
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1057
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1058
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
# Deletes the specified Vulnerability Audit.
|
|
1062
|
+
# @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
|
|
1063
|
+
# @param [Hash] opts the optional parameters
|
|
1064
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1065
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1066
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
1067
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
1068
|
+
# etag from a previous GET or POST response for that resource.
|
|
1069
|
+
# The resource will be updated or deleted only if the etag you
|
|
1070
|
+
# provide matches the resource's current etag value.
|
|
1071
|
+
#
|
|
1072
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1073
|
+
# @return [Response] A Response object with data of type nil
|
|
1074
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/delete_vulnerability_audit.rb.html) to see an example of how to use delete_vulnerability_audit API.
|
|
1075
|
+
def delete_vulnerability_audit(vulnerability_audit_id, opts = {})
|
|
1076
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#delete_vulnerability_audit.' if logger
|
|
1077
|
+
|
|
1078
|
+
raise "Missing the required parameter 'vulnerability_audit_id' when calling delete_vulnerability_audit." if vulnerability_audit_id.nil?
|
|
1079
|
+
raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
|
|
1080
|
+
|
|
1081
|
+
path = '/vulnerabilityAudits/{vulnerabilityAuditId}'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
|
|
1082
|
+
operation_signing_strategy = :standard
|
|
1083
|
+
|
|
1084
|
+
# rubocop:disable Style/NegatedIf
|
|
1085
|
+
# Query Params
|
|
1086
|
+
query_params = {}
|
|
1087
|
+
|
|
1088
|
+
# Header Params
|
|
1089
|
+
header_params = {}
|
|
1090
|
+
header_params[:accept] = 'application/json'
|
|
1091
|
+
header_params[:'content-type'] = 'application/json'
|
|
1092
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
1093
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1094
|
+
# rubocop:enable Style/NegatedIf
|
|
1095
|
+
|
|
1096
|
+
post_body = nil
|
|
1097
|
+
|
|
1098
|
+
# rubocop:disable Metrics/BlockLength
|
|
1099
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#delete_vulnerability_audit') do
|
|
1100
|
+
@api_client.call_api(
|
|
1101
|
+
:DELETE,
|
|
1102
|
+
path,
|
|
1103
|
+
endpoint,
|
|
1104
|
+
header_params: header_params,
|
|
1105
|
+
query_params: query_params,
|
|
1106
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1107
|
+
body: post_body
|
|
1108
|
+
)
|
|
1109
|
+
end
|
|
1110
|
+
# rubocop:enable Metrics/BlockLength
|
|
1111
|
+
end
|
|
1112
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1113
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1114
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1115
|
+
|
|
1116
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1117
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1118
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
# Returns the details of the specified Knowledge Base.
|
|
1122
|
+
# @param [String] knowledge_base_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Knowledge Base, as a URL path parameter.
|
|
1123
|
+
# @param [Hash] opts the optional parameters
|
|
1124
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1125
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1126
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1127
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::KnowledgeBase KnowledgeBase}
|
|
1128
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_knowledge_base.rb.html) to see an example of how to use get_knowledge_base API.
|
|
1129
|
+
def get_knowledge_base(knowledge_base_id, opts = {})
|
|
1130
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#get_knowledge_base.' if logger
|
|
1131
|
+
|
|
1132
|
+
raise "Missing the required parameter 'knowledge_base_id' when calling get_knowledge_base." if knowledge_base_id.nil?
|
|
1133
|
+
raise "Parameter value for 'knowledge_base_id' must not be blank" if OCI::Internal::Util.blank_string?(knowledge_base_id)
|
|
1134
|
+
|
|
1135
|
+
path = '/knowledgeBases/{knowledgeBaseId}'.sub('{knowledgeBaseId}', knowledge_base_id.to_s)
|
|
1136
|
+
operation_signing_strategy = :standard
|
|
1137
|
+
|
|
1138
|
+
# rubocop:disable Style/NegatedIf
|
|
1139
|
+
# Query Params
|
|
1140
|
+
query_params = {}
|
|
1141
|
+
|
|
1142
|
+
# Header Params
|
|
1143
|
+
header_params = {}
|
|
1144
|
+
header_params[:accept] = 'application/json'
|
|
1145
|
+
header_params[:'content-type'] = 'application/json'
|
|
1146
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1147
|
+
# rubocop:enable Style/NegatedIf
|
|
1148
|
+
|
|
1149
|
+
post_body = nil
|
|
1150
|
+
|
|
1151
|
+
# rubocop:disable Metrics/BlockLength
|
|
1152
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_knowledge_base') do
|
|
1153
|
+
@api_client.call_api(
|
|
1154
|
+
:GET,
|
|
1155
|
+
path,
|
|
1156
|
+
endpoint,
|
|
1157
|
+
header_params: header_params,
|
|
1158
|
+
query_params: query_params,
|
|
1159
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1160
|
+
body: post_body,
|
|
1161
|
+
return_type: 'OCI::Adm::Models::KnowledgeBase'
|
|
1162
|
+
)
|
|
1163
|
+
end
|
|
1164
|
+
# rubocop:enable Metrics/BlockLength
|
|
1165
|
+
end
|
|
1166
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1167
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1168
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1169
|
+
|
|
1170
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1171
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1172
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1173
|
+
|
|
1174
|
+
|
|
1175
|
+
# Returns the details of the specified RemediationRecipe.
|
|
1176
|
+
# @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
|
|
1177
|
+
# @param [Hash] opts the optional parameters
|
|
1178
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1179
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1180
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1181
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRecipe RemediationRecipe}
|
|
1182
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_remediation_recipe.rb.html) to see an example of how to use get_remediation_recipe API.
|
|
1183
|
+
def get_remediation_recipe(remediation_recipe_id, opts = {})
|
|
1184
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#get_remediation_recipe.' if logger
|
|
1185
|
+
|
|
1186
|
+
raise "Missing the required parameter 'remediation_recipe_id' when calling get_remediation_recipe." if remediation_recipe_id.nil?
|
|
1187
|
+
raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
|
|
1188
|
+
|
|
1189
|
+
path = '/remediationRecipes/{remediationRecipeId}'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
|
|
1190
|
+
operation_signing_strategy = :standard
|
|
1191
|
+
|
|
1192
|
+
# rubocop:disable Style/NegatedIf
|
|
1193
|
+
# Query Params
|
|
1194
|
+
query_params = {}
|
|
1195
|
+
|
|
1196
|
+
# Header Params
|
|
1197
|
+
header_params = {}
|
|
1198
|
+
header_params[:accept] = 'application/json'
|
|
1199
|
+
header_params[:'content-type'] = 'application/json'
|
|
1200
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1201
|
+
# rubocop:enable Style/NegatedIf
|
|
1202
|
+
|
|
1203
|
+
post_body = nil
|
|
1204
|
+
|
|
1205
|
+
# rubocop:disable Metrics/BlockLength
|
|
1206
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_remediation_recipe') do
|
|
1207
|
+
@api_client.call_api(
|
|
1208
|
+
:GET,
|
|
1209
|
+
path,
|
|
1210
|
+
endpoint,
|
|
1211
|
+
header_params: header_params,
|
|
1212
|
+
query_params: query_params,
|
|
1213
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1214
|
+
body: post_body,
|
|
1215
|
+
return_type: 'OCI::Adm::Models::RemediationRecipe'
|
|
1216
|
+
)
|
|
1217
|
+
end
|
|
1218
|
+
# rubocop:enable Metrics/BlockLength
|
|
1219
|
+
end
|
|
1220
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1221
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1222
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1223
|
+
|
|
1224
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1225
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1226
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
# Returns the details of the specified remediation run.
|
|
1230
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
1231
|
+
# @param [Hash] opts the optional parameters
|
|
1232
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1233
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1234
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1235
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
|
|
1236
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_remediation_run.rb.html) to see an example of how to use get_remediation_run API.
|
|
1237
|
+
def get_remediation_run(remediation_run_id, opts = {})
|
|
1238
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#get_remediation_run.' if logger
|
|
1239
|
+
|
|
1240
|
+
raise "Missing the required parameter 'remediation_run_id' when calling get_remediation_run." if remediation_run_id.nil?
|
|
1241
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
1242
|
+
|
|
1243
|
+
path = '/remediationRuns/{remediationRunId}'.sub('{remediationRunId}', remediation_run_id.to_s)
|
|
1244
|
+
operation_signing_strategy = :standard
|
|
1245
|
+
|
|
1246
|
+
# rubocop:disable Style/NegatedIf
|
|
1247
|
+
# Query Params
|
|
1248
|
+
query_params = {}
|
|
1249
|
+
|
|
1250
|
+
# Header Params
|
|
1251
|
+
header_params = {}
|
|
1252
|
+
header_params[:accept] = 'application/json'
|
|
1253
|
+
header_params[:'content-type'] = 'application/json'
|
|
1254
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1255
|
+
# rubocop:enable Style/NegatedIf
|
|
1256
|
+
|
|
1257
|
+
post_body = nil
|
|
1258
|
+
|
|
1259
|
+
# rubocop:disable Metrics/BlockLength
|
|
1260
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_remediation_run') do
|
|
1261
|
+
@api_client.call_api(
|
|
1262
|
+
:GET,
|
|
1263
|
+
path,
|
|
1264
|
+
endpoint,
|
|
1265
|
+
header_params: header_params,
|
|
1266
|
+
query_params: query_params,
|
|
1267
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1268
|
+
body: post_body,
|
|
1269
|
+
return_type: 'OCI::Adm::Models::RemediationRun'
|
|
1270
|
+
)
|
|
1271
|
+
end
|
|
1272
|
+
# rubocop:enable Metrics/BlockLength
|
|
1273
|
+
end
|
|
1274
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1275
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1276
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1277
|
+
|
|
1278
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1279
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1280
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1281
|
+
|
|
1282
|
+
|
|
1283
|
+
# Returns the details of the specified Remediation Run Stage.
|
|
1284
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
1285
|
+
# @param [String] stage_type The type of Remediation Run Stage, as a URL path parameter.
|
|
1286
|
+
# @param [Hash] opts the optional parameters
|
|
1287
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1288
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1289
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1290
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRunStage RemediationRunStage}
|
|
1291
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_stage.rb.html) to see an example of how to use get_stage API.
|
|
1292
|
+
def get_stage(remediation_run_id, stage_type, opts = {})
|
|
1293
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#get_stage.' if logger
|
|
1294
|
+
|
|
1295
|
+
raise "Missing the required parameter 'remediation_run_id' when calling get_stage." if remediation_run_id.nil?
|
|
1296
|
+
raise "Missing the required parameter 'stage_type' when calling get_stage." if stage_type.nil?
|
|
1297
|
+
unless OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.include?(stage_type)
|
|
1298
|
+
raise 'Invalid value for "stage_type", must be one of the values in OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.'
|
|
1299
|
+
end
|
|
1300
|
+
|
|
1301
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
1302
|
+
raise "Parameter value for 'stage_type' must not be blank" if OCI::Internal::Util.blank_string?(stage_type)
|
|
1303
|
+
|
|
1304
|
+
path = '/remediationRuns/{remediationRunId}/stages/{stageType}'.sub('{remediationRunId}', remediation_run_id.to_s).sub('{stageType}', stage_type.to_s)
|
|
1305
|
+
operation_signing_strategy = :standard
|
|
1306
|
+
|
|
1307
|
+
# rubocop:disable Style/NegatedIf
|
|
1308
|
+
# Query Params
|
|
1309
|
+
query_params = {}
|
|
1310
|
+
|
|
1311
|
+
# Header Params
|
|
1312
|
+
header_params = {}
|
|
1313
|
+
header_params[:accept] = 'application/json'
|
|
1314
|
+
header_params[:'content-type'] = 'application/json'
|
|
1315
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1316
|
+
# rubocop:enable Style/NegatedIf
|
|
1317
|
+
|
|
1318
|
+
post_body = nil
|
|
1319
|
+
|
|
1320
|
+
# rubocop:disable Metrics/BlockLength
|
|
1321
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_stage') do
|
|
1322
|
+
@api_client.call_api(
|
|
1323
|
+
:GET,
|
|
1324
|
+
path,
|
|
1325
|
+
endpoint,
|
|
1326
|
+
header_params: header_params,
|
|
1327
|
+
query_params: query_params,
|
|
1328
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1329
|
+
body: post_body,
|
|
1330
|
+
return_type: 'OCI::Adm::Models::RemediationRunStage'
|
|
1331
|
+
)
|
|
1332
|
+
end
|
|
1333
|
+
# rubocop:enable Metrics/BlockLength
|
|
1334
|
+
end
|
|
1335
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1336
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1337
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1338
|
+
|
|
1339
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1340
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1341
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
# Returns the details of the specified Vulnerability Audit.
|
|
1345
|
+
# @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
|
|
1346
|
+
# @param [Hash] opts the optional parameters
|
|
1347
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1348
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1349
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1350
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::VulnerabilityAudit VulnerabilityAudit}
|
|
1351
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_vulnerability_audit.rb.html) to see an example of how to use get_vulnerability_audit API.
|
|
1352
|
+
def get_vulnerability_audit(vulnerability_audit_id, opts = {})
|
|
1353
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#get_vulnerability_audit.' if logger
|
|
1354
|
+
|
|
1355
|
+
raise "Missing the required parameter 'vulnerability_audit_id' when calling get_vulnerability_audit." if vulnerability_audit_id.nil?
|
|
1356
|
+
raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
|
|
1357
|
+
|
|
1358
|
+
path = '/vulnerabilityAudits/{vulnerabilityAuditId}'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
|
|
1359
|
+
operation_signing_strategy = :standard
|
|
1360
|
+
|
|
1361
|
+
# rubocop:disable Style/NegatedIf
|
|
1362
|
+
# Query Params
|
|
1363
|
+
query_params = {}
|
|
1364
|
+
|
|
1365
|
+
# Header Params
|
|
1366
|
+
header_params = {}
|
|
1367
|
+
header_params[:accept] = 'application/json'
|
|
1368
|
+
header_params[:'content-type'] = 'application/json'
|
|
1369
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1370
|
+
# rubocop:enable Style/NegatedIf
|
|
1371
|
+
|
|
1372
|
+
post_body = nil
|
|
1373
|
+
|
|
1374
|
+
# rubocop:disable Metrics/BlockLength
|
|
1375
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_vulnerability_audit') do
|
|
1376
|
+
@api_client.call_api(
|
|
1377
|
+
:GET,
|
|
1378
|
+
path,
|
|
1379
|
+
endpoint,
|
|
1380
|
+
header_params: header_params,
|
|
1381
|
+
query_params: query_params,
|
|
1382
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1383
|
+
body: post_body,
|
|
1384
|
+
return_type: 'OCI::Adm::Models::VulnerabilityAudit'
|
|
1385
|
+
)
|
|
1386
|
+
end
|
|
1387
|
+
# rubocop:enable Metrics/BlockLength
|
|
1388
|
+
end
|
|
1389
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1390
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1391
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1392
|
+
|
|
1393
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1394
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1395
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1396
|
+
|
|
1397
|
+
|
|
1398
|
+
# Gets the status of the work request with the given ID.
|
|
1399
|
+
# @param [String] work_request_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the asynchronous request.
|
|
1400
|
+
# @param [Hash] opts the optional parameters
|
|
1401
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1402
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1403
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1404
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::WorkRequest WorkRequest}
|
|
1405
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/get_work_request.rb.html) to see an example of how to use get_work_request API.
|
|
1406
|
+
def get_work_request(work_request_id, opts = {})
|
|
1407
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#get_work_request.' if logger
|
|
1408
|
+
|
|
1409
|
+
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
|
1410
|
+
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
1411
|
+
|
|
1412
|
+
path = '/workRequests/{workRequestId}'.sub('{workRequestId}', work_request_id.to_s)
|
|
1413
|
+
operation_signing_strategy = :standard
|
|
1414
|
+
|
|
1415
|
+
# rubocop:disable Style/NegatedIf
|
|
1416
|
+
# Query Params
|
|
1417
|
+
query_params = {}
|
|
1418
|
+
|
|
1419
|
+
# Header Params
|
|
1420
|
+
header_params = {}
|
|
1421
|
+
header_params[:accept] = 'application/json'
|
|
1422
|
+
header_params[:'content-type'] = 'application/json'
|
|
1423
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1424
|
+
# rubocop:enable Style/NegatedIf
|
|
1425
|
+
|
|
1426
|
+
post_body = nil
|
|
1427
|
+
|
|
1428
|
+
# rubocop:disable Metrics/BlockLength
|
|
1429
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#get_work_request') do
|
|
1430
|
+
@api_client.call_api(
|
|
1431
|
+
:GET,
|
|
1432
|
+
path,
|
|
1433
|
+
endpoint,
|
|
1434
|
+
header_params: header_params,
|
|
1435
|
+
query_params: query_params,
|
|
1436
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1437
|
+
body: post_body,
|
|
1438
|
+
return_type: 'OCI::Adm::Models::WorkRequest'
|
|
1439
|
+
)
|
|
1440
|
+
end
|
|
1441
|
+
# rubocop:enable Metrics/BlockLength
|
|
1442
|
+
end
|
|
1443
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1444
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1445
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1446
|
+
|
|
1447
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1448
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1449
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
# Returns a list of application dependency with their associated recommendations.
|
|
1453
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
1454
|
+
# @param [Hash] opts the optional parameters
|
|
1455
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1456
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1457
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1458
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
1459
|
+
# @option opts [String] :page 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.
|
|
1460
|
+
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
|
|
1461
|
+
# @option opts [String] :gav A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
|
|
1462
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided.
|
|
1463
|
+
# If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
|
|
1464
|
+
# If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
|
|
1465
|
+
# Default order for gav is ascending where ascending corresponds to alphanumerical order.
|
|
1466
|
+
# Default order for nodeId is ascending where ascending corresponds to alphanumerical order.
|
|
1467
|
+
# Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: \"gav\", \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\" and \"vulnerabilityId\".
|
|
1468
|
+
# (default to gav)
|
|
1469
|
+
# Allowed values are: gav, nodeId, dfs, bfs
|
|
1470
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::ApplicationDependencyRecommendationCollection ApplicationDependencyRecommendationCollection}
|
|
1471
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_application_dependency_recommendations.rb.html) to see an example of how to use list_application_dependency_recommendations API.
|
|
1472
|
+
def list_application_dependency_recommendations(remediation_run_id, opts = {})
|
|
1473
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#list_application_dependency_recommendations.' if logger
|
|
1474
|
+
|
|
1475
|
+
raise "Missing the required parameter 'remediation_run_id' when calling list_application_dependency_recommendations." if remediation_run_id.nil?
|
|
1476
|
+
|
|
1477
|
+
if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1478
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
if opts[:sort_by] && !%w[gav nodeId dfs bfs].include?(opts[:sort_by])
|
|
1482
|
+
raise 'Invalid value for "sort_by", must be one of gav, nodeId, dfs, bfs.'
|
|
1483
|
+
end
|
|
1484
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
1485
|
+
|
|
1486
|
+
path = '/remediationRuns/{remediationRunId}/applicationDependencyRecommendations'.sub('{remediationRunId}', remediation_run_id.to_s)
|
|
1487
|
+
operation_signing_strategy = :standard
|
|
1488
|
+
|
|
1489
|
+
# rubocop:disable Style/NegatedIf
|
|
1490
|
+
# Query Params
|
|
1491
|
+
query_params = {}
|
|
1492
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1493
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1494
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1495
|
+
query_params[:gav] = opts[:gav] if opts[:gav]
|
|
1496
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1497
|
+
|
|
1498
|
+
# Header Params
|
|
1499
|
+
header_params = {}
|
|
1500
|
+
header_params[:accept] = 'application/json'
|
|
1501
|
+
header_params[:'content-type'] = 'application/json'
|
|
1502
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1503
|
+
# rubocop:enable Style/NegatedIf
|
|
1504
|
+
|
|
1505
|
+
post_body = nil
|
|
1506
|
+
|
|
1507
|
+
# rubocop:disable Metrics/BlockLength
|
|
1508
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_application_dependency_recommendations') do
|
|
1509
|
+
@api_client.call_api(
|
|
1510
|
+
:GET,
|
|
1511
|
+
path,
|
|
1512
|
+
endpoint,
|
|
1513
|
+
header_params: header_params,
|
|
1514
|
+
query_params: query_params,
|
|
1515
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1516
|
+
body: post_body,
|
|
1517
|
+
return_type: 'OCI::Adm::Models::ApplicationDependencyRecommendationCollection'
|
|
1518
|
+
)
|
|
1519
|
+
end
|
|
1520
|
+
# rubocop:enable Metrics/BlockLength
|
|
1521
|
+
end
|
|
1522
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1523
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1524
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1525
|
+
|
|
1526
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1527
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1528
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1529
|
+
|
|
1530
|
+
|
|
1531
|
+
# Returns a list of Application Dependencies with their associated vulnerabilities.
|
|
1532
|
+
# @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
|
|
1533
|
+
# @param [Hash] opts the optional parameters
|
|
1534
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1535
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1536
|
+
# @option opts [String] :vulnerability_id A filter to return only Vulnerability Audits that match the specified id.
|
|
1537
|
+
# @option opts [Float] :cvss_v3_greater_than_or_equal A filter that returns only Vulnerability Audits that have a Common Vulnerability Scoring System Version 3 (CVSS V3) greater or equal than the specified value.
|
|
1538
|
+
# (default to 0)
|
|
1539
|
+
# @option opts [Float] :cvss_v2_greater_than_or_equal A filter that returns only Vulnerability Audits that have a Common Vulnerability Scoring System Version 2 (CVSS V2) greater or equal than the specified value.
|
|
1540
|
+
# (default to 0)
|
|
1541
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
1542
|
+
# @option opts [String] :page 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.
|
|
1543
|
+
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
|
|
1544
|
+
# @option opts [String] :sort_by The field to sort by. Only one sort order may be provided.
|
|
1545
|
+
# If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
|
|
1546
|
+
# If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending.
|
|
1547
|
+
# Default order for gav is ascending where ascending corresponds to alphanumerical order.
|
|
1548
|
+
# Default order for nodeId is ascending where ascending corresponds to alphanumerical order.
|
|
1549
|
+
# Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: \"gav\", \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\" and \"vulnerabilityId\".
|
|
1550
|
+
# (default to gav)
|
|
1551
|
+
# Allowed values are: gav, nodeId, dfs, bfs
|
|
1552
|
+
# @option opts [String] :root_node_id A filter to override the top level root identifier with the new given value. The application dependency tree will only be traversed from the given node.
|
|
1553
|
+
# Query parameters \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\", \"gav\" and \"vulnerabilityId\" cannot be used in conjunction with this parameter.
|
|
1554
|
+
# (default to null)
|
|
1555
|
+
# @option opts [Integer] :depth A filter to limit depth of the application dependencies tree traversal.
|
|
1556
|
+
# Additionally query parameters such as \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\", \"gav\" and \"vulnerabilityId\" can't be used in conjunction with this latter.
|
|
1557
|
+
#
|
|
1558
|
+
# @option opts [String] :gav A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
|
|
1559
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1560
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::ApplicationDependencyVulnerabilityCollection ApplicationDependencyVulnerabilityCollection}
|
|
1561
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_application_dependency_vulnerabilities.rb.html) to see an example of how to use list_application_dependency_vulnerabilities API.
|
|
1562
|
+
def list_application_dependency_vulnerabilities(vulnerability_audit_id, opts = {})
|
|
1563
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#list_application_dependency_vulnerabilities.' if logger
|
|
1564
|
+
|
|
1565
|
+
raise "Missing the required parameter 'vulnerability_audit_id' when calling list_application_dependency_vulnerabilities." if vulnerability_audit_id.nil?
|
|
1566
|
+
|
|
1567
|
+
if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1568
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
|
|
1569
|
+
end
|
|
1570
|
+
|
|
1571
|
+
if opts[:sort_by] && !%w[gav nodeId dfs bfs].include?(opts[:sort_by])
|
|
1572
|
+
raise 'Invalid value for "sort_by", must be one of gav, nodeId, dfs, bfs.'
|
|
1573
|
+
end
|
|
1574
|
+
raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
|
|
1575
|
+
|
|
1576
|
+
path = '/vulnerabilityAudits/{vulnerabilityAuditId}/applicationDependencyVulnerabilities'.sub('{vulnerabilityAuditId}', vulnerability_audit_id.to_s)
|
|
1577
|
+
operation_signing_strategy = :standard
|
|
1578
|
+
|
|
1579
|
+
# rubocop:disable Style/NegatedIf
|
|
1580
|
+
# Query Params
|
|
1581
|
+
query_params = {}
|
|
1582
|
+
query_params[:vulnerabilityId] = opts[:vulnerability_id] if opts[:vulnerability_id]
|
|
1583
|
+
query_params[:cvssV3GreaterThanOrEqual] = opts[:cvss_v3_greater_than_or_equal] if opts[:cvss_v3_greater_than_or_equal]
|
|
1584
|
+
query_params[:cvssV2GreaterThanOrEqual] = opts[:cvss_v2_greater_than_or_equal] if opts[:cvss_v2_greater_than_or_equal]
|
|
1585
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1586
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1587
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1588
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1589
|
+
query_params[:rootNodeId] = opts[:root_node_id] if opts[:root_node_id]
|
|
1590
|
+
query_params[:depth] = opts[:depth] if opts[:depth]
|
|
1591
|
+
query_params[:gav] = opts[:gav] if opts[:gav]
|
|
1592
|
+
|
|
1593
|
+
# Header Params
|
|
1594
|
+
header_params = {}
|
|
1595
|
+
header_params[:accept] = 'application/json'
|
|
1596
|
+
header_params[:'content-type'] = 'application/json'
|
|
1597
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
1598
|
+
# rubocop:enable Style/NegatedIf
|
|
1599
|
+
|
|
1600
|
+
post_body = nil
|
|
1601
|
+
|
|
1602
|
+
# rubocop:disable Metrics/BlockLength
|
|
1603
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_application_dependency_vulnerabilities') do
|
|
1604
|
+
@api_client.call_api(
|
|
1605
|
+
:GET,
|
|
1606
|
+
path,
|
|
1607
|
+
endpoint,
|
|
1608
|
+
header_params: header_params,
|
|
1609
|
+
query_params: query_params,
|
|
1610
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
1611
|
+
body: post_body,
|
|
1612
|
+
return_type: 'OCI::Adm::Models::ApplicationDependencyVulnerabilityCollection'
|
|
1613
|
+
)
|
|
1614
|
+
end
|
|
1615
|
+
# rubocop:enable Metrics/BlockLength
|
|
1616
|
+
end
|
|
1617
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1618
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1619
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
1620
|
+
|
|
1621
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
1622
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
1623
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1624
|
+
|
|
1625
|
+
|
|
1626
|
+
# Returns a list of KnowledgeBases based on the specified query parameters.
|
|
1627
|
+
# At least id or compartmentId query parameter must be provided.
|
|
1628
|
+
#
|
|
1629
|
+
# @param [Hash] opts the optional parameters
|
|
1630
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1631
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1632
|
+
# @option opts [String] :id A filter to return only resources that match the specified identifier.
|
|
1633
|
+
# Required only if the compartmentId query parameter is not specified.
|
|
1634
|
+
#
|
|
1635
|
+
# @option opts [String] :sort_by The field used to sort Knowledge Bases. Only one sort order is allowed.
|
|
1636
|
+
# Default order for _displayName_ is **ascending alphabetical order**.
|
|
1637
|
+
# Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, FAILED, DELETING, and DELETED**.Default order for _timeCreated_ is **descending**.
|
|
1638
|
+
# Default order for _timeUpdated_ is **descending**.
|
|
1639
|
+
# (default to timeCreated)
|
|
1640
|
+
# Allowed values are: DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED
|
|
1641
|
+
# @option opts [String] :lifecycle_state A filter to return only Knowledge Bases that match the specified lifecycleState.
|
|
1642
|
+
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
|
|
1643
|
+
# @option opts [String] :display_name A filter to return only resources that match the entire display name given.
|
|
1644
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
1645
|
+
# @option opts [String] :page 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.
|
|
1646
|
+
# @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
|
|
1647
|
+
# Required only if the id query param is not specified.
|
|
1648
|
+
#
|
|
1649
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
1650
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::KnowledgeBaseCollection KnowledgeBaseCollection}
|
|
1651
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_knowledge_bases.rb.html) to see an example of how to use list_knowledge_bases API.
|
|
1652
|
+
def list_knowledge_bases(opts = {})
|
|
1653
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#list_knowledge_bases.' if logger
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
if opts[:sort_by] && !%w[DISPLAY_NAME LIFECYCLE_STATE TIME_CREATED TIME_UPDATED].include?(opts[:sort_by])
|
|
1657
|
+
raise 'Invalid value for "sort_by", must be one of DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED.'
|
|
1658
|
+
end
|
|
1659
|
+
|
|
1660
|
+
if opts[:lifecycle_state] && !OCI::Adm::Models::KnowledgeBase::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
1661
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Adm::Models::KnowledgeBase::LIFECYCLE_STATE_ENUM.'
|
|
1662
|
+
end
|
|
615
1663
|
|
|
616
|
-
|
|
617
|
-
|
|
1664
|
+
if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1665
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
|
|
1666
|
+
end
|
|
618
1667
|
|
|
619
|
-
path = '/
|
|
1668
|
+
path = '/knowledgeBases'
|
|
620
1669
|
operation_signing_strategy = :standard
|
|
621
1670
|
|
|
622
1671
|
# rubocop:disable Style/NegatedIf
|
|
623
1672
|
# Query Params
|
|
624
1673
|
query_params = {}
|
|
1674
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
1675
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1676
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1677
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1678
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
1679
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1680
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1681
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
625
1682
|
|
|
626
1683
|
# Header Params
|
|
627
1684
|
header_params = {}
|
|
@@ -633,7 +1690,7 @@ module OCI
|
|
|
633
1690
|
post_body = nil
|
|
634
1691
|
|
|
635
1692
|
# rubocop:disable Metrics/BlockLength
|
|
636
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
1693
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_knowledge_bases') do
|
|
637
1694
|
@api_client.call_api(
|
|
638
1695
|
:GET,
|
|
639
1696
|
path,
|
|
@@ -642,7 +1699,7 @@ module OCI
|
|
|
642
1699
|
query_params: query_params,
|
|
643
1700
|
operation_signing_strategy: operation_signing_strategy,
|
|
644
1701
|
body: post_body,
|
|
645
|
-
return_type: 'OCI::Adm::Models::
|
|
1702
|
+
return_type: 'OCI::Adm::Models::KnowledgeBaseCollection'
|
|
646
1703
|
)
|
|
647
1704
|
end
|
|
648
1705
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -656,26 +1713,64 @@ module OCI
|
|
|
656
1713
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
657
1714
|
|
|
658
1715
|
|
|
659
|
-
#
|
|
660
|
-
#
|
|
1716
|
+
# Returns a list of Remediation Recipes based on the specified query parameters.
|
|
1717
|
+
# The query parameters `compartmentId` or `id` must be provided.
|
|
1718
|
+
#
|
|
661
1719
|
# @param [Hash] opts the optional parameters
|
|
662
1720
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
663
1721
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1722
|
+
# @option opts [String] :id A filter to return only resources that match the specified identifier.
|
|
1723
|
+
# Required only if the compartmentId query parameter is not specified.
|
|
1724
|
+
#
|
|
1725
|
+
# @option opts [String] :sort_by The field used to sort Remediation Recipes. Only one sort order is allowed.
|
|
1726
|
+
# Default order for _displayName_ is **ascending alphabetical order**.
|
|
1727
|
+
# Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, INACTIVE, FAILED, DELETING, and DELETED**.
|
|
1728
|
+
# Default order for _timeCreated_ is **descending**.
|
|
1729
|
+
# Default order for _timeUpdated_ is **descending**.
|
|
1730
|
+
# Default order for _type_ is the following sequence: **ADM**.
|
|
1731
|
+
# (default to timeCreated)
|
|
1732
|
+
# Allowed values are: DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED, TYPE
|
|
1733
|
+
# @option opts [String] :lifecycle_state A filter to return only Remediation Recipes that match the specified lifecycleState.
|
|
1734
|
+
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
|
|
1735
|
+
# @option opts [String] :display_name A filter to return only resources that match the entire display name given.
|
|
1736
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
1737
|
+
# @option opts [String] :page 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.
|
|
1738
|
+
# @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
|
|
1739
|
+
# Required only if the id query param is not specified.
|
|
1740
|
+
#
|
|
664
1741
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
665
|
-
# @return [Response] A Response object with data of type {OCI::Adm::Models::
|
|
666
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
667
|
-
def
|
|
668
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
1742
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRecipeCollection RemediationRecipeCollection}
|
|
1743
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_remediation_recipes.rb.html) to see an example of how to use list_remediation_recipes API.
|
|
1744
|
+
def list_remediation_recipes(opts = {})
|
|
1745
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#list_remediation_recipes.' if logger
|
|
669
1746
|
|
|
670
|
-
raise "Missing the required parameter 'work_request_id' when calling get_work_request." if work_request_id.nil?
|
|
671
|
-
raise "Parameter value for 'work_request_id' must not be blank" if OCI::Internal::Util.blank_string?(work_request_id)
|
|
672
1747
|
|
|
673
|
-
|
|
1748
|
+
if opts[:sort_by] && !%w[DISPLAY_NAME LIFECYCLE_STATE TIME_CREATED TIME_UPDATED TYPE].include?(opts[:sort_by])
|
|
1749
|
+
raise 'Invalid value for "sort_by", must be one of DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED, TYPE.'
|
|
1750
|
+
end
|
|
1751
|
+
|
|
1752
|
+
if opts[:lifecycle_state] && !OCI::Adm::Models::RemediationRecipe::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
1753
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Adm::Models::RemediationRecipe::LIFECYCLE_STATE_ENUM.'
|
|
1754
|
+
end
|
|
1755
|
+
|
|
1756
|
+
if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
1757
|
+
raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
|
|
1758
|
+
end
|
|
1759
|
+
|
|
1760
|
+
path = '/remediationRecipes'
|
|
674
1761
|
operation_signing_strategy = :standard
|
|
675
1762
|
|
|
676
1763
|
# rubocop:disable Style/NegatedIf
|
|
677
1764
|
# Query Params
|
|
678
1765
|
query_params = {}
|
|
1766
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
1767
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
1768
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1769
|
+
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
1770
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
1771
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1772
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
1773
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
679
1774
|
|
|
680
1775
|
# Header Params
|
|
681
1776
|
header_params = {}
|
|
@@ -687,7 +1782,7 @@ module OCI
|
|
|
687
1782
|
post_body = nil
|
|
688
1783
|
|
|
689
1784
|
# rubocop:disable Metrics/BlockLength
|
|
690
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
1785
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_remediation_recipes') do
|
|
691
1786
|
@api_client.call_api(
|
|
692
1787
|
:GET,
|
|
693
1788
|
path,
|
|
@@ -696,7 +1791,7 @@ module OCI
|
|
|
696
1791
|
query_params: query_params,
|
|
697
1792
|
operation_signing_strategy: operation_signing_strategy,
|
|
698
1793
|
body: post_body,
|
|
699
|
-
return_type: 'OCI::Adm::Models::
|
|
1794
|
+
return_type: 'OCI::Adm::Models::RemediationRecipeCollection'
|
|
700
1795
|
)
|
|
701
1796
|
end
|
|
702
1797
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -710,67 +1805,67 @@ module OCI
|
|
|
710
1805
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
711
1806
|
|
|
712
1807
|
|
|
713
|
-
# Returns a list of
|
|
714
|
-
#
|
|
1808
|
+
# Returns a list of remediation runs contained by a compartment.
|
|
1809
|
+
# The query parameter `compartmentId` is required unless the query parameter `id` is specified.
|
|
1810
|
+
#
|
|
715
1811
|
# @param [Hash] opts the optional parameters
|
|
716
1812
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
717
1813
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
718
|
-
# @option opts [String] :
|
|
719
|
-
#
|
|
720
|
-
#
|
|
721
|
-
# @option opts [
|
|
722
|
-
#
|
|
723
|
-
# @option opts [
|
|
724
|
-
# @option opts [String] :page 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.
|
|
1814
|
+
# @option opts [String] :id A filter to return only resources that match the specified identifier.
|
|
1815
|
+
# Required only if the compartmentId query parameter is not specified.
|
|
1816
|
+
#
|
|
1817
|
+
# @option opts [String] :remediation_recipe_id A filter to return only resources that match the specified Remediation Recipe identifier.
|
|
1818
|
+
# @option opts [String] :lifecycle_state A filter to return only Remediation Runs that match the specified lifecycleState.
|
|
1819
|
+
# @option opts [String] :display_name A filter to return only resources that match the entire display name given.
|
|
725
1820
|
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
|
|
726
|
-
# @option opts [String] :sort_by The field to sort
|
|
727
|
-
#
|
|
728
|
-
#
|
|
729
|
-
# Default order for
|
|
730
|
-
# Default order for
|
|
731
|
-
#
|
|
732
|
-
#
|
|
733
|
-
#
|
|
734
|
-
#
|
|
735
|
-
#
|
|
736
|
-
#
|
|
737
|
-
# @option opts [Integer] :depth A filter to limit depth of the application dependencies tree traversal.
|
|
738
|
-
# Additionally query parameters such as \"cvssV2GreaterThanOrEqual\", \"cvssV3GreaterThanOrEqual\", \"gav\" and \"vulnerabilityId\" can't be used in conjunction with this latter.
|
|
1821
|
+
# @option opts [String] :sort_by The field used to sort Remediation Runs. Only one sort order is allowed.
|
|
1822
|
+
# Default order for _timeCreated_ is **descending**.
|
|
1823
|
+
# Default order for _timeFinished_ is **descending**.
|
|
1824
|
+
# Default order for _timeStarted_ is **descending**.
|
|
1825
|
+
# Default order for _displayName_ is **ascending alphabetical order**.
|
|
1826
|
+
# Default order for _lifecycleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, DELETING, DELETED, and FAILED**.
|
|
1827
|
+
# Default order for currentStageType is the following sequence: **DETECT, RECOMMEND, VERIFY, and APPLY**.
|
|
1828
|
+
# (default to timeCreated)
|
|
1829
|
+
# Allowed values are: timeCreated, timeFinished, timeStarted, displayName, lifecycleState, currentStageType
|
|
1830
|
+
# @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
|
|
1831
|
+
# Required only if the id query param is not specified.
|
|
739
1832
|
#
|
|
740
|
-
# @option opts [
|
|
1833
|
+
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
1834
|
+
# @option opts [String] :page 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.
|
|
741
1835
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
742
|
-
# @return [Response] A Response object with data of type {OCI::Adm::Models::
|
|
743
|
-
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/
|
|
744
|
-
def
|
|
745
|
-
logger.debug 'Calling operation ApplicationDependencyManagementClient#
|
|
1836
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRunCollection RemediationRunCollection}
|
|
1837
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_remediation_runs.rb.html) to see an example of how to use list_remediation_runs API.
|
|
1838
|
+
def list_remediation_runs(opts = {})
|
|
1839
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#list_remediation_runs.' if logger
|
|
746
1840
|
|
|
747
|
-
|
|
1841
|
+
|
|
1842
|
+
if opts[:lifecycle_state] && !OCI::Adm::Models::RemediationRun::LIFECYCLE_STATE_ENUM.include?(opts[:lifecycle_state])
|
|
1843
|
+
raise 'Invalid value for "lifecycle_state", must be one of the values in OCI::Adm::Models::RemediationRun::LIFECYCLE_STATE_ENUM.'
|
|
1844
|
+
end
|
|
748
1845
|
|
|
749
1846
|
if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
750
1847
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
|
|
751
1848
|
end
|
|
752
1849
|
|
|
753
|
-
if opts[:sort_by] && !%w[
|
|
754
|
-
raise 'Invalid value for "sort_by", must be one of
|
|
1850
|
+
if opts[:sort_by] && !%w[timeCreated timeFinished timeStarted displayName lifecycleState currentStageType].include?(opts[:sort_by])
|
|
1851
|
+
raise 'Invalid value for "sort_by", must be one of timeCreated, timeFinished, timeStarted, displayName, lifecycleState, currentStageType.'
|
|
755
1852
|
end
|
|
756
|
-
raise "Parameter value for 'vulnerability_audit_id' must not be blank" if OCI::Internal::Util.blank_string?(vulnerability_audit_id)
|
|
757
1853
|
|
|
758
|
-
path = '/
|
|
1854
|
+
path = '/remediationRuns'
|
|
759
1855
|
operation_signing_strategy = :standard
|
|
760
1856
|
|
|
761
1857
|
# rubocop:disable Style/NegatedIf
|
|
762
1858
|
# Query Params
|
|
763
1859
|
query_params = {}
|
|
764
|
-
query_params[:
|
|
765
|
-
query_params[:
|
|
766
|
-
query_params[:
|
|
767
|
-
query_params[:
|
|
768
|
-
query_params[:page] = opts[:page] if opts[:page]
|
|
1860
|
+
query_params[:id] = opts[:id] if opts[:id]
|
|
1861
|
+
query_params[:remediationRecipeId] = opts[:remediation_recipe_id] if opts[:remediation_recipe_id]
|
|
1862
|
+
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1863
|
+
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
769
1864
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
770
1865
|
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
771
|
-
query_params[:
|
|
772
|
-
query_params[:
|
|
773
|
-
query_params[:
|
|
1866
|
+
query_params[:compartmentId] = opts[:compartment_id] if opts[:compartment_id]
|
|
1867
|
+
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
1868
|
+
query_params[:page] = opts[:page] if opts[:page]
|
|
774
1869
|
|
|
775
1870
|
# Header Params
|
|
776
1871
|
header_params = {}
|
|
@@ -782,7 +1877,7 @@ module OCI
|
|
|
782
1877
|
post_body = nil
|
|
783
1878
|
|
|
784
1879
|
# rubocop:disable Metrics/BlockLength
|
|
785
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
1880
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_remediation_runs') do
|
|
786
1881
|
@api_client.call_api(
|
|
787
1882
|
:GET,
|
|
788
1883
|
path,
|
|
@@ -791,7 +1886,7 @@ module OCI
|
|
|
791
1886
|
query_params: query_params,
|
|
792
1887
|
operation_signing_strategy: operation_signing_strategy,
|
|
793
1888
|
body: post_body,
|
|
794
|
-
return_type: 'OCI::Adm::Models::
|
|
1889
|
+
return_type: 'OCI::Adm::Models::RemediationRunCollection'
|
|
795
1890
|
)
|
|
796
1891
|
end
|
|
797
1892
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -805,58 +1900,61 @@ module OCI
|
|
|
805
1900
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
806
1901
|
|
|
807
1902
|
|
|
808
|
-
# Returns a list of
|
|
809
|
-
#
|
|
810
|
-
#
|
|
1903
|
+
# Returns a list of Remediation Run Stages based on the specified query parameters and Remediation Run identifier.
|
|
1904
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
811
1905
|
# @param [Hash] opts the optional parameters
|
|
812
1906
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
813
1907
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
814
|
-
# @option opts [String] :
|
|
815
|
-
# @option opts [String] :
|
|
816
|
-
# Default order for _displayName_ is **ascending alphabetical order**.
|
|
817
|
-
# Default order for _lifecyleState_ is the following sequence: **CREATING, ACTIVE, UPDATING, FAILED, DELETING, and DELETED**.Default order for _timeCreated_ is **descending**.
|
|
818
|
-
# Default order for _timeUpdated_ is **descending**.
|
|
819
|
-
# (default to timeCreated)
|
|
820
|
-
# Allowed values are: DISPLAY_NAME, LIFECYCLE_STATE, TIME_CREATED, TIME_UPDATED
|
|
821
|
-
# @option opts [String] :lifecycle_state A filter to return only Knowledge Bases that match the specified lifecycleState.
|
|
1908
|
+
# @option opts [String] :type A filter to return only Stages that match the specified type.
|
|
1909
|
+
# @option opts [String] :status A filter to return only Stages that match the specified status.
|
|
822
1910
|
# @option opts [String] :sort_order The sort order to use, either 'ASC' or 'DESC'.
|
|
823
|
-
# @option opts [String] :display_name A filter to return only resources that match the entire display name given.
|
|
824
1911
|
# @option opts [Integer] :limit The maximum number of items to return. (default to 100)
|
|
825
1912
|
# @option opts [String] :page 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.
|
|
826
|
-
# @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
|
|
827
1913
|
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
828
|
-
# @
|
|
829
|
-
#
|
|
830
|
-
|
|
831
|
-
|
|
1914
|
+
# @option opts [String] :sort_by The field used to sort Stages. Only one sort order is allowed.
|
|
1915
|
+
# Default order for status is the following sequence: **CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CANCELING, and CANCELED**.
|
|
1916
|
+
# Default order for _timeCreated_ is **descending**.
|
|
1917
|
+
# Default order for _timeFinished_ is **descending**.
|
|
1918
|
+
# Default order for _timeStarted_ is **descending**.
|
|
1919
|
+
# Default order for _type_ is the following sequence: **DETECT, RECOMMEND, VERIFY, and APPLY**.
|
|
1920
|
+
# (default to timeCreated)
|
|
1921
|
+
# Allowed values are: status, timeCreated, timeFinished, timeStarted, type
|
|
1922
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRunStageCollection RemediationRunStageCollection}
|
|
1923
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/list_stages.rb.html) to see an example of how to use list_stages API.
|
|
1924
|
+
def list_stages(remediation_run_id, opts = {})
|
|
1925
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#list_stages.' if logger
|
|
832
1926
|
|
|
1927
|
+
raise "Missing the required parameter 'remediation_run_id' when calling list_stages." if remediation_run_id.nil?
|
|
833
1928
|
|
|
834
|
-
if opts[:
|
|
835
|
-
raise 'Invalid value for "
|
|
1929
|
+
if opts[:type] && !OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.include?(opts[:type])
|
|
1930
|
+
raise 'Invalid value for "type", must be one of the values in OCI::Adm::Models::REMEDIATION_RUN_STAGE_TYPE_ENUM.'
|
|
836
1931
|
end
|
|
837
1932
|
|
|
838
|
-
if opts[:
|
|
839
|
-
raise 'Invalid value for "
|
|
1933
|
+
if opts[:status] && !OCI::Adm::Models::RemediationRunStage::STATUS_ENUM.include?(opts[:status])
|
|
1934
|
+
raise 'Invalid value for "status", must be one of the values in OCI::Adm::Models::RemediationRunStage::STATUS_ENUM.'
|
|
840
1935
|
end
|
|
841
1936
|
|
|
842
1937
|
if opts[:sort_order] && !OCI::Adm::Models::SORT_ORDER_ENUM.include?(opts[:sort_order])
|
|
843
1938
|
raise 'Invalid value for "sort_order", must be one of the values in OCI::Adm::Models::SORT_ORDER_ENUM.'
|
|
844
1939
|
end
|
|
845
1940
|
|
|
846
|
-
|
|
1941
|
+
if opts[:sort_by] && !%w[status timeCreated timeFinished timeStarted type].include?(opts[:sort_by])
|
|
1942
|
+
raise 'Invalid value for "sort_by", must be one of status, timeCreated, timeFinished, timeStarted, type.'
|
|
1943
|
+
end
|
|
1944
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
1945
|
+
|
|
1946
|
+
path = '/remediationRuns/{remediationRunId}/stages'.sub('{remediationRunId}', remediation_run_id.to_s)
|
|
847
1947
|
operation_signing_strategy = :standard
|
|
848
1948
|
|
|
849
1949
|
# rubocop:disable Style/NegatedIf
|
|
850
1950
|
# Query Params
|
|
851
1951
|
query_params = {}
|
|
852
|
-
query_params[:
|
|
853
|
-
query_params[:
|
|
854
|
-
query_params[:lifecycleState] = opts[:lifecycle_state] if opts[:lifecycle_state]
|
|
1952
|
+
query_params[:type] = opts[:type] if opts[:type]
|
|
1953
|
+
query_params[:status] = opts[:status] if opts[:status]
|
|
855
1954
|
query_params[:sortOrder] = opts[:sort_order] if opts[:sort_order]
|
|
856
|
-
query_params[:displayName] = opts[:display_name] if opts[:display_name]
|
|
857
1955
|
query_params[:limit] = opts[:limit] if opts[:limit]
|
|
858
1956
|
query_params[:page] = opts[:page] if opts[:page]
|
|
859
|
-
query_params[:
|
|
1957
|
+
query_params[:sortBy] = opts[:sort_by] if opts[:sort_by]
|
|
860
1958
|
|
|
861
1959
|
# Header Params
|
|
862
1960
|
header_params = {}
|
|
@@ -868,7 +1966,7 @@ module OCI
|
|
|
868
1966
|
post_body = nil
|
|
869
1967
|
|
|
870
1968
|
# rubocop:disable Metrics/BlockLength
|
|
871
|
-
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#
|
|
1969
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#list_stages') do
|
|
872
1970
|
@api_client.call_api(
|
|
873
1971
|
:GET,
|
|
874
1972
|
path,
|
|
@@ -877,7 +1975,7 @@ module OCI
|
|
|
877
1975
|
query_params: query_params,
|
|
878
1976
|
operation_signing_strategy: operation_signing_strategy,
|
|
879
1977
|
body: post_body,
|
|
880
|
-
return_type: 'OCI::Adm::Models::
|
|
1978
|
+
return_type: 'OCI::Adm::Models::RemediationRunStageCollection'
|
|
881
1979
|
)
|
|
882
1980
|
end
|
|
883
1981
|
# rubocop:enable Metrics/BlockLength
|
|
@@ -892,13 +1990,17 @@ module OCI
|
|
|
892
1990
|
|
|
893
1991
|
|
|
894
1992
|
# Returns a list of Vulnerability Audits based on the specified query parameters.
|
|
895
|
-
# At least one of id, compartmentId
|
|
1993
|
+
# At least one of id, compartmentId query parameter must be provided.
|
|
896
1994
|
#
|
|
897
1995
|
# @param [Hash] opts the optional parameters
|
|
898
1996
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
899
1997
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
900
1998
|
# @option opts [String] :id A filter to return only resources that match the specified identifier.
|
|
1999
|
+
# Required only if the compartmentId query parameter is not specified.
|
|
2000
|
+
#
|
|
901
2001
|
# @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
|
|
2002
|
+
# Required only if the id query param is not specified.
|
|
2003
|
+
#
|
|
902
2004
|
# @option opts [String] :knowledge_base_id A filter to return only Vulnerability Audits that were created against the specified knowledge base.
|
|
903
2005
|
# @option opts [BOOLEAN] :is_success A filter to return only successful or failed Vulnerability Audits.
|
|
904
2006
|
# @option opts [String] :lifecycle_state A filter to return only Vulnerability Audits that match the specified lifecycleState.
|
|
@@ -1137,6 +2239,8 @@ module OCI
|
|
|
1137
2239
|
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
1138
2240
|
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
1139
2241
|
# @option opts [String] :compartment_id A filter to return only resources that belong to the specified compartment identifier.
|
|
2242
|
+
# Required only if the id query param is not specified.
|
|
2243
|
+
#
|
|
1140
2244
|
# @option opts [String] :work_request_id The identifier of the asynchronous work request.
|
|
1141
2245
|
# @option opts [String] :status A filter to return only resources that match the specified OperationStatus.
|
|
1142
2246
|
# @option opts [String] :resource_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of the resource affected by the work request.
|
|
@@ -1275,6 +2379,131 @@ module OCI
|
|
|
1275
2379
|
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
1276
2380
|
|
|
1277
2381
|
|
|
2382
|
+
# Updates one or more attributes of the specified Remediation Recipe.
|
|
2383
|
+
# @param [String] remediation_recipe_id The Oracle Cloud Identifier ([OCID](https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm)) of a Remediation Recipe, as a URL path parameter.
|
|
2384
|
+
# @param [OCI::Adm::Models::UpdateRemediationRecipeDetails] update_remediation_recipe_details The details to update a Remediation Recipe.
|
|
2385
|
+
# @param [Hash] opts the optional parameters
|
|
2386
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2387
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2388
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
2389
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
2390
|
+
# etag from a previous GET or POST response for that resource.
|
|
2391
|
+
# The resource will be updated or deleted only if the etag you
|
|
2392
|
+
# provide matches the resource's current etag value.
|
|
2393
|
+
#
|
|
2394
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
2395
|
+
# @return [Response] A Response object with data of type nil
|
|
2396
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/update_remediation_recipe.rb.html) to see an example of how to use update_remediation_recipe API.
|
|
2397
|
+
def update_remediation_recipe(remediation_recipe_id, update_remediation_recipe_details, opts = {})
|
|
2398
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#update_remediation_recipe.' if logger
|
|
2399
|
+
|
|
2400
|
+
raise "Missing the required parameter 'remediation_recipe_id' when calling update_remediation_recipe." if remediation_recipe_id.nil?
|
|
2401
|
+
raise "Missing the required parameter 'update_remediation_recipe_details' when calling update_remediation_recipe." if update_remediation_recipe_details.nil?
|
|
2402
|
+
raise "Parameter value for 'remediation_recipe_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_recipe_id)
|
|
2403
|
+
|
|
2404
|
+
path = '/remediationRecipes/{remediationRecipeId}'.sub('{remediationRecipeId}', remediation_recipe_id.to_s)
|
|
2405
|
+
operation_signing_strategy = :standard
|
|
2406
|
+
|
|
2407
|
+
# rubocop:disable Style/NegatedIf
|
|
2408
|
+
# Query Params
|
|
2409
|
+
query_params = {}
|
|
2410
|
+
|
|
2411
|
+
# Header Params
|
|
2412
|
+
header_params = {}
|
|
2413
|
+
header_params[:accept] = 'application/json'
|
|
2414
|
+
header_params[:'content-type'] = 'application/json'
|
|
2415
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2416
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2417
|
+
# rubocop:enable Style/NegatedIf
|
|
2418
|
+
|
|
2419
|
+
post_body = @api_client.object_to_http_body(update_remediation_recipe_details)
|
|
2420
|
+
|
|
2421
|
+
# rubocop:disable Metrics/BlockLength
|
|
2422
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#update_remediation_recipe') do
|
|
2423
|
+
@api_client.call_api(
|
|
2424
|
+
:PUT,
|
|
2425
|
+
path,
|
|
2426
|
+
endpoint,
|
|
2427
|
+
header_params: header_params,
|
|
2428
|
+
query_params: query_params,
|
|
2429
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2430
|
+
body: post_body
|
|
2431
|
+
)
|
|
2432
|
+
end
|
|
2433
|
+
# rubocop:enable Metrics/BlockLength
|
|
2434
|
+
end
|
|
2435
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2436
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2437
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2438
|
+
|
|
2439
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2440
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2441
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
# Updates by identifier one or more attributes of the specified remediation run.
|
|
2445
|
+
# @param [String] remediation_run_id Unique Remediation Run identifier path parameter.
|
|
2446
|
+
# @param [OCI::Adm::Models::UpdateRemediationRunDetails] update_remediation_run_details The details used to update a remediation run.
|
|
2447
|
+
# @param [Hash] opts the optional parameters
|
|
2448
|
+
# @option opts [OCI::Retry::RetryConfig] :retry_config The retry configuration to apply to this operation. If no key is provided then the service-level
|
|
2449
|
+
# retry configuration defined by {#retry_config} will be used. If an explicit `nil` value is provided then the operation will not retry
|
|
2450
|
+
# @option opts [String] :if_match For optimistic concurrency control. In the PUT or DELETE call
|
|
2451
|
+
# for a resource, set the `if-match` parameter to the value of the
|
|
2452
|
+
# etag from a previous GET or POST response for that resource.
|
|
2453
|
+
# The resource will be updated or deleted only if the etag you
|
|
2454
|
+
# provide matches the resource's current etag value.
|
|
2455
|
+
#
|
|
2456
|
+
# @option opts [String] :opc_request_id The client request ID for tracing.
|
|
2457
|
+
# @return [Response] A Response object with data of type {OCI::Adm::Models::RemediationRun RemediationRun}
|
|
2458
|
+
# @note Click [here](https://docs.cloud.oracle.com/en-us/iaas/tools/ruby-sdk-examples/latest/adm/update_remediation_run.rb.html) to see an example of how to use update_remediation_run API.
|
|
2459
|
+
def update_remediation_run(remediation_run_id, update_remediation_run_details, opts = {})
|
|
2460
|
+
logger.debug 'Calling operation ApplicationDependencyManagementClient#update_remediation_run.' if logger
|
|
2461
|
+
|
|
2462
|
+
raise "Missing the required parameter 'remediation_run_id' when calling update_remediation_run." if remediation_run_id.nil?
|
|
2463
|
+
raise "Missing the required parameter 'update_remediation_run_details' when calling update_remediation_run." if update_remediation_run_details.nil?
|
|
2464
|
+
raise "Parameter value for 'remediation_run_id' must not be blank" if OCI::Internal::Util.blank_string?(remediation_run_id)
|
|
2465
|
+
|
|
2466
|
+
path = '/remediationRuns/{remediationRunId}'.sub('{remediationRunId}', remediation_run_id.to_s)
|
|
2467
|
+
operation_signing_strategy = :standard
|
|
2468
|
+
|
|
2469
|
+
# rubocop:disable Style/NegatedIf
|
|
2470
|
+
# Query Params
|
|
2471
|
+
query_params = {}
|
|
2472
|
+
|
|
2473
|
+
# Header Params
|
|
2474
|
+
header_params = {}
|
|
2475
|
+
header_params[:accept] = 'application/json'
|
|
2476
|
+
header_params[:'content-type'] = 'application/json'
|
|
2477
|
+
header_params[:'if-match'] = opts[:if_match] if opts[:if_match]
|
|
2478
|
+
header_params[:'opc-request-id'] = opts[:opc_request_id] if opts[:opc_request_id]
|
|
2479
|
+
# rubocop:enable Style/NegatedIf
|
|
2480
|
+
|
|
2481
|
+
post_body = @api_client.object_to_http_body(update_remediation_run_details)
|
|
2482
|
+
|
|
2483
|
+
# rubocop:disable Metrics/BlockLength
|
|
2484
|
+
OCI::Retry.make_retrying_call(applicable_retry_config(opts), call_name: 'ApplicationDependencyManagementClient#update_remediation_run') do
|
|
2485
|
+
@api_client.call_api(
|
|
2486
|
+
:PUT,
|
|
2487
|
+
path,
|
|
2488
|
+
endpoint,
|
|
2489
|
+
header_params: header_params,
|
|
2490
|
+
query_params: query_params,
|
|
2491
|
+
operation_signing_strategy: operation_signing_strategy,
|
|
2492
|
+
body: post_body,
|
|
2493
|
+
return_type: 'OCI::Adm::Models::RemediationRun'
|
|
2494
|
+
)
|
|
2495
|
+
end
|
|
2496
|
+
# rubocop:enable Metrics/BlockLength
|
|
2497
|
+
end
|
|
2498
|
+
# rubocop:enable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2499
|
+
# rubocop:enable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2500
|
+
# rubocop:enable Metrics/MethodLength, Layout/EmptyLines
|
|
2501
|
+
|
|
2502
|
+
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/AbcSize, Metrics/PerceivedComplexity
|
|
2503
|
+
# rubocop:disable Style/IfUnlessModifier, Metrics/ParameterLists
|
|
2504
|
+
# rubocop:disable Metrics/MethodLength, Layout/EmptyLines
|
|
2505
|
+
|
|
2506
|
+
|
|
1278
2507
|
# Updates one or more attributes of the specified Vulnerability Audit.
|
|
1279
2508
|
# @param [String] vulnerability_audit_id Unique Vulnerability Audit identifier path parameter.
|
|
1280
2509
|
# @param [OCI::Adm::Models::UpdateVulnerabilityAuditDetails] update_vulnerability_audit_details The details to update a Vulnerability Audit.
|