oci 2.129.3__py3-none-any.whl → 2.130.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/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 +22 -22
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +870 -87
- oci/ai_speech/ai_service_speech_client_composite_operations.py +146 -0
- oci/ai_speech/models/__init__.py +70 -0
- oci/ai_speech/models/change_customization_compartment_details.py +78 -0
- oci/ai_speech/models/create_customization_details.py +289 -0
- oci/ai_speech/models/create_realtime_session_token_details.py +142 -0
- oci/ai_speech/models/customization.py +544 -0
- oci/ai_speech/models/customization_collection.py +72 -0
- oci/ai_speech/models/customization_dataset_details.py +109 -0
- oci/ai_speech/models/customization_inference.py +173 -0
- oci/ai_speech/models/customization_inference_entity.py +138 -0
- oci/ai_speech/models/customization_model_details.py +139 -0
- oci/ai_speech/models/customization_referenced_entities.py +134 -0
- oci/ai_speech/models/customization_summary.py +396 -0
- oci/ai_speech/models/entity.py +134 -0
- oci/ai_speech/models/entity_list.py +166 -0
- oci/ai_speech/models/entity_list_dataset.py +115 -0
- oci/ai_speech/models/location_details.py +101 -0
- oci/ai_speech/models/object_list_dataset.py +144 -0
- oci/ai_speech/models/object_storage_dataset.py +109 -0
- oci/ai_speech/models/pronunciation.py +99 -0
- oci/ai_speech/models/realtime_message.py +168 -0
- oci/ai_speech/models/realtime_message_ack_audio.py +85 -0
- oci/ai_speech/models/realtime_message_ack_audio_details.py +134 -0
- oci/ai_speech/models/realtime_message_authentication.py +140 -0
- oci/ai_speech/models/realtime_message_authentication_credentials.py +89 -0
- oci/ai_speech/models/realtime_message_authentication_token.py +89 -0
- oci/ai_speech/models/realtime_message_connect.py +58 -0
- oci/ai_speech/models/realtime_message_error.py +120 -0
- oci/ai_speech/models/realtime_message_out.py +103 -0
- oci/ai_speech/models/realtime_message_result.py +89 -0
- oci/ai_speech/models/realtime_message_result_transcription.py +258 -0
- oci/ai_speech/models/realtime_message_result_transcription_token.py +212 -0
- oci/ai_speech/models/realtime_message_send_final_result.py +51 -0
- oci/ai_speech/models/realtime_model_details.py +139 -0
- oci/ai_speech/models/realtime_parameters.py +390 -0
- oci/ai_speech/models/realtime_session_token.py +200 -0
- oci/ai_speech/models/update_customization_details.py +254 -0
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +29 -29
- oci/apm_synthetics/models/__init__.py +14 -0
- oci/apm_synthetics/models/basic_authentication_details.py +99 -0
- oci/apm_synthetics/models/browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/create_monitor_details.py +48 -9
- oci/apm_synthetics/models/database_wallet_details.py +103 -0
- oci/apm_synthetics/models/dns_sec_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_server_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/dns_trace_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/ftp_monitor_configuration.py +379 -0
- oci/apm_synthetics/models/monitor.py +112 -11
- oci/apm_synthetics/models/monitor_configuration.py +19 -3
- oci/apm_synthetics/models/monitor_summary.py +112 -11
- oci/apm_synthetics/models/network_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/password.py +109 -0
- oci/apm_synthetics/models/password_in_text.py +82 -0
- oci/apm_synthetics/models/password_in_vault.py +83 -0
- oci/apm_synthetics/models/rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_browser_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/scripted_rest_monitor_configuration.py +1 -1
- oci/apm_synthetics/models/sql_monitor_configuration.py +307 -0
- oci/apm_synthetics/models/update_monitor_details.py +37 -6
- oci/apm_synthetics/models/vantage_point_info.py +33 -2
- oci/apm_synthetics/models/worker_monitor_list.py +11 -3
- 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/auth/certificate_retriever.py +13 -6
- oci/auth/signers/ephemeral_resource_principals_v21_signer.py +38 -5
- oci/auth/signers/instance_principals_security_token_signer.py +1 -1
- oci/auth/signers/key_pair_signer.py +2 -2
- oci/auth/signers/resource_principals_signer.py +17 -5
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +66 -66
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +22 -22
- 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 +508 -99
- oci/core/compute_client_composite_operations.py +39 -0
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/instance_maintenance_event.py +1022 -0
- oci/core/models/instance_maintenance_event_summary.py +795 -0
- oci/core/models/update_instance_maintenance_event_details.py +281 -0
- oci/core/virtual_network_client.py +247 -247
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +3762 -2702
- oci/data_safe/data_safe_client_composite_operations.py +307 -0
- oci/data_safe/models/__init__.py +14 -0
- oci/data_safe/models/alert.py +62 -0
- oci/data_safe/models/alert_policy.py +31 -0
- oci/data_safe/models/alert_policy_rule.py +127 -2
- oci/data_safe/models/alert_policy_rule_summary.py +127 -2
- oci/data_safe/models/alert_policy_summary.py +31 -0
- oci/data_safe/models/alert_summary.py +62 -0
- oci/data_safe/models/audit_event_summary.py +62 -0
- oci/data_safe/models/create_alert_policy_details.py +31 -0
- oci/data_safe/models/create_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/create_discovery_job_details.py +33 -0
- oci/data_safe/models/create_security_assessment_details.py +31 -0
- oci/data_safe/models/create_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/create_user_assessment_details.py +31 -0
- oci/data_safe/models/discovery_job.py +31 -0
- oci/data_safe/models/finding_summary.py +31 -0
- oci/data_safe/models/generate_report_details.py +2 -2
- oci/data_safe/models/references.py +34 -3
- oci/data_safe/models/report.py +44 -5
- oci/data_safe/models/report_definition.py +40 -5
- oci/data_safe/models/report_definition_summary.py +7 -3
- oci/data_safe/models/report_summary.py +13 -5
- oci/data_safe/models/schedule_report_details.py +2 -2
- oci/data_safe/models/security_assessment.py +31 -0
- oci/data_safe/models/sensitive_data_model.py +35 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_collection.py +72 -0
- oci/data_safe/models/sensitive_data_model_sensitive_type_summary.py +103 -0
- oci/data_safe/models/sql_firewall_allowed_sql.py +626 -0
- oci/data_safe/models/sql_firewall_allowed_sql_dimensions.py +7 -3
- oci/data_safe/models/sql_firewall_allowed_sql_summary.py +7 -3
- oci/data_safe/models/tables_for_discovery.py +103 -0
- oci/data_safe/models/target_alert_policy_association.py +31 -0
- oci/data_safe/models/target_alert_policy_association_summary.py +31 -0
- oci/data_safe/models/unset_security_assessment_baseline_details.py +72 -0
- oci/data_safe/models/unset_user_assessment_baseline_details.py +72 -0
- oci/data_safe/models/update_alert_policy_details.py +240 -0
- oci/data_safe/models/update_alert_policy_rule_details.py +33 -2
- oci/data_safe/models/update_security_assessment_details.py +31 -0
- oci/data_safe/models/update_sensitive_data_model_details.py +35 -0
- oci/data_safe/models/update_user_assessment_details.py +31 -0
- oci/data_safe/models/user_assessment.py +31 -0
- oci/data_safe/models/user_assessment_summary.py +31 -0
- oci/data_safe/models/work_request.py +39 -3
- oci/data_safe/models/work_request_summary.py +39 -3
- oci/data_science/data_science_client.py +91 -91
- oci/database/database_client.py +707 -353
- oci/database/database_client_composite_operations.py +123 -0
- oci/database/models/__init__.py +8 -0
- oci/database/models/autonomous_database.py +103 -2
- oci/database/models/autonomous_database_summary.py +103 -2
- oci/database/models/change_autonomous_database_subscription_details.py +107 -0
- oci/database/models/change_cloud_exadata_infrastructure_subscription_details.py +107 -0
- oci/database/models/change_cloud_vm_cluster_subscription_details.py +107 -0
- oci/database/models/change_subscription_details.py +107 -0
- oci/database/models/cloud_exadata_infrastructure.py +35 -0
- oci/database/models/cloud_exadata_infrastructure_summary.py +35 -0
- oci/database/models/cloud_vm_cluster.py +35 -0
- oci/database/models/cloud_vm_cluster_summary.py +35 -0
- oci/database/models/create_autonomous_database_base.py +66 -0
- oci/database/models/create_autonomous_database_clone_details.py +14 -0
- oci/database/models/create_autonomous_database_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_details.py +14 -0
- oci/database/models/create_autonomous_database_from_backup_timestamp_details.py +14 -0
- oci/database/models/create_cloud_exadata_infrastructure_details.py +35 -0
- oci/database/models/create_cloud_vm_cluster_details.py +35 -0
- oci/database/models/create_cross_region_autonomous_database_data_guard_details.py +14 -0
- oci/database/models/create_cross_region_disaster_recovery_details.py +14 -0
- oci/database/models/create_cross_tenancy_disaster_recovery_details.py +14 -0
- oci/database/models/create_refreshable_autonomous_database_clone_details.py +14 -0
- oci/database/models/update_autonomous_database_details.py +31 -0
- oci/database_management/db_management_client.py +208 -208
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +792 -66
- oci/database_migration/database_migration_client_composite_operations.py +179 -0
- oci/database_migration/models/__init__.py +8 -0
- oci/database_migration/models/adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/create_parameter_file_version_details.py +181 -0
- oci/database_migration/models/job.py +31 -0
- oci/database_migration/models/non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/parameter_file_version.py +274 -0
- oci/database_migration/models/parameter_file_version_collection.py +72 -0
- oci/database_migration/models/parameter_file_version_summary.py +342 -0
- oci/database_migration/models/phase_status.py +80 -2
- oci/database_migration/models/update_adb_dedicated_auto_create_tablespace_details.py +11 -3
- oci/database_migration/models/update_non_adb_auto_create_tablespace_details.py +11 -3
- oci/database_tools/database_tools_client.py +23 -23
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- 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 +51 -51
- oci/fleet_software_update/fleet_software_update_client.py +259 -45
- oci/fleet_software_update/fleet_software_update_client_composite_operations.py +52 -1
- oci/fleet_software_update/models/__init__.py +4 -0
- oci/fleet_software_update/models/cloud_vm_cluster_target_summary.py +33 -2
- oci/fleet_software_update/models/create_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/create_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/diagnostics_collection_details.py +94 -0
- oci/fleet_software_update/models/fsu_collection_target.py +239 -0
- oci/fleet_software_update/models/fsu_cycle.py +27 -0
- oci/fleet_software_update/models/fsu_cycle_summary.py +27 -0
- oci/fleet_software_update/models/gi_resource_id_filter.py +7 -3
- oci/fleet_software_update/models/image_id_fsu_target_details.py +4 -1
- oci/fleet_software_update/models/patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/update_fsu_cycle_details.py +27 -0
- oci/fleet_software_update/models/update_patch_fsu_cycle.py +7 -0
- oci/fleet_software_update/models/vm_cluster_target_summary.py +33 -2
- 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/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_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 +1525 -662
- oci/identity_domains/models/__init__.py +12 -0
- oci/identity_domains/models/extension_social_identity_provider.py +220 -0
- oci/identity_domains/models/identity_propagation_trust.py +0 -49
- oci/identity_domains/models/identity_provider_jit_prov_assigned_groups.py +214 -0
- oci/identity_domains/models/social_identity_provider.py +2083 -0
- oci/identity_domains/models/social_identity_provider_jit_prov_assigned_groups.py +202 -0
- oci/identity_domains/models/social_identity_provider_relay_idp_param_mappings.py +147 -0
- oci/identity_domains/models/social_identity_provider_search_request.py +364 -0
- oci/identity_domains/models/social_identity_providers.py +196 -0
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/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/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/models/__init__.py +22 -0
- oci/network_firewall/models/create_tunnel_inspection_rule_details.py +218 -0
- oci/network_firewall/models/create_vxlan_inspection_rule_details.py +127 -0
- oci/network_firewall/models/tunnel_inspection_rule.py +280 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary.py +253 -0
- oci/network_firewall/models/tunnel_inspection_rule_summary_collection.py +72 -0
- oci/network_firewall/models/update_tunnel_inspection_rule_details.py +187 -0
- oci/network_firewall/models/update_vxlan_inspection_rule_details.py +120 -0
- oci/network_firewall/models/vxlan_inspection_rule.py +141 -0
- oci/network_firewall/models/vxlan_inspection_rule_match_criteria.py +104 -0
- oci/network_firewall/models/vxlan_inspection_rule_profile.py +72 -0
- oci/network_firewall/models/vxlan_inspection_rule_summary.py +134 -0
- oci/network_firewall/network_firewall_client.py +837 -97
- oci/network_firewall/network_firewall_client_composite_operations.py +42 -0
- 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 +50 -50
- oci/object_storage/transfer/internal/download/__init__.py +1 -1
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +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 +22 -0
- 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/create_database_insight_details.py +11 -3
- oci/opsi/models/create_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +107 -0
- oci/opsi/models/create_pe_comanaged_database_insight_details.py +1 -1
- 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/em_managed_external_database_configuration_summary.py +1 -1
- 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/enable_database_insight_details.py +11 -3
- oci/opsi/models/enable_em_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/enable_mds_my_sql_database_insight_details.py +51 -0
- oci/opsi/models/enable_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/host_containers.py +182 -0
- oci/opsi/models/host_cpu_usage.py +1 -1
- oci/opsi/models/host_filesystem_usage.py +30 -3
- oci/opsi/models/host_gpu_processes.py +1 -1
- oci/opsi/models/host_gpu_usage.py +1 -1
- oci/opsi/models/host_io_usage.py +244 -0
- oci/opsi/models/host_memory_usage.py +1 -1
- oci/opsi/models/host_network_activity_summary.py +1 -1
- oci/opsi/models/host_performance_metric_group.py +19 -3
- oci/opsi/models/host_top_processes.py +158 -3
- oci/opsi/models/ingest_my_sql_sql_stats_details.py +72 -0
- oci/opsi/models/ingest_my_sql_sql_stats_response_details.py +72 -0
- 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/mds_my_sql_database_insight.py +374 -0
- oci/opsi/models/mds_my_sql_database_insight_summary.py +210 -0
- oci/opsi/models/mds_mysql_database_configuration_summary.py +251 -0
- oci/opsi/models/my_sql_sql_stats.py +1074 -0
- 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_managed_external_database_configuration_summary.py +1 -1
- oci/opsi/models/resource_statistics.py +64 -2
- oci/opsi/models/summarize_host_insight_host_recommendation_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_capacity_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_forecast_trend_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_statistics_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_aggregation.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_usage_trend_aggregation_collection.py +11 -3
- oci/opsi/models/summarize_host_insight_resource_utilization_insight_aggregation.py +11 -3
- 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_macs_managed_external_database_insight_details.py +2 -2
- oci/opsi/models/update_mds_my_sql_database_insight.py +65 -0
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +2 -2
- oci/opsi/operations_insights_client.py +464 -195
- 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/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 +25 -25
- oci/redis/models/create_redis_cluster_details.py +12 -2
- oci/redis/models/redis_cluster.py +19 -5
- oci/redis/models/redis_cluster_summary.py +12 -2
- oci/redis/models/update_redis_cluster_details.py +12 -2
- oci/redis/redis_cluster_client.py +11 -11
- 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/service_mesh_client.py +48 -48
- oci/stack_monitoring/models/baselineable_metric.py +155 -124
- oci/stack_monitoring/models/baselineable_metric_summary.py +31 -0
- oci/stack_monitoring/models/create_baselineable_metric_details.py +35 -4
- oci/stack_monitoring/models/update_baselineable_metric_details.py +31 -0
- oci/stack_monitoring/stack_monitoring_client.py +74 -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/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/METADATA +1 -1
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/RECORD +507 -417
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/WHEEL +0 -0
- {oci-2.129.3.dist-info → oci-2.130.0.dist-info}/top_level.txt +0 -0
@@ -313,6 +313,48 @@ class DataSafeClientCompositeOperations(object):
|
|
313
313
|
except Exception as e:
|
314
314
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
315
315
|
|
316
|
+
def change_alert_policy_compartment_and_wait_for_state(self, alert_policy_id, change_alert_policy_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
317
|
+
"""
|
318
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.change_alert_policy_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
319
|
+
to enter the given state(s).
|
320
|
+
|
321
|
+
:param str alert_policy_id: (required)
|
322
|
+
The OCID of the alert policy.
|
323
|
+
|
324
|
+
:param oci.data_safe.models.ChangeAlertPolicyCompartmentDetails change_alert_policy_compartment_details: (required)
|
325
|
+
The details used to change the compartment of an alert policy.
|
326
|
+
|
327
|
+
:param list[str] wait_for_states:
|
328
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
329
|
+
|
330
|
+
:param dict operation_kwargs:
|
331
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.change_alert_policy_compartment`
|
332
|
+
|
333
|
+
:param dict waiter_kwargs:
|
334
|
+
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``
|
335
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
336
|
+
"""
|
337
|
+
operation_result = self.client.change_alert_policy_compartment(alert_policy_id, change_alert_policy_compartment_details, **operation_kwargs)
|
338
|
+
if not wait_for_states:
|
339
|
+
return operation_result
|
340
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
341
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
342
|
+
return operation_result
|
343
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
344
|
+
|
345
|
+
try:
|
346
|
+
waiter_result = oci.wait_until(
|
347
|
+
self.client,
|
348
|
+
self.client.get_work_request(wait_for_resource_id),
|
349
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
350
|
+
**waiter_kwargs
|
351
|
+
)
|
352
|
+
result_to_return = waiter_result
|
353
|
+
|
354
|
+
return result_to_return
|
355
|
+
except Exception as e:
|
356
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
357
|
+
|
316
358
|
def change_audit_archive_retrieval_compartment_and_wait_for_state(self, audit_archive_retrieval_id, change_audit_archive_retrieval_compartment_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
317
359
|
"""
|
318
360
|
Calls :py:func:`~oci.data_safe.DataSafeClient.change_audit_archive_retrieval_compartment` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -901,6 +943,87 @@ class DataSafeClientCompositeOperations(object):
|
|
901
943
|
except Exception as e:
|
902
944
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
903
945
|
|
946
|
+
def create_alert_policy_and_wait_for_state(self, create_alert_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
947
|
+
"""
|
948
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.create_alert_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
949
|
+
to enter the given state(s).
|
950
|
+
|
951
|
+
:param oci.data_safe.models.CreateAlertPolicyDetails create_alert_policy_details: (required)
|
952
|
+
The details used to create a new alert policy.
|
953
|
+
|
954
|
+
:param list[str] wait_for_states:
|
955
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
956
|
+
|
957
|
+
:param dict operation_kwargs:
|
958
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.create_alert_policy`
|
959
|
+
|
960
|
+
:param dict waiter_kwargs:
|
961
|
+
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``
|
962
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
963
|
+
"""
|
964
|
+
operation_result = self.client.create_alert_policy(create_alert_policy_details, **operation_kwargs)
|
965
|
+
if not wait_for_states:
|
966
|
+
return operation_result
|
967
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
968
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
969
|
+
return operation_result
|
970
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
971
|
+
|
972
|
+
try:
|
973
|
+
waiter_result = oci.wait_until(
|
974
|
+
self.client,
|
975
|
+
self.client.get_work_request(wait_for_resource_id),
|
976
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
977
|
+
**waiter_kwargs
|
978
|
+
)
|
979
|
+
result_to_return = waiter_result
|
980
|
+
|
981
|
+
return result_to_return
|
982
|
+
except Exception as e:
|
983
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
984
|
+
|
985
|
+
def create_alert_policy_rule_and_wait_for_state(self, create_alert_policy_rule_details, alert_policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
986
|
+
"""
|
987
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.create_alert_policy_rule` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
988
|
+
to enter the given state(s).
|
989
|
+
|
990
|
+
:param oci.data_safe.models.CreateAlertPolicyRuleDetails create_alert_policy_rule_details: (required)
|
991
|
+
The details used to create a new alert policy rule.
|
992
|
+
|
993
|
+
:param str alert_policy_id: (required)
|
994
|
+
The OCID of the alert policy.
|
995
|
+
|
996
|
+
:param list[str] wait_for_states:
|
997
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
998
|
+
|
999
|
+
:param dict operation_kwargs:
|
1000
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.create_alert_policy_rule`
|
1001
|
+
|
1002
|
+
:param dict waiter_kwargs:
|
1003
|
+
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``
|
1004
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1005
|
+
"""
|
1006
|
+
operation_result = self.client.create_alert_policy_rule(create_alert_policy_rule_details, alert_policy_id, **operation_kwargs)
|
1007
|
+
if not wait_for_states:
|
1008
|
+
return operation_result
|
1009
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1010
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1011
|
+
return operation_result
|
1012
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1013
|
+
|
1014
|
+
try:
|
1015
|
+
waiter_result = oci.wait_until(
|
1016
|
+
self.client,
|
1017
|
+
self.client.get_work_request(wait_for_resource_id),
|
1018
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1019
|
+
**waiter_kwargs
|
1020
|
+
)
|
1021
|
+
result_to_return = waiter_result
|
1022
|
+
|
1023
|
+
return result_to_return
|
1024
|
+
except Exception as e:
|
1025
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1026
|
+
|
904
1027
|
def create_audit_archive_retrieval_and_wait_for_state(self, create_audit_archive_retrieval_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
905
1028
|
"""
|
906
1029
|
Calls :py:func:`~oci.data_safe.DataSafeClient.create_audit_archive_retrieval` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -1651,6 +1774,103 @@ class DataSafeClientCompositeOperations(object):
|
|
1651
1774
|
except Exception as e:
|
1652
1775
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1653
1776
|
|
1777
|
+
def delete_alert_policy_and_wait_for_state(self, alert_policy_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1778
|
+
"""
|
1779
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.delete_alert_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
1780
|
+
to enter the given state(s).
|
1781
|
+
|
1782
|
+
:param str alert_policy_id: (required)
|
1783
|
+
The OCID of the alert policy.
|
1784
|
+
|
1785
|
+
:param list[str] wait_for_states:
|
1786
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
1787
|
+
|
1788
|
+
:param dict operation_kwargs:
|
1789
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_alert_policy`
|
1790
|
+
|
1791
|
+
:param dict waiter_kwargs:
|
1792
|
+
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``
|
1793
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1794
|
+
"""
|
1795
|
+
operation_result = None
|
1796
|
+
try:
|
1797
|
+
operation_result = self.client.delete_alert_policy(alert_policy_id, **operation_kwargs)
|
1798
|
+
except oci.exceptions.ServiceError as e:
|
1799
|
+
if e.status == 404:
|
1800
|
+
return WAIT_RESOURCE_NOT_FOUND
|
1801
|
+
else:
|
1802
|
+
raise e
|
1803
|
+
|
1804
|
+
if not wait_for_states:
|
1805
|
+
return operation_result
|
1806
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1807
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1808
|
+
return operation_result
|
1809
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1810
|
+
|
1811
|
+
try:
|
1812
|
+
waiter_result = oci.wait_until(
|
1813
|
+
self.client,
|
1814
|
+
self.client.get_work_request(wait_for_resource_id),
|
1815
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1816
|
+
**waiter_kwargs
|
1817
|
+
)
|
1818
|
+
result_to_return = waiter_result
|
1819
|
+
|
1820
|
+
return result_to_return
|
1821
|
+
except Exception as e:
|
1822
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1823
|
+
|
1824
|
+
def delete_alert_policy_rule_and_wait_for_state(self, alert_policy_id, rule_key, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1825
|
+
"""
|
1826
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.delete_alert_policy_rule` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
1827
|
+
to enter the given state(s).
|
1828
|
+
|
1829
|
+
:param str alert_policy_id: (required)
|
1830
|
+
The OCID of the alert policy.
|
1831
|
+
|
1832
|
+
:param str rule_key: (required)
|
1833
|
+
The key of the alert policy rule.
|
1834
|
+
|
1835
|
+
:param list[str] wait_for_states:
|
1836
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
1837
|
+
|
1838
|
+
:param dict operation_kwargs:
|
1839
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.delete_alert_policy_rule`
|
1840
|
+
|
1841
|
+
:param dict waiter_kwargs:
|
1842
|
+
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``
|
1843
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1844
|
+
"""
|
1845
|
+
operation_result = None
|
1846
|
+
try:
|
1847
|
+
operation_result = self.client.delete_alert_policy_rule(alert_policy_id, rule_key, **operation_kwargs)
|
1848
|
+
except oci.exceptions.ServiceError as e:
|
1849
|
+
if e.status == 404:
|
1850
|
+
return WAIT_RESOURCE_NOT_FOUND
|
1851
|
+
else:
|
1852
|
+
raise e
|
1853
|
+
|
1854
|
+
if not wait_for_states:
|
1855
|
+
return operation_result
|
1856
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1857
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1858
|
+
return operation_result
|
1859
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1860
|
+
|
1861
|
+
try:
|
1862
|
+
waiter_result = oci.wait_until(
|
1863
|
+
self.client,
|
1864
|
+
self.client.get_work_request(wait_for_resource_id),
|
1865
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1866
|
+
**waiter_kwargs
|
1867
|
+
)
|
1868
|
+
result_to_return = waiter_result
|
1869
|
+
|
1870
|
+
return result_to_return
|
1871
|
+
except Exception as e:
|
1872
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1873
|
+
|
1654
1874
|
def delete_audit_archive_retrieval_and_wait_for_state(self, audit_archive_retrieval_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1655
1875
|
"""
|
1656
1876
|
Calls :py:func:`~oci.data_safe.DataSafeClient.delete_audit_archive_retrieval` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
@@ -4155,6 +4375,93 @@ class DataSafeClientCompositeOperations(object):
|
|
4155
4375
|
except Exception as e:
|
4156
4376
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4157
4377
|
|
4378
|
+
def update_alert_policy_and_wait_for_state(self, alert_policy_id, update_alert_policy_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4379
|
+
"""
|
4380
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.update_alert_policy` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
4381
|
+
to enter the given state(s).
|
4382
|
+
|
4383
|
+
:param str alert_policy_id: (required)
|
4384
|
+
The OCID of the alert policy.
|
4385
|
+
|
4386
|
+
:param oci.data_safe.models.UpdateAlertPolicyDetails update_alert_policy_details: (required)
|
4387
|
+
The details used to update the alert policy.
|
4388
|
+
|
4389
|
+
:param list[str] wait_for_states:
|
4390
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
4391
|
+
|
4392
|
+
:param dict operation_kwargs:
|
4393
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_alert_policy`
|
4394
|
+
|
4395
|
+
:param dict waiter_kwargs:
|
4396
|
+
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``
|
4397
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
4398
|
+
"""
|
4399
|
+
operation_result = self.client.update_alert_policy(alert_policy_id, update_alert_policy_details, **operation_kwargs)
|
4400
|
+
if not wait_for_states:
|
4401
|
+
return operation_result
|
4402
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
4403
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
4404
|
+
return operation_result
|
4405
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
4406
|
+
|
4407
|
+
try:
|
4408
|
+
waiter_result = oci.wait_until(
|
4409
|
+
self.client,
|
4410
|
+
self.client.get_work_request(wait_for_resource_id),
|
4411
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
4412
|
+
**waiter_kwargs
|
4413
|
+
)
|
4414
|
+
result_to_return = waiter_result
|
4415
|
+
|
4416
|
+
return result_to_return
|
4417
|
+
except Exception as e:
|
4418
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4419
|
+
|
4420
|
+
def update_alert_policy_rule_and_wait_for_state(self, alert_policy_id, rule_key, update_alert_policy_rule_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4421
|
+
"""
|
4422
|
+
Calls :py:func:`~oci.data_safe.DataSafeClient.update_alert_policy_rule` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
4423
|
+
to enter the given state(s).
|
4424
|
+
|
4425
|
+
:param str alert_policy_id: (required)
|
4426
|
+
The OCID of the alert policy.
|
4427
|
+
|
4428
|
+
:param str rule_key: (required)
|
4429
|
+
The key of the alert policy rule.
|
4430
|
+
|
4431
|
+
:param oci.data_safe.models.UpdateAlertPolicyRuleDetails update_alert_policy_rule_details: (required)
|
4432
|
+
The details used to update the alert policy rule.
|
4433
|
+
|
4434
|
+
:param list[str] wait_for_states:
|
4435
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.data_safe.models.WorkRequest.status`
|
4436
|
+
|
4437
|
+
:param dict operation_kwargs:
|
4438
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.data_safe.DataSafeClient.update_alert_policy_rule`
|
4439
|
+
|
4440
|
+
:param dict waiter_kwargs:
|
4441
|
+
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``
|
4442
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
4443
|
+
"""
|
4444
|
+
operation_result = self.client.update_alert_policy_rule(alert_policy_id, rule_key, update_alert_policy_rule_details, **operation_kwargs)
|
4445
|
+
if not wait_for_states:
|
4446
|
+
return operation_result
|
4447
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
4448
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
4449
|
+
return operation_result
|
4450
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
4451
|
+
|
4452
|
+
try:
|
4453
|
+
waiter_result = oci.wait_until(
|
4454
|
+
self.client,
|
4455
|
+
self.client.get_work_request(wait_for_resource_id),
|
4456
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
4457
|
+
**waiter_kwargs
|
4458
|
+
)
|
4459
|
+
result_to_return = waiter_result
|
4460
|
+
|
4461
|
+
return result_to_return
|
4462
|
+
except Exception as e:
|
4463
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
4464
|
+
|
4158
4465
|
def update_audit_archive_retrieval_and_wait_for_state(self, audit_archive_retrieval_id, update_audit_archive_retrieval_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
4159
4466
|
"""
|
4160
4467
|
Calls :py:func:`~oci.data_safe.DataSafeClient.update_audit_archive_retrieval` and waits for the :py:class:`~oci.data_safe.models.WorkRequest`
|
oci/data_safe/models/__init__.py
CHANGED
@@ -308,6 +308,8 @@ from .sensitive_column_collection import SensitiveColumnCollection
|
|
308
308
|
from .sensitive_column_summary import SensitiveColumnSummary
|
309
309
|
from .sensitive_data_model import SensitiveDataModel
|
310
310
|
from .sensitive_data_model_collection import SensitiveDataModelCollection
|
311
|
+
from .sensitive_data_model_sensitive_type_collection import SensitiveDataModelSensitiveTypeCollection
|
312
|
+
from .sensitive_data_model_sensitive_type_summary import SensitiveDataModelSensitiveTypeSummary
|
311
313
|
from .sensitive_data_model_summary import SensitiveDataModelSummary
|
312
314
|
from .sensitive_object_collection import SensitiveObjectCollection
|
313
315
|
from .sensitive_object_summary import SensitiveObjectSummary
|
@@ -327,6 +329,7 @@ from .sql_collection_log_aggregation import SqlCollectionLogAggregation
|
|
327
329
|
from .sql_collection_log_dimensions import SqlCollectionLogDimensions
|
328
330
|
from .sql_collection_log_insights_collection import SqlCollectionLogInsightsCollection
|
329
331
|
from .sql_collection_summary import SqlCollectionSummary
|
332
|
+
from .sql_firewall_allowed_sql import SqlFirewallAllowedSql
|
330
333
|
from .sql_firewall_allowed_sql_aggregation import SqlFirewallAllowedSqlAggregation
|
331
334
|
from .sql_firewall_allowed_sql_analytics_collection import SqlFirewallAllowedSqlAnalyticsCollection
|
332
335
|
from .sql_firewall_allowed_sql_collection import SqlFirewallAllowedSqlCollection
|
@@ -348,6 +351,7 @@ from .start_audit_trail_details import StartAuditTrailDetails
|
|
348
351
|
from .substring_format_entry import SubstringFormatEntry
|
349
352
|
from .summary import Summary
|
350
353
|
from .table_summary import TableSummary
|
354
|
+
from .tables_for_discovery import TablesForDiscovery
|
351
355
|
from .target_alert_policy_association import TargetAlertPolicyAssociation
|
352
356
|
from .target_alert_policy_association_collection import TargetAlertPolicyAssociationCollection
|
353
357
|
from .target_alert_policy_association_summary import TargetAlertPolicyAssociationSummary
|
@@ -356,7 +360,10 @@ from .target_database_summary import TargetDatabaseSummary
|
|
356
360
|
from .tls_config import TlsConfig
|
357
361
|
from .truncate_table_format_entry import TruncateTableFormatEntry
|
358
362
|
from .udf_format_entry import UDFFormatEntry
|
363
|
+
from .unset_security_assessment_baseline_details import UnsetSecurityAssessmentBaselineDetails
|
364
|
+
from .unset_user_assessment_baseline_details import UnsetUserAssessmentBaselineDetails
|
359
365
|
from .update_alert_details import UpdateAlertDetails
|
366
|
+
from .update_alert_policy_details import UpdateAlertPolicyDetails
|
360
367
|
from .update_alert_policy_rule_details import UpdateAlertPolicyRuleDetails
|
361
368
|
from .update_audit_archive_retrieval_details import UpdateAuditArchiveRetrievalDetails
|
362
369
|
from .update_audit_policy_details import UpdateAuditPolicyDetails
|
@@ -710,6 +717,8 @@ data_safe_type_mapping = {
|
|
710
717
|
"SensitiveColumnSummary": SensitiveColumnSummary,
|
711
718
|
"SensitiveDataModel": SensitiveDataModel,
|
712
719
|
"SensitiveDataModelCollection": SensitiveDataModelCollection,
|
720
|
+
"SensitiveDataModelSensitiveTypeCollection": SensitiveDataModelSensitiveTypeCollection,
|
721
|
+
"SensitiveDataModelSensitiveTypeSummary": SensitiveDataModelSensitiveTypeSummary,
|
713
722
|
"SensitiveDataModelSummary": SensitiveDataModelSummary,
|
714
723
|
"SensitiveObjectCollection": SensitiveObjectCollection,
|
715
724
|
"SensitiveObjectSummary": SensitiveObjectSummary,
|
@@ -729,6 +738,7 @@ data_safe_type_mapping = {
|
|
729
738
|
"SqlCollectionLogDimensions": SqlCollectionLogDimensions,
|
730
739
|
"SqlCollectionLogInsightsCollection": SqlCollectionLogInsightsCollection,
|
731
740
|
"SqlCollectionSummary": SqlCollectionSummary,
|
741
|
+
"SqlFirewallAllowedSql": SqlFirewallAllowedSql,
|
732
742
|
"SqlFirewallAllowedSqlAggregation": SqlFirewallAllowedSqlAggregation,
|
733
743
|
"SqlFirewallAllowedSqlAnalyticsCollection": SqlFirewallAllowedSqlAnalyticsCollection,
|
734
744
|
"SqlFirewallAllowedSqlCollection": SqlFirewallAllowedSqlCollection,
|
@@ -750,6 +760,7 @@ data_safe_type_mapping = {
|
|
750
760
|
"SubstringFormatEntry": SubstringFormatEntry,
|
751
761
|
"Summary": Summary,
|
752
762
|
"TableSummary": TableSummary,
|
763
|
+
"TablesForDiscovery": TablesForDiscovery,
|
753
764
|
"TargetAlertPolicyAssociation": TargetAlertPolicyAssociation,
|
754
765
|
"TargetAlertPolicyAssociationCollection": TargetAlertPolicyAssociationCollection,
|
755
766
|
"TargetAlertPolicyAssociationSummary": TargetAlertPolicyAssociationSummary,
|
@@ -758,7 +769,10 @@ data_safe_type_mapping = {
|
|
758
769
|
"TlsConfig": TlsConfig,
|
759
770
|
"TruncateTableFormatEntry": TruncateTableFormatEntry,
|
760
771
|
"UDFFormatEntry": UDFFormatEntry,
|
772
|
+
"UnsetSecurityAssessmentBaselineDetails": UnsetSecurityAssessmentBaselineDetails,
|
773
|
+
"UnsetUserAssessmentBaselineDetails": UnsetUserAssessmentBaselineDetails,
|
761
774
|
"UpdateAlertDetails": UpdateAlertDetails,
|
775
|
+
"UpdateAlertPolicyDetails": UpdateAlertPolicyDetails,
|
762
776
|
"UpdateAlertPolicyRuleDetails": UpdateAlertPolicyRuleDetails,
|
763
777
|
"UpdateAuditArchiveRetrievalDetails": UpdateAuditArchiveRetrievalDetails,
|
764
778
|
"UpdateAuditPolicyDetails": UpdateAuditPolicyDetails,
|
oci/data_safe/models/alert.py
CHANGED
@@ -166,6 +166,14 @@ class Alert(object):
|
|
166
166
|
The value to assign to the time_updated property of this Alert.
|
167
167
|
:type time_updated: datetime
|
168
168
|
|
169
|
+
:param alert_policy_rule_key:
|
170
|
+
The value to assign to the alert_policy_rule_key property of this Alert.
|
171
|
+
:type alert_policy_rule_key: str
|
172
|
+
|
173
|
+
:param alert_policy_rule_name:
|
174
|
+
The value to assign to the alert_policy_rule_name property of this Alert.
|
175
|
+
:type alert_policy_rule_name: str
|
176
|
+
|
169
177
|
:param freeform_tags:
|
170
178
|
The value to assign to the freeform_tags property of this Alert.
|
171
179
|
:type freeform_tags: dict(str, str)
|
@@ -199,6 +207,8 @@ class Alert(object):
|
|
199
207
|
'lifecycle_state': 'str',
|
200
208
|
'time_created': 'datetime',
|
201
209
|
'time_updated': 'datetime',
|
210
|
+
'alert_policy_rule_key': 'str',
|
211
|
+
'alert_policy_rule_name': 'str',
|
202
212
|
'freeform_tags': 'dict(str, str)',
|
203
213
|
'defined_tags': 'dict(str, dict(str, object))',
|
204
214
|
'system_tags': 'dict(str, dict(str, object))'
|
@@ -224,6 +234,8 @@ class Alert(object):
|
|
224
234
|
'lifecycle_state': 'lifecycleState',
|
225
235
|
'time_created': 'timeCreated',
|
226
236
|
'time_updated': 'timeUpdated',
|
237
|
+
'alert_policy_rule_key': 'alertPolicyRuleKey',
|
238
|
+
'alert_policy_rule_name': 'alertPolicyRuleName',
|
227
239
|
'freeform_tags': 'freeformTags',
|
228
240
|
'defined_tags': 'definedTags',
|
229
241
|
'system_tags': 'systemTags'
|
@@ -248,6 +260,8 @@ class Alert(object):
|
|
248
260
|
self._lifecycle_state = None
|
249
261
|
self._time_created = None
|
250
262
|
self._time_updated = None
|
263
|
+
self._alert_policy_rule_key = None
|
264
|
+
self._alert_policy_rule_name = None
|
251
265
|
self._freeform_tags = None
|
252
266
|
self._defined_tags = None
|
253
267
|
self._system_tags = None
|
@@ -752,6 +766,54 @@ class Alert(object):
|
|
752
766
|
"""
|
753
767
|
self._time_updated = time_updated
|
754
768
|
|
769
|
+
@property
|
770
|
+
def alert_policy_rule_key(self):
|
771
|
+
"""
|
772
|
+
Gets the alert_policy_rule_key of this Alert.
|
773
|
+
The key of the rule of alert policy that triggered alert.
|
774
|
+
|
775
|
+
|
776
|
+
:return: The alert_policy_rule_key of this Alert.
|
777
|
+
:rtype: str
|
778
|
+
"""
|
779
|
+
return self._alert_policy_rule_key
|
780
|
+
|
781
|
+
@alert_policy_rule_key.setter
|
782
|
+
def alert_policy_rule_key(self, alert_policy_rule_key):
|
783
|
+
"""
|
784
|
+
Sets the alert_policy_rule_key of this Alert.
|
785
|
+
The key of the rule of alert policy that triggered alert.
|
786
|
+
|
787
|
+
|
788
|
+
:param alert_policy_rule_key: The alert_policy_rule_key of this Alert.
|
789
|
+
:type: str
|
790
|
+
"""
|
791
|
+
self._alert_policy_rule_key = alert_policy_rule_key
|
792
|
+
|
793
|
+
@property
|
794
|
+
def alert_policy_rule_name(self):
|
795
|
+
"""
|
796
|
+
Gets the alert_policy_rule_name of this Alert.
|
797
|
+
The display name of the rule of alert policy that triggered alert.
|
798
|
+
|
799
|
+
|
800
|
+
:return: The alert_policy_rule_name of this Alert.
|
801
|
+
:rtype: str
|
802
|
+
"""
|
803
|
+
return self._alert_policy_rule_name
|
804
|
+
|
805
|
+
@alert_policy_rule_name.setter
|
806
|
+
def alert_policy_rule_name(self, alert_policy_rule_name):
|
807
|
+
"""
|
808
|
+
Sets the alert_policy_rule_name of this Alert.
|
809
|
+
The display name of the rule of alert policy that triggered alert.
|
810
|
+
|
811
|
+
|
812
|
+
:param alert_policy_rule_name: The alert_policy_rule_name of this Alert.
|
813
|
+
:type: str
|
814
|
+
"""
|
815
|
+
self._alert_policy_rule_name = alert_policy_rule_name
|
816
|
+
|
755
817
|
@property
|
756
818
|
def freeform_tags(self):
|
757
819
|
"""
|
@@ -124,6 +124,10 @@ class AlertPolicy(object):
|
|
124
124
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
125
125
|
:type lifecycle_state: str
|
126
126
|
|
127
|
+
:param lifecycle_details:
|
128
|
+
The value to assign to the lifecycle_details property of this AlertPolicy.
|
129
|
+
:type lifecycle_details: str
|
130
|
+
|
127
131
|
:param freeform_tags:
|
128
132
|
The value to assign to the freeform_tags property of this AlertPolicy.
|
129
133
|
:type freeform_tags: dict(str, str)
|
@@ -148,6 +152,7 @@ class AlertPolicy(object):
|
|
148
152
|
'time_created': 'datetime',
|
149
153
|
'time_updated': 'datetime',
|
150
154
|
'lifecycle_state': 'str',
|
155
|
+
'lifecycle_details': 'str',
|
151
156
|
'freeform_tags': 'dict(str, str)',
|
152
157
|
'defined_tags': 'dict(str, dict(str, object))',
|
153
158
|
'system_tags': 'dict(str, dict(str, object))'
|
@@ -164,6 +169,7 @@ class AlertPolicy(object):
|
|
164
169
|
'time_created': 'timeCreated',
|
165
170
|
'time_updated': 'timeUpdated',
|
166
171
|
'lifecycle_state': 'lifecycleState',
|
172
|
+
'lifecycle_details': 'lifecycleDetails',
|
167
173
|
'freeform_tags': 'freeformTags',
|
168
174
|
'defined_tags': 'definedTags',
|
169
175
|
'system_tags': 'systemTags'
|
@@ -179,6 +185,7 @@ class AlertPolicy(object):
|
|
179
185
|
self._time_created = None
|
180
186
|
self._time_updated = None
|
181
187
|
self._lifecycle_state = None
|
188
|
+
self._lifecycle_details = None
|
182
189
|
self._freeform_tags = None
|
183
190
|
self._defined_tags = None
|
184
191
|
self._system_tags = None
|
@@ -449,6 +456,30 @@ class AlertPolicy(object):
|
|
449
456
|
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
|
450
457
|
self._lifecycle_state = lifecycle_state
|
451
458
|
|
459
|
+
@property
|
460
|
+
def lifecycle_details(self):
|
461
|
+
"""
|
462
|
+
Gets the lifecycle_details of this AlertPolicy.
|
463
|
+
Details about the current state of the alert policy.
|
464
|
+
|
465
|
+
|
466
|
+
:return: The lifecycle_details of this AlertPolicy.
|
467
|
+
:rtype: str
|
468
|
+
"""
|
469
|
+
return self._lifecycle_details
|
470
|
+
|
471
|
+
@lifecycle_details.setter
|
472
|
+
def lifecycle_details(self, lifecycle_details):
|
473
|
+
"""
|
474
|
+
Sets the lifecycle_details of this AlertPolicy.
|
475
|
+
Details about the current state of the alert policy.
|
476
|
+
|
477
|
+
|
478
|
+
:param lifecycle_details: The lifecycle_details of this AlertPolicy.
|
479
|
+
:type: str
|
480
|
+
"""
|
481
|
+
self._lifecycle_details = lifecycle_details
|
482
|
+
|
452
483
|
@property
|
453
484
|
def freeform_tags(self):
|
454
485
|
"""
|