oci 2.134.0__py3-none-any.whl → 2.135.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +24 -24
- oci/analytics/models/analytics_instance.py +55 -0
- oci/analytics/models/create_analytics_instance_details.py +55 -0
- oci/analytics/models/update_analytics_instance_details.py +57 -2
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/models/base_announcement.py +25 -25
- oci/announcements_service/models/base_create_announcements_preferences_details.py +5 -5
- oci/announcements_service/models/base_service.py +15 -15
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/models/body_validation_request_policy.py +5 -5
- oci/apigateway/models/header_validation_request_policy.py +5 -5
- oci/apigateway/models/validation_request_policy.py +5 -5
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_control_plane/models/base_domain_details.py +5 -5
- oci/apm_control_plane/models/base_key_details.py +5 -5
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +72 -72
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/blockchain/models/availability_domain.py +5 -5
- oci/blockchain/models/peer_role.py +5 -5
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +102 -102
- oci/core/compute_management_client.py +32 -32
- oci/core/models/compute_bare_metal_host.py +10 -10
- oci/core/models/compute_hpc_island.py +5 -5
- oci/core/models/compute_network_block.py +5 -5
- oci/core/models/topology.py +5 -5
- oci/core/virtual_network_client.py +250 -250
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_catalog/models/base_tag.py +5 -5
- oci/data_catalog/models/base_tag_summary.py +5 -5
- oci/data_catalog/models/object_lineage.py +5 -5
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_integration/models/abstract_call_attribute.py +5 -5
- oci/data_integration/models/abstract_data_operation_config.py +5 -5
- oci/data_integration/models/cancel_rest_call_config.py +5 -5
- oci/data_integration/models/composite_type.py +2 -1
- oci/data_integration/models/conditional_composite_field_map.py +2 -1
- oci/data_integration/models/connection_details.py +5 -5
- oci/data_integration/models/connection_from_adwc_details.py +2 -1
- oci/data_integration/models/connection_from_atp_details.py +2 -1
- oci/data_integration/models/connection_from_hdfs_details.py +2 -1
- oci/data_integration/models/connection_from_jdbc_details.py +2 -1
- oci/data_integration/models/connection_from_lake_details.py +2 -1
- oci/data_integration/models/connection_from_my_sql_details.py +2 -1
- oci/data_integration/models/connection_from_my_sql_heat_wave_details.py +2 -1
- oci/data_integration/models/connection_from_o_auth2_details.py +7 -6
- oci/data_integration/models/connection_from_object_storage_details.py +2 -1
- oci/data_integration/models/connection_from_oracle_ebs_details.py +2 -1
- oci/data_integration/models/connection_from_oracle_people_soft_details.py +2 -1
- oci/data_integration/models/connection_from_oracle_siebel_details.py +2 -1
- oci/data_integration/models/connection_summary_from_adwc.py +2 -1
- oci/data_integration/models/connection_summary_from_atp.py +2 -1
- oci/data_integration/models/connection_summary_from_hdfs.py +2 -1
- oci/data_integration/models/connection_summary_from_jdbc.py +2 -1
- oci/data_integration/models/connection_summary_from_lake.py +2 -1
- oci/data_integration/models/connection_summary_from_my_sql.py +2 -1
- oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py +2 -1
- oci/data_integration/models/connection_summary_from_oracle_ebs.py +2 -1
- oci/data_integration/models/connection_summary_from_oracle_people_soft.py +2 -1
- oci/data_integration/models/connection_summary_from_oracle_siebel.py +2 -1
- oci/data_integration/models/connector_attribute.py +5 -5
- oci/data_integration/models/derived_type.py +2 -1
- oci/data_integration/models/dynamic_proxy_field.py +2 -1
- oci/data_integration/models/flow_port_link.py +5 -5
- oci/data_integration/models/key.py +5 -5
- oci/data_integration/models/materialized_composite_type.py +2 -1
- oci/data_integration/models/materialized_dynamic_field.py +2 -1
- oci/data_integration/models/output_link.py +2 -1
- oci/data_integration/models/poll_rest_call_config.py +5 -5
- oci/data_integration/models/rest_call_config.py +5 -5
- oci/data_integration/models/shape_field.py +2 -1
- oci/data_integration/models/task_run_lineage_details.py +5 -5
- oci/data_integration/models/typed_expression.py +2 -1
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +781 -287
- oci/data_safe/data_safe_client_composite_operations.py +164 -0
- oci/data_safe/models/__init__.py +12 -0
- oci/data_safe/models/bulk_create_sql_firewall_allowed_sqls_details.py +142 -0
- oci/data_safe/models/bulk_delete_sql_firewall_allowed_sqls_details.py +99 -0
- oci/data_safe/models/generate_report_details.py +7 -3
- oci/data_safe/models/list_selection_mode.py +84 -0
- oci/data_safe/models/patch_sql_firewall_allowed_sql_details.py +103 -0
- oci/data_safe/models/report.py +7 -3
- oci/data_safe/models/report_definition.py +7 -3
- oci/data_safe/models/report_summary.py +7 -3
- oci/data_safe/models/schedule_report_details.py +7 -3
- oci/data_safe/models/scim_query_selection_mode.py +98 -0
- oci/data_safe/models/selection_details.py +113 -0
- oci/data_safe/models/sql_firewall_allowed_sql.py +10 -10
- oci/data_safe/models/work_request.py +15 -3
- oci/data_safe/models/work_request_summary.py +15 -3
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/custom_expression_query_scaling_configuration.py +2 -1
- oci/data_science/models/scaling_configuration.py +5 -5
- oci/database/database_client.py +652 -394
- oci/database/database_client_composite_operations.py +176 -0
- oci/database/models/__init__.py +6 -0
- oci/database/models/autonomous_database.py +31 -0
- oci/database/models/autonomous_database_summary.py +31 -0
- oci/database/models/create_autonomous_database_base.py +11 -3
- oci/database/models/create_autonomous_database_clone_details.py +1 -1
- oci/database/models/create_autonomous_database_details.py +1 -1
- oci/database/models/create_autonomous_database_from_backup_details.py +1 -1
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +1 -1
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +1 -1
- oci/database/models/create_cross_region_disaster_recovery_details.py +1 -1
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +1 -1
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +1 -1
- oci/database/models/external_database_base.py +15 -15
- oci/database/models/infrastructure_target_version_summary.py +5 -5
- oci/database/models/oci_provider_set_key_version_details.py +82 -0
- oci/database/models/pluggable_database.py +62 -0
- oci/database/models/pluggable_database_summary.py +62 -0
- oci/database/models/set_key_version_details.py +101 -0
- oci/database/models/undelete_autonomous_database_details.py +440 -0
- oci/database_management/db_management_client.py +211 -211
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/models/awr_query_result.py +5 -5
- oci/database_management/models/dbm_resource.py +10 -10
- oci/database_management/models/discovered_external_asm_instance.py +4 -2
- oci/database_management/models/discovered_external_pluggable_database.py +4 -2
- oci/database_management/models/entity_discovered.py +10 -10
- oci/database_management/models/external_exadata_infrastructure_discovery_summary.py +9 -7
- oci/database_management/models/external_exadata_storage_grid_summary.py +4 -2
- oci/database_management/models/external_serviced_database.py +10 -10
- oci/database_management/models/external_storage_grid_discovery_summary.py +4 -2
- oci/database_management/models/external_storage_server_discovery_summary.py +4 -2
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_migration/models/migration_parameter_base.py +5 -5
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/devops/models/build_run_snapshot.py +5 -5
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +54 -54
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +8 -8
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +13 -13
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +4 -4
- oci/fleet_apps_management/models/fleet_target.py +10 -10
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/models/allow_rule.py +1 -1
- oci/fusion_apps/models/create_refresh_activity_details.py +31 -0
- oci/fusion_apps/models/maintenance_policy.py +10 -10
- oci/fusion_apps/models/refresh_activity.py +31 -0
- oci/fusion_apps/models/refresh_activity_summary.py +31 -0
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/__init__.py +14 -0
- oci/generative_ai_agent/generative_ai_agent_client.py +4245 -0
- oci/generative_ai_agent/generative_ai_agent_client_composite_operations.py +774 -0
- oci/generative_ai_agent/models/__init__.py +118 -0
- oci/generative_ai_agent/models/agent.py +536 -0
- oci/generative_ai_agent/models/agent_collection.py +74 -0
- oci/generative_ai_agent/models/agent_endpoint.py +648 -0
- oci/generative_ai_agent/models/agent_endpoint_collection.py +74 -0
- oci/generative_ai_agent/models/agent_endpoint_summary.py +612 -0
- oci/generative_ai_agent/models/agent_summary.py +500 -0
- oci/generative_ai_agent/models/basic_auth_secret.py +88 -0
- oci/generative_ai_agent/models/change_agent_compartment_details.py +78 -0
- oci/generative_ai_agent/models/change_agent_endpoint_compartment_details.py +78 -0
- oci/generative_ai_agent/models/change_knowledge_base_compartment_details.py +78 -0
- oci/generative_ai_agent/models/content_moderation_config.py +103 -0
- oci/generative_ai_agent/models/create_agent_details.py +288 -0
- oci/generative_ai_agent/models/create_agent_endpoint_details.py +400 -0
- oci/generative_ai_agent/models/create_data_ingestion_job_details.py +257 -0
- oci/generative_ai_agent/models/create_data_source_details.py +284 -0
- oci/generative_ai_agent/models/create_knowledge_base_details.py +249 -0
- oci/generative_ai_agent/models/data_ingestion_job.py +536 -0
- oci/generative_ai_agent/models/data_ingestion_job_collection.py +74 -0
- oci/generative_ai_agent/models/data_ingestion_job_statistics.py +136 -0
- oci/generative_ai_agent/models/data_ingestion_job_summary.py +469 -0
- oci/generative_ai_agent/models/data_source.py +536 -0
- oci/generative_ai_agent/models/data_source_collection.py +74 -0
- oci/generative_ai_agent/models/data_source_config.py +107 -0
- oci/generative_ai_agent/models/data_source_summary.py +469 -0
- oci/generative_ai_agent/models/database_connection.py +107 -0
- oci/generative_ai_agent/models/database_function.py +74 -0
- oci/generative_ai_agent/models/database_tool_connection.py +88 -0
- oci/generative_ai_agent/models/default_index_config.py +84 -0
- oci/generative_ai_agent/models/idcs_secret.py +181 -0
- oci/generative_ai_agent/models/index.py +101 -0
- oci/generative_ai_agent/models/index_config.py +127 -0
- oci/generative_ai_agent/models/index_schema.py +167 -0
- oci/generative_ai_agent/models/knowledge_base.py +501 -0
- oci/generative_ai_agent/models/knowledge_base_collection.py +74 -0
- oci/generative_ai_agent/models/knowledge_base_summary.py +434 -0
- oci/generative_ai_agent/models/object_storage_prefix.py +136 -0
- oci/generative_ai_agent/models/oci_database_config.py +111 -0
- oci/generative_ai_agent/models/oci_object_storage_data_source_config.py +84 -0
- oci/generative_ai_agent/models/oci_open_search_index_config.py +146 -0
- oci/generative_ai_agent/models/secret_detail.py +117 -0
- oci/generative_ai_agent/models/session_config.py +74 -0
- oci/generative_ai_agent/models/update_agent_details.py +253 -0
- oci/generative_ai_agent/models/update_agent_endpoint_details.py +303 -0
- oci/generative_ai_agent/models/update_data_source_details.py +214 -0
- oci/generative_ai_agent/models/update_knowledge_base_details.py +214 -0
- oci/generative_ai_agent/models/work_request.py +505 -0
- oci/generative_ai_agent/models/work_request_error.py +148 -0
- oci/generative_ai_agent/models/work_request_error_collection.py +74 -0
- oci/generative_ai_agent/models/work_request_log_entry.py +111 -0
- oci/generative_ai_agent/models/work_request_log_entry_collection.py +74 -0
- oci/generative_ai_agent/models/work_request_resource.py +240 -0
- oci/generative_ai_agent/models/work_request_summary.py +503 -0
- oci/generative_ai_agent/models/work_request_summary_collection.py +74 -0
- oci/generative_ai_agent_runtime/__init__.py +14 -0
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +689 -0
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client_composite_operations.py +26 -0
- oci/generative_ai_agent_runtime/models/__init__.py +44 -0
- oci/generative_ai_agent_runtime/models/chat_details.py +134 -0
- oci/generative_ai_agent_runtime/models/chat_result.py +99 -0
- oci/generative_ai_agent_runtime/models/citation.py +99 -0
- oci/generative_ai_agent_runtime/models/create_session_details.py +103 -0
- oci/generative_ai_agent_runtime/models/error_trace.py +89 -0
- oci/generative_ai_agent_runtime/models/generation_trace.py +89 -0
- oci/generative_ai_agent_runtime/models/message.py +146 -0
- oci/generative_ai_agent_runtime/models/message_content.py +103 -0
- oci/generative_ai_agent_runtime/models/oci_database_source_location.py +148 -0
- oci/generative_ai_agent_runtime/models/oci_object_storage_source_location.py +82 -0
- oci/generative_ai_agent_runtime/models/oci_open_search_source_location.py +144 -0
- oci/generative_ai_agent_runtime/models/retrieval_trace.py +120 -0
- oci/generative_ai_agent_runtime/models/session.py +227 -0
- oci/generative_ai_agent_runtime/models/source_location.py +117 -0
- oci/generative_ai_agent_runtime/models/trace.py +148 -0
- oci/generative_ai_agent_runtime/models/update_session_details.py +103 -0
- oci/generative_ai_inference/generative_ai_inference_client.py +4 -4
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +68 -68
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +307 -307
- oci/integration/integration_instance_client.py +255 -18
- oci/integration/integration_instance_client_composite_operations.py +81 -0
- oci/integration/models/__init__.py +2 -0
- oci/integration/models/add_oracle_managed_custom_endpoint_details.py +146 -0
- oci/integration/models/custom_endpoint_details.py +121 -0
- oci/integration/models/integration_instance.py +34 -7
- oci/integration/models/integration_instance_summary.py +34 -7
- oci/integration/models/work_request.py +11 -3
- oci/integration/models/work_request_summary.py +11 -3
- oci/jms/java_management_service_client.py +75 -75
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/log_analytics/models/chart_data_column.py +6 -3
- oci/log_analytics/models/function_field.py +4 -2
- oci/log_analytics/models/time_cluster_data_column.py +6 -3
- oci/log_analytics/models/time_stats_data_column.py +6 -3
- oci/logging/logging_management_client.py +30 -30
- oci/logging/models/unified_agent_monitoring_filter.py +5 -5
- oci/logging/models/unified_agent_tail_log_source.py +2 -1
- oci/logging/models/unified_agent_url_filter.py +2 -1
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/models/__init__.py +6 -0
- oci/monitoring/models/alarm_status_summary.py +2 -0
- oci/monitoring/models/alarm_suppression.py +94 -2
- oci/monitoring/models/alarm_suppression_alarm_target.py +1 -1
- oci/monitoring/models/alarm_suppression_collection.py +3 -3
- oci/monitoring/models/alarm_suppression_compartment_target.py +127 -0
- oci/monitoring/models/alarm_suppression_history_item.py +43 -2
- oci/monitoring/models/alarm_suppression_summary.py +78 -2
- oci/monitoring/models/alarm_suppression_target.py +11 -3
- oci/monitoring/models/create_alarm_suppression_details.py +86 -6
- oci/monitoring/models/recurrence.py +127 -0
- oci/monitoring/models/suppression.py +1 -0
- oci/monitoring/models/suppression_condition.py +101 -0
- oci/monitoring/monitoring_client.py +115 -33
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/models/bot.py +15 -15
- oci/oda/models/parameter.py +10 -10
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/models/__init__.py +50 -0
- oci/opsi/models/add_em_managed_external_exadata_insight_members_details.py +1 -1
- oci/opsi/models/add_exadata_insight_members_details.py +11 -3
- oci/opsi/models/add_macs_managed_cloud_exadata_insight_members_details.py +78 -0
- oci/opsi/models/add_pe_comanaged_exadata_insight_members_details.py +1 -1
- oci/opsi/models/autonomous_database_configuration_summary.py +1 -1
- oci/opsi/models/autonomous_database_insight.py +1 -1
- oci/opsi/models/autonomous_database_insight_summary.py +1 -1
- oci/opsi/models/awr_query_result.py +5 -5
- oci/opsi/models/change_macs_managed_cloud_database_insight_connection_details.py +130 -0
- oci/opsi/models/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_em_managed_external_exadata_insight_details.py +1 -1
- oci/opsi/models/create_em_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/create_exadata_insight_details.py +11 -3
- oci/opsi/models/create_host_insight_details.py +7 -3
- oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +315 -0
- oci/opsi/models/create_macs_managed_cloud_exadata_cluster_details.py +171 -0
- oci/opsi/models/create_macs_managed_cloud_exadata_insight_details.py +134 -0
- oci/opsi/models/create_macs_managed_cloud_exadata_vmcluster_details.py +96 -0
- oci/opsi/models/create_macs_managed_cloud_host_insight_details.py +1 -1
- oci/opsi/models/create_macs_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/create_pe_comanaged_exadata_insight_details.py +1 -1
- oci/opsi/models/database_configuration_metric_group.py +35 -3
- oci/opsi/models/database_configuration_summary.py +11 -3
- oci/opsi/models/database_insight.py +11 -3
- oci/opsi/models/database_insight_summary.py +11 -3
- oci/opsi/models/db_connection_status.py +58 -0
- oci/opsi/models/db_external_instance.py +1 -1
- oci/opsi/models/db_external_properties.py +1 -1
- oci/opsi/models/db_parameters.py +1 -1
- oci/opsi/models/dbos_config_instance.py +1 -1
- oci/opsi/models/em_managed_external_database_configuration_summary.py +127 -3
- oci/opsi/models/em_managed_external_database_insight.py +1 -1
- oci/opsi/models/em_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/em_managed_external_exadata_insight.py +2 -2
- oci/opsi/models/em_managed_external_exadata_insight_summary.py +2 -2
- oci/opsi/models/em_managed_external_host_configuration_summary.py +127 -3
- oci/opsi/models/em_managed_external_host_insight.py +1 -1
- oci/opsi/models/em_managed_external_host_insight_summary.py +1 -1
- oci/opsi/models/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_em_managed_external_exadata_insight_details.py +1 -1
- oci/opsi/models/enable_em_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/enable_exadata_insight_details.py +11 -3
- oci/opsi/models/enable_host_insight_details.py +7 -3
- oci/opsi/models/enable_macs_managed_cloud_database_insight_details.py +274 -0
- oci/opsi/models/enable_macs_managed_cloud_exadata_insight_details.py +51 -0
- oci/opsi/models/enable_macs_managed_cloud_host_insight_details.py +1 -1
- oci/opsi/models/enable_macs_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/enable_pe_comanaged_exadata_insight_details.py +1 -1
- oci/opsi/models/exadata_asm_entity.py +151 -0
- oci/opsi/models/exadata_cell_config.py +213 -0
- oci/opsi/models/exadata_configuration_summary.py +30 -6
- oci/opsi/models/exadata_database_machine_configuration_summary.py +128 -4
- oci/opsi/models/exadata_exacc_configuration_summary.py +186 -0
- oci/opsi/models/exadata_exacs_configuration_summary.py +2 -2
- oci/opsi/models/exadata_insight.py +30 -6
- oci/opsi/models/exadata_insight_summary.py +30 -6
- oci/opsi/models/exadata_member_collection.py +19 -3
- oci/opsi/models/host_allocation.py +120 -0
- oci/opsi/models/host_configuration_summary.py +11 -3
- oci/opsi/models/host_containers.py +2 -2
- oci/opsi/models/host_insight.py +11 -3
- oci/opsi/models/host_insight_summary.py +11 -3
- oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +253 -0
- oci/opsi/models/macs_managed_cloud_database_host_insight.py +394 -0
- oci/opsi/models/macs_managed_cloud_database_host_insight_summary.py +339 -0
- oci/opsi/models/macs_managed_cloud_database_insight.py +469 -0
- oci/opsi/models/macs_managed_cloud_database_insight_summary.py +315 -0
- oci/opsi/models/macs_managed_cloud_db_host_configuration_summary.py +282 -0
- oci/opsi/models/macs_managed_cloud_exadata_insight.py +278 -0
- oci/opsi/models/macs_managed_cloud_exadata_insight_summary.py +271 -0
- oci/opsi/models/macs_managed_cloud_host_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_host_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_host_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight.py +1 -1
- oci/opsi/models/macs_managed_external_database_insight_summary.py +1 -1
- oci/opsi/models/macs_managed_external_host_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_external_host_insight.py +1 -1
- oci/opsi/models/macs_managed_external_host_insight_summary.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/mds_my_sql_database_insight_summary.py +1 -1
- oci/opsi/models/mds_mysql_database_configuration_summary.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight.py +1 -1
- oci/opsi/models/pe_comanaged_database_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_exadata_insight.py +9 -5
- oci/opsi/models/pe_comanaged_exadata_insight_summary.py +9 -5
- oci/opsi/models/pe_comanaged_host_configuration_summary.py +1 -1
- oci/opsi/models/pe_comanaged_host_insight.py +1 -1
- oci/opsi/models/pe_comanaged_host_insight_summary.py +1 -1
- oci/opsi/models/pe_comanaged_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/test_macs_managed_cloud_database_insight_connection_details.py +130 -0
- oci/opsi/models/update_autonomous_database_insight_details.py +1 -1
- oci/opsi/models/update_database_insight_details.py +11 -3
- oci/opsi/models/update_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_em_managed_external_exadata_insight_details.py +1 -1
- oci/opsi/models/update_em_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/update_exadata_insight_details.py +11 -3
- oci/opsi/models/update_host_insight_details.py +11 -3
- oci/opsi/models/update_macs_managed_cloud_database_host_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_exadata_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_host_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_host_insight_details.py +1 -1
- oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/update_pe_comanaged_exadata_insight_details.py +1 -1
- oci/opsi/models/update_pe_comanaged_host_insight_details.py +1 -1
- oci/opsi/models/work_request.py +11 -3
- oci/opsi/operations_insights_client.py +482 -214
- oci/opsi/operations_insights_client_composite_operations.py +81 -0
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +12 -12
- oci/os_management_hub/managed_instance_client.py +31 -31
- oci/os_management_hub/managed_instance_group_client.py +25 -25
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/models/event_content.py +5 -5
- oci/os_management_hub/models/exploit_attempt_event_content.py +2 -1
- oci/os_management_hub/models/package_summary.py +10 -10
- oci/os_management_hub/onboarding_client.py +6 -6
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +27 -27
- oci/os_management_hub/work_request_client.py +4 -4
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/redis_cluster_client.py +12 -12
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +13 -13
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/models/traffic_rule_target.py +5 -5
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/models/topology.py +5 -5
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/models/protection_rule.py +4 -2
- oci/waf/models/request_rate_limiting_rule.py +4 -2
- oci/waf/models/web_app_firewall_policy_rule.py +10 -10
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/METADATA +1 -1
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/RECORD +612 -497
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/WHEEL +0 -0
- {oci-2.134.0.dist-info → oci-2.135.0.dist-info}/top_level.txt +0 -0
@@ -229,6 +229,84 @@ class DataSafeClientCompositeOperations(object):
|
|
229
229
|
except Exception as e:
|
230
230
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
231
231
|
|
232
|
+
def bulk_create_sql_firewall_allowed_sqls_and_wait_for_state(self, bulk_create_sql_firewall_allowed_sqls_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
233
|
+
"""
|
234
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.bulk_create_sql_firewall_allowed_sqls` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
235
|
+
to enter the given state(s).
|
236
|
+
|
237
|
+
:param oci.data_safe.models.BulkCreateSqlFirewallAllowedSqlsDetails bulk_create_sql_firewall_allowed_sqls_details: (required)
|
238
|
+
Details of the allowed sql.
|
239
|
+
|
240
|
+
:param list[str] wait_for_states:
|
241
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
242
|
+
|
243
|
+
:param dict operation_kwargs:
|
244
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.bulk_create_sql_firewall_allowed_sqls`
|
245
|
+
|
246
|
+
:param dict waiter_kwargs:
|
247
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
248
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
249
|
+
"""
|
250
|
+
operation_result = self.client.bulk_create_sql_firewall_allowed_sqls(bulk_create_sql_firewall_allowed_sqls_details, **operation_kwargs)
|
251
|
+
if not wait_for_states:
|
252
|
+
return operation_result
|
253
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
254
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
255
|
+
return operation_result
|
256
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
257
|
+
|
258
|
+
try:
|
259
|
+
waiter_result = oci.wait_until(
|
260
|
+
self.client,
|
261
|
+
self.client.get_work_request(wait_for_resource_id),
|
262
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
263
|
+
**waiter_kwargs
|
264
|
+
)
|
265
|
+
result_to_return = waiter_result
|
266
|
+
|
267
|
+
return result_to_return
|
268
|
+
except Exception as e:
|
269
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
270
|
+
|
271
|
+
def bulk_delete_sql_firewall_allowed_sqls_and_wait_for_state(self, bulk_delete_sql_firewall_allowed_sqls_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
272
|
+
"""
|
273
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.bulk_delete_sql_firewall_allowed_sqls` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
274
|
+
to enter the given state(s).
|
275
|
+
|
276
|
+
:param oci.data_safe.models.BulkDeleteSqlFirewallAllowedSqlsDetails bulk_delete_sql_firewall_allowed_sqls_details: (required)
|
277
|
+
Details of the allowed sql to be deleted from the SQL firewall policy.
|
278
|
+
|
279
|
+
:param list[str] wait_for_states:
|
280
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
281
|
+
|
282
|
+
:param dict operation_kwargs:
|
283
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.bulk_delete_sql_firewall_allowed_sqls`
|
284
|
+
|
285
|
+
:param dict waiter_kwargs:
|
286
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
287
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
288
|
+
"""
|
289
|
+
operation_result = self.client.bulk_delete_sql_firewall_allowed_sqls(bulk_delete_sql_firewall_allowed_sqls_details, **operation_kwargs)
|
290
|
+
if not wait_for_states:
|
291
|
+
return operation_result
|
292
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
293
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
294
|
+
return operation_result
|
295
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
296
|
+
|
297
|
+
try:
|
298
|
+
waiter_result = oci.wait_until(
|
299
|
+
self.client,
|
300
|
+
self.client.get_work_request(wait_for_resource_id),
|
301
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
302
|
+
**waiter_kwargs
|
303
|
+
)
|
304
|
+
result_to_return = waiter_result
|
305
|
+
|
306
|
+
return result_to_return
|
307
|
+
except Exception as e:
|
308
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
309
|
+
|
232
310
|
def calculate_audit_volume_available_and_wait_for_state(self, audit_profile_id, calculate_audit_volume_available_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
233
311
|
"""
|
234
312
|
Calls :py:func:`~oci.data_safe.DataSafeClient.calculate_audit_volume_available` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -2603,6 +2681,53 @@ class DataSafeClientCompositeOperations(object):
|
|
2603
2681
|
except Exception as e:
|
2604
2682
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
2605
2683
|
|
2684
|
+
def delete_sql_firewall_allowed_sql_and_wait_for_state(self, sql_firewall_allowed_sql_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
2685
|
+
"""
|
2686
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.delete_sql_firewall_allowed_sql` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
2687
|
+
to enter the given state(s).
|
2688
|
+
|
2689
|
+
:param str sql_firewall_allowed_sql_id: (required)
|
2690
|
+
The OCID of the sqlFirewallAllowedSql resource.
|
2691
|
+
|
2692
|
+
:param list[str] wait_for_states:
|
2693
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
2694
|
+
|
2695
|
+
:param dict operation_kwargs:
|
2696
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_sql_firewall_allowed_sql`
|
2697
|
+
|
2698
|
+
:param dict waiter_kwargs:
|
2699
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
2700
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
2701
|
+
"""
|
2702
|
+
operation_result = None
|
2703
|
+
try:
|
2704
|
+
operation_result = self.client.delete_sql_firewall_allowed_sql(sql_firewall_allowed_sql_id, **operation_kwargs)
|
2705
|
+
except oci.exceptions.ServiceError as e:
|
2706
|
+
if e.status == 404:
|
2707
|
+
return WAIT_RESOURCE_NOT_FOUND
|
2708
|
+
else:
|
2709
|
+
raise e
|
2710
|
+
|
2711
|
+
if not wait_for_states:
|
2712
|
+
return operation_result
|
2713
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2714
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
2715
|
+
return operation_result
|
2716
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
2717
|
+
|
2718
|
+
try:
|
2719
|
+
waiter_result = oci.wait_until(
|
2720
|
+
self.client,
|
2721
|
+
self.client.get_work_request(wait_for_resource_id),
|
2722
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
2723
|
+
**waiter_kwargs
|
2724
|
+
)
|
2725
|
+
result_to_return = waiter_result
|
2726
|
+
|
2727
|
+
return result_to_return
|
2728
|
+
except Exception as e:
|
2729
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
2730
|
+
|
2606
2731
|
def delete_sql_firewall_policy_and_wait_for_state(self, sql_firewall_policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
2607
2732
|
"""
|
2608
2733
|
Calls :py:func:`~oci.data_safe.DataSafeClient.delete_sql_firewall_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -3535,6 +3660,45 @@ class DataSafeClientCompositeOperations(object):
|
|
3535
3660
|
except Exception as e:
|
3536
3661
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3537
3662
|
|
3663
|
+
def patch_sql_firewall_allowed_sql_and_wait_for_state(self, patch_sql_firewall_allowed_sql_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3664
|
+
"""
|
3665
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.patch_sql_firewall_allowed_sql` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
3666
|
+
to enter the given state(s).
|
3667
|
+
|
3668
|
+
:param oci.data_safe.models.PatchSqlFirewallAllowedSqlDetails patch_sql_firewall_allowed_sql_details: (required)
|
3669
|
+
The details used to patch the allowed sqls.
|
3670
|
+
|
3671
|
+
:param list[str] wait_for_states:
|
3672
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
3673
|
+
|
3674
|
+
:param dict operation_kwargs:
|
3675
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.patch_sql_firewall_allowed_sql`
|
3676
|
+
|
3677
|
+
:param dict waiter_kwargs:
|
3678
|
+
A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
|
3679
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
3680
|
+
"""
|
3681
|
+
operation_result = self.client.patch_sql_firewall_allowed_sql(patch_sql_firewall_allowed_sql_details, **operation_kwargs)
|
3682
|
+
if not wait_for_states:
|
3683
|
+
return operation_result
|
3684
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
3685
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
3686
|
+
return operation_result
|
3687
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
3688
|
+
|
3689
|
+
try:
|
3690
|
+
waiter_result = oci.wait_until(
|
3691
|
+
self.client,
|
3692
|
+
self.client.get_work_request(wait_for_resource_id),
|
3693
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
3694
|
+
**waiter_kwargs
|
3695
|
+
)
|
3696
|
+
result_to_return = waiter_result
|
3697
|
+
|
3698
|
+
return result_to_return
|
3699
|
+
except Exception as e:
|
3700
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
3701
|
+
|
3538
3702
|
def patch_target_alert_policy_association_and_wait_for_state(self, patch_target_alert_policy_association_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
3539
3703
|
"""
|
3540
3704
|
Calls :py:func:`~oci.data_safe.DataSafeClient.patch_target_alert_policy_association` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
oci/data_safe/models/__init__.py
CHANGED
@@ -53,6 +53,8 @@ from .audit_trail_summary import AuditTrailSummary
|
|
53
53
|
from .autonomous_database_details import AutonomousDatabaseDetails
|
54
54
|
from .available_audit_volume_collection import AvailableAuditVolumeCollection
|
55
55
|
from .available_audit_volume_summary import AvailableAuditVolumeSummary
|
56
|
+
from .bulk_create_sql_firewall_allowed_sqls_details import BulkCreateSqlFirewallAllowedSqlsDetails
|
57
|
+
from .bulk_delete_sql_firewall_allowed_sqls_details import BulkDeleteSqlFirewallAllowedSqlsDetails
|
56
58
|
from .calculate_audit_volume_available_details import CalculateAuditVolumeAvailableDetails
|
57
59
|
from .calculate_audit_volume_collected_details import CalculateAuditVolumeCollectedDetails
|
58
60
|
from .change_alert_compartment_details import ChangeAlertCompartmentDetails
|
@@ -194,6 +196,7 @@ from .library_masking_format import LibraryMaskingFormat
|
|
194
196
|
from .library_masking_format_collection import LibraryMaskingFormatCollection
|
195
197
|
from .library_masking_format_entry import LibraryMaskingFormatEntry
|
196
198
|
from .library_masking_format_summary import LibraryMaskingFormatSummary
|
199
|
+
from .list_selection_mode import ListSelectionMode
|
197
200
|
from .mask_data_details import MaskDataDetails
|
198
201
|
from .masked_column_collection import MaskedColumnCollection
|
199
202
|
from .masked_column_summary import MaskedColumnSummary
|
@@ -236,6 +239,7 @@ from .patch_merge_instruction import PatchMergeInstruction
|
|
236
239
|
from .patch_remove_instruction import PatchRemoveInstruction
|
237
240
|
from .patch_sdm_masking_policy_difference_columns_details import PatchSdmMaskingPolicyDifferenceColumnsDetails
|
238
241
|
from .patch_sensitive_column_details import PatchSensitiveColumnDetails
|
242
|
+
from .patch_sql_firewall_allowed_sql_details import PatchSqlFirewallAllowedSqlDetails
|
239
243
|
from .patch_target_alert_policy_association_details import PatchTargetAlertPolicyAssociationDetails
|
240
244
|
from .pattern_format_entry import PatternFormatEntry
|
241
245
|
from .peer_target_database import PeerTargetDatabase
|
@@ -274,6 +278,7 @@ from .sql_expression_format_entry import SQLExpressionFormatEntry
|
|
274
278
|
from .schedule_audit_report_details import ScheduleAuditReportDetails
|
275
279
|
from .schedule_report_details import ScheduleReportDetails
|
276
280
|
from .schema_summary import SchemaSummary
|
281
|
+
from .scim_query_selection_mode import ScimQuerySelectionMode
|
277
282
|
from .sdm_masking_policy_difference import SdmMaskingPolicyDifference
|
278
283
|
from .sdm_masking_policy_difference_collection import SdmMaskingPolicyDifferenceCollection
|
279
284
|
from .sdm_masking_policy_difference_column_collection import SdmMaskingPolicyDifferenceColumnCollection
|
@@ -302,6 +307,7 @@ from .security_policy_report import SecurityPolicyReport
|
|
302
307
|
from .security_policy_report_collection import SecurityPolicyReportCollection
|
303
308
|
from .security_policy_report_summary import SecurityPolicyReportSummary
|
304
309
|
from .security_policy_summary import SecurityPolicySummary
|
310
|
+
from .selection_details import SelectionDetails
|
305
311
|
from .sensitive_category import SensitiveCategory
|
306
312
|
from .sensitive_column import SensitiveColumn
|
307
313
|
from .sensitive_column_collection import SensitiveColumnCollection
|
@@ -462,6 +468,8 @@ data_safe_type_mapping = {
|
|
462
468
|
"AutonomousDatabaseDetails": AutonomousDatabaseDetails,
|
463
469
|
"AvailableAuditVolumeCollection": AvailableAuditVolumeCollection,
|
464
470
|
"AvailableAuditVolumeSummary": AvailableAuditVolumeSummary,
|
471
|
+
"BulkCreateSqlFirewallAllowedSqlsDetails": BulkCreateSqlFirewallAllowedSqlsDetails,
|
472
|
+
"BulkDeleteSqlFirewallAllowedSqlsDetails": BulkDeleteSqlFirewallAllowedSqlsDetails,
|
465
473
|
"CalculateAuditVolumeAvailableDetails": CalculateAuditVolumeAvailableDetails,
|
466
474
|
"CalculateAuditVolumeCollectedDetails": CalculateAuditVolumeCollectedDetails,
|
467
475
|
"ChangeAlertCompartmentDetails": ChangeAlertCompartmentDetails,
|
@@ -603,6 +611,7 @@ data_safe_type_mapping = {
|
|
603
611
|
"LibraryMaskingFormatCollection": LibraryMaskingFormatCollection,
|
604
612
|
"LibraryMaskingFormatEntry": LibraryMaskingFormatEntry,
|
605
613
|
"LibraryMaskingFormatSummary": LibraryMaskingFormatSummary,
|
614
|
+
"ListSelectionMode": ListSelectionMode,
|
606
615
|
"MaskDataDetails": MaskDataDetails,
|
607
616
|
"MaskedColumnCollection": MaskedColumnCollection,
|
608
617
|
"MaskedColumnSummary": MaskedColumnSummary,
|
@@ -645,6 +654,7 @@ data_safe_type_mapping = {
|
|
645
654
|
"PatchRemoveInstruction": PatchRemoveInstruction,
|
646
655
|
"PatchSdmMaskingPolicyDifferenceColumnsDetails": PatchSdmMaskingPolicyDifferenceColumnsDetails,
|
647
656
|
"PatchSensitiveColumnDetails": PatchSensitiveColumnDetails,
|
657
|
+
"PatchSqlFirewallAllowedSqlDetails": PatchSqlFirewallAllowedSqlDetails,
|
648
658
|
"PatchTargetAlertPolicyAssociationDetails": PatchTargetAlertPolicyAssociationDetails,
|
649
659
|
"PatternFormatEntry": PatternFormatEntry,
|
650
660
|
"PeerTargetDatabase": PeerTargetDatabase,
|
@@ -683,6 +693,7 @@ data_safe_type_mapping = {
|
|
683
693
|
"ScheduleAuditReportDetails": ScheduleAuditReportDetails,
|
684
694
|
"ScheduleReportDetails": ScheduleReportDetails,
|
685
695
|
"SchemaSummary": SchemaSummary,
|
696
|
+
"ScimQuerySelectionMode": ScimQuerySelectionMode,
|
686
697
|
"SdmMaskingPolicyDifference": SdmMaskingPolicyDifference,
|
687
698
|
"SdmMaskingPolicyDifferenceCollection": SdmMaskingPolicyDifferenceCollection,
|
688
699
|
"SdmMaskingPolicyDifferenceColumnCollection": SdmMaskingPolicyDifferenceColumnCollection,
|
@@ -711,6 +722,7 @@ data_safe_type_mapping = {
|
|
711
722
|
"SecurityPolicyReportCollection": SecurityPolicyReportCollection,
|
712
723
|
"SecurityPolicyReportSummary": SecurityPolicyReportSummary,
|
713
724
|
"SecurityPolicySummary": SecurityPolicySummary,
|
725
|
+
"SelectionDetails": SelectionDetails,
|
714
726
|
"SensitiveCategory": SensitiveCategory,
|
715
727
|
"SensitiveColumn": SensitiveColumn,
|
716
728
|
"SensitiveColumnCollection": SensitiveColumnCollection,
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class BulkCreateSqlFirewallAllowedSqlsDetails(object):
|
14
|
+
"""
|
15
|
+
The details used to append the violation logs as allowed SQLs
|
16
|
+
"""
|
17
|
+
|
18
|
+
#: A constant which can be used with the log_type property of a BulkCreateSqlFirewallAllowedSqlsDetails.
|
19
|
+
#: This constant has a value of "VIOLATION_LOG"
|
20
|
+
LOG_TYPE_VIOLATION_LOG = "VIOLATION_LOG"
|
21
|
+
|
22
|
+
def __init__(self, **kwargs):
|
23
|
+
"""
|
24
|
+
Initializes a new BulkCreateSqlFirewallAllowedSqlsDetails object with values from keyword arguments.
|
25
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
26
|
+
|
27
|
+
:param sql_firewall_policy_id:
|
28
|
+
The value to assign to the sql_firewall_policy_id property of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
29
|
+
:type sql_firewall_policy_id: str
|
30
|
+
|
31
|
+
:param log_type:
|
32
|
+
The value to assign to the log_type property of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
33
|
+
Allowed values for this property are: "VIOLATION_LOG"
|
34
|
+
:type log_type: str
|
35
|
+
|
36
|
+
:param selection:
|
37
|
+
The value to assign to the selection property of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
38
|
+
:type selection: oci.data_safe.models.SelectionDetails
|
39
|
+
|
40
|
+
"""
|
41
|
+
self.swagger_types = {
|
42
|
+
'sql_firewall_policy_id': 'str',
|
43
|
+
'log_type': 'str',
|
44
|
+
'selection': 'SelectionDetails'
|
45
|
+
}
|
46
|
+
|
47
|
+
self.attribute_map = {
|
48
|
+
'sql_firewall_policy_id': 'sqlFirewallPolicyId',
|
49
|
+
'log_type': 'logType',
|
50
|
+
'selection': 'selection'
|
51
|
+
}
|
52
|
+
|
53
|
+
self._sql_firewall_policy_id = None
|
54
|
+
self._log_type = None
|
55
|
+
self._selection = None
|
56
|
+
|
57
|
+
@property
|
58
|
+
def sql_firewall_policy_id(self):
|
59
|
+
"""
|
60
|
+
**[Required]** Gets the sql_firewall_policy_id of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
61
|
+
The OCID of the SQL firewall policy where new allowed SQLs needs to be added.
|
62
|
+
|
63
|
+
|
64
|
+
:return: The sql_firewall_policy_id of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
65
|
+
:rtype: str
|
66
|
+
"""
|
67
|
+
return self._sql_firewall_policy_id
|
68
|
+
|
69
|
+
@sql_firewall_policy_id.setter
|
70
|
+
def sql_firewall_policy_id(self, sql_firewall_policy_id):
|
71
|
+
"""
|
72
|
+
Sets the sql_firewall_policy_id of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
73
|
+
The OCID of the SQL firewall policy where new allowed SQLs needs to be added.
|
74
|
+
|
75
|
+
|
76
|
+
:param sql_firewall_policy_id: The sql_firewall_policy_id of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
77
|
+
:type: str
|
78
|
+
"""
|
79
|
+
self._sql_firewall_policy_id = sql_firewall_policy_id
|
80
|
+
|
81
|
+
@property
|
82
|
+
def log_type(self):
|
83
|
+
"""
|
84
|
+
**[Required]** Gets the log_type of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
85
|
+
The type of log to be added as an allowed sql.
|
86
|
+
|
87
|
+
Allowed values for this property are: "VIOLATION_LOG"
|
88
|
+
|
89
|
+
|
90
|
+
:return: The log_type of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
91
|
+
:rtype: str
|
92
|
+
"""
|
93
|
+
return self._log_type
|
94
|
+
|
95
|
+
@log_type.setter
|
96
|
+
def log_type(self, log_type):
|
97
|
+
"""
|
98
|
+
Sets the log_type of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
99
|
+
The type of log to be added as an allowed sql.
|
100
|
+
|
101
|
+
|
102
|
+
:param log_type: The log_type of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
103
|
+
:type: str
|
104
|
+
"""
|
105
|
+
allowed_values = ["VIOLATION_LOG"]
|
106
|
+
if not value_allowed_none_or_none_sentinel(log_type, allowed_values):
|
107
|
+
raise ValueError(
|
108
|
+
f"Invalid value for `log_type`, must be None or one of {allowed_values}"
|
109
|
+
)
|
110
|
+
self._log_type = log_type
|
111
|
+
|
112
|
+
@property
|
113
|
+
def selection(self):
|
114
|
+
"""
|
115
|
+
**[Required]** Gets the selection of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
116
|
+
|
117
|
+
:return: The selection of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
118
|
+
:rtype: oci.data_safe.models.SelectionDetails
|
119
|
+
"""
|
120
|
+
return self._selection
|
121
|
+
|
122
|
+
@selection.setter
|
123
|
+
def selection(self, selection):
|
124
|
+
"""
|
125
|
+
Sets the selection of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
126
|
+
|
127
|
+
:param selection: The selection of this BulkCreateSqlFirewallAllowedSqlsDetails.
|
128
|
+
:type: oci.data_safe.models.SelectionDetails
|
129
|
+
"""
|
130
|
+
self._selection = selection
|
131
|
+
|
132
|
+
def __repr__(self):
|
133
|
+
return formatted_flat_dict(self)
|
134
|
+
|
135
|
+
def __eq__(self, other):
|
136
|
+
if other is None:
|
137
|
+
return False
|
138
|
+
|
139
|
+
return self.__dict__ == other.__dict__
|
140
|
+
|
141
|
+
def __ne__(self, other):
|
142
|
+
return not self == other
|
@@ -0,0 +1,99 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class BulkDeleteSqlFirewallAllowedSqlsDetails(object):
|
14
|
+
"""
|
15
|
+
Details of the allowed SQLs to be deleted from the SQL firewall policy.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new BulkDeleteSqlFirewallAllowedSqlsDetails object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param sql_firewall_policy_id:
|
24
|
+
The value to assign to the sql_firewall_policy_id property of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
25
|
+
:type sql_firewall_policy_id: str
|
26
|
+
|
27
|
+
:param selection:
|
28
|
+
The value to assign to the selection property of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
29
|
+
:type selection: oci.data_safe.models.SelectionDetails
|
30
|
+
|
31
|
+
"""
|
32
|
+
self.swagger_types = {
|
33
|
+
'sql_firewall_policy_id': 'str',
|
34
|
+
'selection': 'SelectionDetails'
|
35
|
+
}
|
36
|
+
|
37
|
+
self.attribute_map = {
|
38
|
+
'sql_firewall_policy_id': 'sqlFirewallPolicyId',
|
39
|
+
'selection': 'selection'
|
40
|
+
}
|
41
|
+
|
42
|
+
self._sql_firewall_policy_id = None
|
43
|
+
self._selection = None
|
44
|
+
|
45
|
+
@property
|
46
|
+
def sql_firewall_policy_id(self):
|
47
|
+
"""
|
48
|
+
**[Required]** Gets the sql_firewall_policy_id of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
49
|
+
The OCID of the SQL firewall policy whose allowed SQLs needs to be deleted.
|
50
|
+
|
51
|
+
|
52
|
+
:return: The sql_firewall_policy_id of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
53
|
+
:rtype: str
|
54
|
+
"""
|
55
|
+
return self._sql_firewall_policy_id
|
56
|
+
|
57
|
+
@sql_firewall_policy_id.setter
|
58
|
+
def sql_firewall_policy_id(self, sql_firewall_policy_id):
|
59
|
+
"""
|
60
|
+
Sets the sql_firewall_policy_id of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
61
|
+
The OCID of the SQL firewall policy whose allowed SQLs needs to be deleted.
|
62
|
+
|
63
|
+
|
64
|
+
:param sql_firewall_policy_id: The sql_firewall_policy_id of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
65
|
+
:type: str
|
66
|
+
"""
|
67
|
+
self._sql_firewall_policy_id = sql_firewall_policy_id
|
68
|
+
|
69
|
+
@property
|
70
|
+
def selection(self):
|
71
|
+
"""
|
72
|
+
**[Required]** Gets the selection of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
73
|
+
|
74
|
+
:return: The selection of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
75
|
+
:rtype: oci.data_safe.models.SelectionDetails
|
76
|
+
"""
|
77
|
+
return self._selection
|
78
|
+
|
79
|
+
@selection.setter
|
80
|
+
def selection(self, selection):
|
81
|
+
"""
|
82
|
+
Sets the selection of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
83
|
+
|
84
|
+
:param selection: The selection of this BulkDeleteSqlFirewallAllowedSqlsDetails.
|
85
|
+
:type: oci.data_safe.models.SelectionDetails
|
86
|
+
"""
|
87
|
+
self._selection = selection
|
88
|
+
|
89
|
+
def __repr__(self):
|
90
|
+
return formatted_flat_dict(self)
|
91
|
+
|
92
|
+
def __eq__(self, other):
|
93
|
+
if other is None:
|
94
|
+
return False
|
95
|
+
|
96
|
+
return self.__dict__ == other.__dict__
|
97
|
+
|
98
|
+
def __ne__(self, other):
|
99
|
+
return not self == other
|
@@ -23,6 +23,10 @@ class GenerateReportDetails(object):
|
|
23
23
|
#: This constant has a value of "XLS"
|
24
24
|
MIME_TYPE_XLS = "XLS"
|
25
25
|
|
26
|
+
#: A constant which can be used with the mime_type property of a GenerateReportDetails.
|
27
|
+
#: This constant has a value of "JSON"
|
28
|
+
MIME_TYPE_JSON = "JSON"
|
29
|
+
|
26
30
|
def __init__(self, **kwargs):
|
27
31
|
"""
|
28
32
|
Initializes a new GenerateReportDetails object with values from keyword arguments.
|
@@ -46,7 +50,7 @@ class GenerateReportDetails(object):
|
|
46
50
|
|
47
51
|
:param mime_type:
|
48
52
|
The value to assign to the mime_type property of this GenerateReportDetails.
|
49
|
-
Allowed values for this property are: "PDF", "XLS"
|
53
|
+
Allowed values for this property are: "PDF", "XLS", "JSON"
|
50
54
|
:type mime_type: str
|
51
55
|
|
52
56
|
:param time_less_than:
|
@@ -201,7 +205,7 @@ class GenerateReportDetails(object):
|
|
201
205
|
**[Required]** Gets the mime_type of this GenerateReportDetails.
|
202
206
|
Specifies the format of report to be .xls or .pdf or .json
|
203
207
|
|
204
|
-
Allowed values for this property are: "PDF", "XLS"
|
208
|
+
Allowed values for this property are: "PDF", "XLS", "JSON"
|
205
209
|
|
206
210
|
|
207
211
|
:return: The mime_type of this GenerateReportDetails.
|
@@ -219,7 +223,7 @@ class GenerateReportDetails(object):
|
|
219
223
|
:param mime_type: The mime_type of this GenerateReportDetails.
|
220
224
|
:type: str
|
221
225
|
"""
|
222
|
-
allowed_values = ["PDF", "XLS"]
|
226
|
+
allowed_values = ["PDF", "XLS", "JSON"]
|
223
227
|
if not value_allowed_none_or_none_sentinel(mime_type, allowed_values):
|
224
228
|
raise ValueError(
|
225
229
|
f"Invalid value for `mime_type`, must be None or one of {allowed_values}"
|
@@ -0,0 +1,84 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
|
6
|
+
|
7
|
+
from .selection_details import SelectionDetails
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class ListSelectionMode(SelectionDetails):
|
14
|
+
"""
|
15
|
+
Indicates that the selection is a list of resource ocids.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new ListSelectionMode object with values from keyword arguments. The default value of the :py:attr:`~oci.data_safe.models.ListSelectionMode.selection_mode` attribute
|
21
|
+
of this class is ``LIST`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param selection_mode:
|
25
|
+
The value to assign to the selection_mode property of this ListSelectionMode.
|
26
|
+
Allowed values for this property are: "LIST", "SCIM_QUERY"
|
27
|
+
:type selection_mode: str
|
28
|
+
|
29
|
+
:param items:
|
30
|
+
The value to assign to the items property of this ListSelectionMode.
|
31
|
+
:type items: list[str]
|
32
|
+
|
33
|
+
"""
|
34
|
+
self.swagger_types = {
|
35
|
+
'selection_mode': 'str',
|
36
|
+
'items': 'list[str]'
|
37
|
+
}
|
38
|
+
|
39
|
+
self.attribute_map = {
|
40
|
+
'selection_mode': 'selectionMode',
|
41
|
+
'items': 'items'
|
42
|
+
}
|
43
|
+
|
44
|
+
self._selection_mode = None
|
45
|
+
self._items = None
|
46
|
+
self._selection_mode = 'LIST'
|
47
|
+
|
48
|
+
@property
|
49
|
+
def items(self):
|
50
|
+
"""
|
51
|
+
**[Required]** Gets the items of this ListSelectionMode.
|
52
|
+
* Array of the violation log ocids to be selected in case of allowed SQLs bulk create.
|
53
|
+
* Array of the allowed SQL ocids to be selected in case of allowed SQLs bulk delete.
|
54
|
+
|
55
|
+
|
56
|
+
:return: The items of this ListSelectionMode.
|
57
|
+
:rtype: list[str]
|
58
|
+
"""
|
59
|
+
return self._items
|
60
|
+
|
61
|
+
@items.setter
|
62
|
+
def items(self, items):
|
63
|
+
"""
|
64
|
+
Sets the items of this ListSelectionMode.
|
65
|
+
* Array of the violation log ocids to be selected in case of allowed SQLs bulk create.
|
66
|
+
* Array of the allowed SQL ocids to be selected in case of allowed SQLs bulk delete.
|
67
|
+
|
68
|
+
|
69
|
+
:param items: The items of this ListSelectionMode.
|
70
|
+
:type: list[str]
|
71
|
+
"""
|
72
|
+
self._items = items
|
73
|
+
|
74
|
+
def __repr__(self):
|
75
|
+
return formatted_flat_dict(self)
|
76
|
+
|
77
|
+
def __eq__(self, other):
|
78
|
+
if other is None:
|
79
|
+
return False
|
80
|
+
|
81
|
+
return self.__dict__ == other.__dict__
|
82
|
+
|
83
|
+
def __ne__(self, other):
|
84
|
+
return not self == other
|