oci 2.143.0__py3-none-any.whl → 2.143.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +9 -9
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +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/virtual_network_client.py +256 -256
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +292 -292
- oci/data_science/data_science_client.py +92 -92
- oci/database/database_client.py +409 -404
- oci/database/models/cloud_exadata_infrastructure.py +111 -2
- oci/database/models/cloud_exadata_infrastructure_summary.py +111 -2
- oci/database/models/cloud_vm_cluster.py +49 -2
- oci/database/models/cloud_vm_cluster_summary.py +49 -2
- oci/database/models/create_cloud_exadata_infrastructure_details.py +64 -2
- oci/database/models/create_exadata_infrastructure_details.py +62 -0
- oci/database/models/db_server.py +49 -2
- oci/database/models/db_server_summary.py +49 -2
- oci/database/models/db_system_shape_summary.py +109 -0
- oci/database/models/exadata_infrastructure.py +118 -5
- oci/database/models/exadata_infrastructure_summary.py +118 -5
- oci/database/models/flex_component_summary.py +235 -2
- oci/database/models/update_exadata_infrastructure_details.py +7 -3
- oci/database/models/vm_cluster.py +49 -2
- oci/database/models/vm_cluster_summary.py +49 -2
- oci/database_management/db_management_client.py +2738 -600
- oci/database_management/db_management_client_composite_operations.py +301 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +275 -7
- oci/database_management/models/__init__.py +54 -0
- oci/database_management/models/alert_log_summary.py +14 -6
- oci/database_management/models/attention_log_summary.py +14 -6
- oci/database_management/models/awr_db_snapshot_range_summary.py +93 -0
- oci/database_management/models/awr_db_summary.py +93 -0
- oci/database_management/models/base_database_ha_details.py +540 -0
- oci/database_management/models/create_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/create_external_my_sql_database_details.py +103 -0
- oci/database_management/models/create_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/database_backup_metrics.py +722 -0
- oci/database_management/models/database_backup_summary.py +263 -0
- oci/database_management/models/database_fleet_backup_metrics.py +72 -0
- oci/database_management/models/database_fleet_dataguard_metrics.py +72 -0
- oci/database_management/models/database_fleet_ha_overview_metrics.py +72 -0
- oci/database_management/models/database_ha_backup_details.py +722 -0
- oci/database_management/models/database_ha_metrics.py +629 -0
- oci/database_management/models/dataguard_metrics.py +664 -0
- oci/database_management/models/disable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/enable_external_database_management_details.py +72 -0
- oci/database_management/models/enable_external_mysql_associated_service_details.py +146 -0
- oci/database_management/models/exadata_infrastructure_lifecycle_state_values.py +108 -0
- oci/database_management/models/external_my_sql_database.py +181 -0
- oci/database_management/models/external_my_sql_database_collection.py +72 -0
- oci/database_management/models/external_my_sql_database_connector.py +761 -0
- oci/database_management/models/external_my_sql_database_summary.py +365 -0
- oci/database_management/models/ha_metric_definition.py +202 -0
- oci/database_management/models/managed_my_sql_database.py +192 -2
- oci/database_management/models/managed_my_sql_database_summary.py +161 -2
- oci/database_management/models/my_sql_connector_collection.py +72 -0
- oci/database_management/models/my_sql_data_summary.py +93 -0
- oci/database_management/models/my_sql_database_connector_summary.py +711 -0
- oci/database_management/models/stand_by_database_dataguard_metrics.py +294 -0
- oci/database_management/models/update_external_my_sql_database_connector_details.py +99 -0
- oci/database_management/models/update_external_my_sql_database_details.py +72 -0
- oci/database_management/models/update_my_sql_database_connector_details.py +329 -0
- oci/database_management/models/work_request.py +23 -3
- oci/database_management/models/work_request_summary.py +23 -3
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_tools/database_tools_client.py +23 -23
- oci/delegate_access_control/delegate_access_control_client.py +26 -26
- oci/delegate_access_control/work_request_client.py +4 -4
- oci/demand_signal/occ_demand_signal_client.py +7 -7
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +141 -141
- oci/disaster_recovery/disaster_recovery_client.py +31 -31
- oci/disaster_recovery/models/__init__.py +48 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/create_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/create_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/create_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/create_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_backup_config_details.py +292 -0
- oci/disaster_recovery/models/create_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/create_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/create_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/dr_plan_step.py +67 -3
- oci/disaster_recovery/models/dr_plan_step_execution.py +67 -3
- oci/disaster_recovery/models/dr_protection_group_member.py +11 -3
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_container_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_autonomous_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_compute_instance_non_movable.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_database.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_file_system.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_network_load_balancer.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_object_storage_bucket.py +1 -1
- oci/disaster_recovery/models/dr_protection_group_member_oke_cluster.py +351 -0
- oci/disaster_recovery/models/dr_protection_group_member_volume_group.py +1 -1
- oci/disaster_recovery/models/oke_backup_location.py +146 -0
- oci/disaster_recovery/models/oke_cluster_backup_config.py +234 -0
- oci/disaster_recovery/models/oke_cluster_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_managed_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/oke_cluster_network_load_balancer_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_vault_mapping.py +111 -0
- oci/disaster_recovery/models/oke_cluster_virtual_node_pool_configuration.py +134 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_container_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_autonomous_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_compute_instance_non_movable_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_database_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_details.py +11 -3
- oci/disaster_recovery/models/update_dr_protection_group_member_file_system_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_network_load_balancer_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_object_storage_bucket_details.py +1 -1
- oci/disaster_recovery/models/update_dr_protection_group_member_oke_cluster_details.py +351 -0
- oci/disaster_recovery/models/update_dr_protection_group_member_volume_group_details.py +1 -1
- oci/disaster_recovery/models/update_oke_backup_location_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_backup_config_details.py +236 -0
- oci/disaster_recovery/models/update_oke_cluster_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_managed_node_pool_configuration_details.py +134 -0
- oci/disaster_recovery/models/update_oke_cluster_network_load_balancer_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_vault_mapping_details.py +111 -0
- oci/disaster_recovery/models/update_oke_cluster_virtual_node_pool_configuration_details.py +134 -0
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +68 -68
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +25 -25
- oci/fleet_apps_management/fleet_apps_management_client.py +35 -35
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +26 -26
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +12 -12
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +33 -33
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +5 -5
- 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 +84 -84
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +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/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/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +16 -16
- oci/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 +14 -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/change_external_mysql_database_insight_connection_details.py +76 -0
- oci/opsi/models/create_autonomous_database_insight_details.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_external_mysql_database_insight_details.py +142 -0
- oci/opsi/models/create_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/create_mds_my_sql_database_insight_details.py +1 -1
- oci/opsi/models/create_news_report_details.py +99 -5
- 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_autonomous_database_insight_details.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_external_mysql_database_insight_details.py +86 -0
- oci/opsi/models/enable_macs_managed_cloud_database_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/external_mysql_database_configuration_summary.py +226 -0
- oci/opsi/models/external_mysql_database_insight.py +248 -0
- oci/opsi/models/external_mysql_database_insight_summary.py +280 -0
- oci/opsi/models/macs_managed_cloud_database_configuration_summary.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_insight.py +1 -1
- oci/opsi/models/macs_managed_cloud_database_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/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/news_content_types.py +33 -2
- oci/opsi/models/news_report.py +99 -5
- oci/opsi/models/news_report_summary.py +99 -5
- 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/summarize_exadata_insight_resource_utilization_insight_aggregation.py +62 -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_external_mysql_database_insight_details.py +65 -0
- oci/opsi/models/update_macs_managed_cloud_database_insight_details.py +1 -1
- oci/opsi/models/update_macs_managed_external_database_insight_details.py +1 -1
- oci/opsi/models/update_mds_my_sql_database_insight.py +1 -1
- oci/opsi/models/update_news_report_details.py +99 -5
- oci/opsi/models/update_pe_comanaged_database_insight_details.py +1 -1
- oci/opsi/models/vm_cluster_summary.py +8 -8
- oci/opsi/models/work_request.py +7 -3
- oci/opsi/operations_insights_client.py +332 -202
- oci/opsi/operations_insights_client_composite_operations.py +42 -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/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/security_attribute/security_attribute_client.py +18 -18
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +71 -71
- 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/models/assigned_subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/assigned_subscription_summary.py +35 -2
- oci/tenant_manager_control_plane/models/available_region_summary.py +35 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription.py +57 -2
- oci/tenant_manager_control_plane/models/classic_assigned_subscription_summary.py +64 -2
- oci/tenant_manager_control_plane/models/classic_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_assigned_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/cloud_subscription_summary.py +7 -0
- oci/tenant_manager_control_plane/models/create_child_tenancy_details.py +33 -2
- oci/tenant_manager_control_plane/models/link_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_summary.py +35 -2
- oci/tenant_manager_control_plane/models/organization_tenancy_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_line_item_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_mapping_summary.py +35 -2
- oci/tenant_manager_control_plane/models/subscription_summary.py +37 -4
- oci/tenant_manager_control_plane/models/work_request.py +23 -3
- oci/tenant_manager_control_plane/models/work_request_summary.py +23 -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 +14 -14
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.143.0.dist-info → oci-2.143.1.dist-info}/METADATA +1 -1
- {oci-2.143.0.dist-info → oci-2.143.1.dist-info}/RECORD +448 -390
- {oci-2.143.0.dist-info → oci-2.143.1.dist-info}/LICENSE.txt +0 -0
- {oci-2.143.0.dist-info → oci-2.143.1.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.143.0.dist-info → oci-2.143.1.dist-info}/WHEEL +0 -0
- {oci-2.143.0.dist-info → oci-2.143.1.dist-info}/top_level.txt +0 -0
@@ -159,6 +159,45 @@ class DbManagementClientCompositeOperations(object):
|
|
159
159
|
except Exception as e:
|
160
160
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
161
161
|
|
162
|
+
def check_external_my_sql_database_connector_connection_status_and_wait_for_state(self, external_my_sql_database_connector_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
163
|
+
"""
|
164
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.check_external_my_sql_database_connector_connection_status` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
165
|
+
to enter the given state(s).
|
166
|
+
|
167
|
+
:param str external_my_sql_database_connector_id: (required)
|
168
|
+
The OCID of the External MySQL Database Connector.
|
169
|
+
|
170
|
+
:param list[str] wait_for_states:
|
171
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
172
|
+
|
173
|
+
:param dict operation_kwargs:
|
174
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.check_external_my_sql_database_connector_connection_status`
|
175
|
+
|
176
|
+
:param dict waiter_kwargs:
|
177
|
+
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``
|
178
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
179
|
+
"""
|
180
|
+
operation_result = self.client.check_external_my_sql_database_connector_connection_status(external_my_sql_database_connector_id, **operation_kwargs)
|
181
|
+
if not wait_for_states:
|
182
|
+
return operation_result
|
183
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
184
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
185
|
+
return operation_result
|
186
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
187
|
+
|
188
|
+
try:
|
189
|
+
waiter_result = oci.wait_until(
|
190
|
+
self.client,
|
191
|
+
self.client.get_work_request(wait_for_resource_id),
|
192
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
193
|
+
**waiter_kwargs
|
194
|
+
)
|
195
|
+
result_to_return = waiter_result
|
196
|
+
|
197
|
+
return result_to_return
|
198
|
+
except Exception as e:
|
199
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
200
|
+
|
162
201
|
def create_db_management_private_endpoint_and_wait_for_state(self, create_db_management_private_endpoint_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
163
202
|
"""
|
164
203
|
Calls :py:func:`~oci.database_management.DbManagementClient.create_db_management_private_endpoint` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
@@ -402,6 +441,51 @@ class DbManagementClientCompositeOperations(object):
|
|
402
441
|
except Exception as e:
|
403
442
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
404
443
|
|
444
|
+
def create_external_my_sql_database_connector_and_wait_for_state(self, create_external_my_sql_database_connector_details, is_test_connection_param, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
445
|
+
"""
|
446
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.create_external_my_sql_database_connector` and waits for the :py:class:`~oci.database_management.models.ExternalMySqlDatabaseConnector` acted upon
|
447
|
+
to enter the given state(s).
|
448
|
+
|
449
|
+
:param oci.database_management.models.CreateExternalMySqlDatabaseConnectorDetails create_external_my_sql_database_connector_details: (required)
|
450
|
+
The details required to create an external MySQL database connector resource.
|
451
|
+
|
452
|
+
:param bool is_test_connection_param: (required)
|
453
|
+
Parameter indicating whether database connection needs to be tested.
|
454
|
+
|
455
|
+
:param list[str] wait_for_states:
|
456
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.ExternalMySqlDatabaseConnector.lifecycle_state`
|
457
|
+
|
458
|
+
:param dict operation_kwargs:
|
459
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.create_external_my_sql_database_connector`
|
460
|
+
|
461
|
+
:param dict waiter_kwargs:
|
462
|
+
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``
|
463
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
464
|
+
"""
|
465
|
+
operation_result = self.client.create_external_my_sql_database_connector(create_external_my_sql_database_connector_details, is_test_connection_param, **operation_kwargs)
|
466
|
+
if not wait_for_states:
|
467
|
+
return operation_result
|
468
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
469
|
+
external_my_sql_database_connector_id = operation_result.data.id
|
470
|
+
|
471
|
+
try:
|
472
|
+
waiter_result = oci.wait_until(
|
473
|
+
self.client,
|
474
|
+
self.client.get_external_my_sql_database_connector(external_my_sql_database_connector_id), # noqa: F821
|
475
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
476
|
+
**waiter_kwargs
|
477
|
+
)
|
478
|
+
result_to_return = waiter_result
|
479
|
+
|
480
|
+
return result_to_return
|
481
|
+
except (NameError, TypeError) as e:
|
482
|
+
if not e.args:
|
483
|
+
e.args = ('',)
|
484
|
+
e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
|
485
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
486
|
+
except Exception as e:
|
487
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
488
|
+
|
405
489
|
def create_job_and_wait_for_state(self, create_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
406
490
|
"""
|
407
491
|
Calls :py:func:`~oci.database_management.DbManagementClient.create_job` and waits for the :py:class:`~oci.database_management.models.Job` acted upon
|
@@ -858,6 +942,100 @@ class DbManagementClientCompositeOperations(object):
|
|
858
942
|
except Exception as e:
|
859
943
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
860
944
|
|
945
|
+
def delete_external_my_sql_database_and_wait_for_state(self, external_my_sql_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
946
|
+
"""
|
947
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.delete_external_my_sql_database` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
948
|
+
to enter the given state(s).
|
949
|
+
|
950
|
+
:param str external_my_sql_database_id: (required)
|
951
|
+
The OCID of the External MySQL Database.
|
952
|
+
|
953
|
+
:param list[str] wait_for_states:
|
954
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
955
|
+
|
956
|
+
:param dict operation_kwargs:
|
957
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.delete_external_my_sql_database`
|
958
|
+
|
959
|
+
:param dict waiter_kwargs:
|
960
|
+
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``
|
961
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
962
|
+
"""
|
963
|
+
operation_result = None
|
964
|
+
try:
|
965
|
+
operation_result = self.client.delete_external_my_sql_database(external_my_sql_database_id, **operation_kwargs)
|
966
|
+
except oci.exceptions.ServiceError as e:
|
967
|
+
if e.status == 404:
|
968
|
+
return WAIT_RESOURCE_NOT_FOUND
|
969
|
+
else:
|
970
|
+
raise e
|
971
|
+
|
972
|
+
if not wait_for_states:
|
973
|
+
return operation_result
|
974
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
975
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
976
|
+
return operation_result
|
977
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
978
|
+
|
979
|
+
try:
|
980
|
+
waiter_result = oci.wait_until(
|
981
|
+
self.client,
|
982
|
+
self.client.get_work_request(wait_for_resource_id),
|
983
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
984
|
+
**waiter_kwargs
|
985
|
+
)
|
986
|
+
result_to_return = waiter_result
|
987
|
+
|
988
|
+
return result_to_return
|
989
|
+
except Exception as e:
|
990
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
991
|
+
|
992
|
+
def delete_external_my_sql_database_connector_and_wait_for_state(self, external_my_sql_database_connector_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
993
|
+
"""
|
994
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.delete_external_my_sql_database_connector` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
995
|
+
to enter the given state(s).
|
996
|
+
|
997
|
+
:param str external_my_sql_database_connector_id: (required)
|
998
|
+
The OCID of the External MySQL Database Connector.
|
999
|
+
|
1000
|
+
:param list[str] wait_for_states:
|
1001
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1002
|
+
|
1003
|
+
:param dict operation_kwargs:
|
1004
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.delete_external_my_sql_database_connector`
|
1005
|
+
|
1006
|
+
:param dict waiter_kwargs:
|
1007
|
+
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``
|
1008
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1009
|
+
"""
|
1010
|
+
operation_result = None
|
1011
|
+
try:
|
1012
|
+
operation_result = self.client.delete_external_my_sql_database_connector(external_my_sql_database_connector_id, **operation_kwargs)
|
1013
|
+
except oci.exceptions.ServiceError as e:
|
1014
|
+
if e.status == 404:
|
1015
|
+
return WAIT_RESOURCE_NOT_FOUND
|
1016
|
+
else:
|
1017
|
+
raise e
|
1018
|
+
|
1019
|
+
if not wait_for_states:
|
1020
|
+
return operation_result
|
1021
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1022
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1023
|
+
return operation_result
|
1024
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1025
|
+
|
1026
|
+
try:
|
1027
|
+
waiter_result = oci.wait_until(
|
1028
|
+
self.client,
|
1029
|
+
self.client.get_work_request(wait_for_resource_id),
|
1030
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1031
|
+
**waiter_kwargs
|
1032
|
+
)
|
1033
|
+
result_to_return = waiter_result
|
1034
|
+
|
1035
|
+
return result_to_return
|
1036
|
+
except Exception as e:
|
1037
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1038
|
+
|
861
1039
|
def delete_job_and_wait_for_state(self, job_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
862
1040
|
"""
|
863
1041
|
Calls :py:func:`~oci.database_management.DbManagementClient.delete_job` and waits for the :py:class:`~oci.database_management.models.Job` acted upon
|
@@ -1294,6 +1472,45 @@ class DbManagementClientCompositeOperations(object):
|
|
1294
1472
|
except Exception as e:
|
1295
1473
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1296
1474
|
|
1475
|
+
def disable_external_my_sql_database_management_and_wait_for_state(self, external_my_sql_database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1476
|
+
"""
|
1477
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.disable_external_my_sql_database_management` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1478
|
+
to enter the given state(s).
|
1479
|
+
|
1480
|
+
:param str external_my_sql_database_id: (required)
|
1481
|
+
The OCID of the External MySQL Database.
|
1482
|
+
|
1483
|
+
:param list[str] wait_for_states:
|
1484
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1485
|
+
|
1486
|
+
:param dict operation_kwargs:
|
1487
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.disable_external_my_sql_database_management`
|
1488
|
+
|
1489
|
+
:param dict waiter_kwargs:
|
1490
|
+
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``
|
1491
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1492
|
+
"""
|
1493
|
+
operation_result = self.client.disable_external_my_sql_database_management(external_my_sql_database_id, **operation_kwargs)
|
1494
|
+
if not wait_for_states:
|
1495
|
+
return operation_result
|
1496
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1497
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1498
|
+
return operation_result
|
1499
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1500
|
+
|
1501
|
+
try:
|
1502
|
+
waiter_result = oci.wait_until(
|
1503
|
+
self.client,
|
1504
|
+
self.client.get_work_request(wait_for_resource_id),
|
1505
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1506
|
+
**waiter_kwargs
|
1507
|
+
)
|
1508
|
+
result_to_return = waiter_result
|
1509
|
+
|
1510
|
+
return result_to_return
|
1511
|
+
except Exception as e:
|
1512
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1513
|
+
|
1297
1514
|
def disable_external_non_container_database_management_feature_and_wait_for_state(self, external_non_container_database_id, disable_external_non_container_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1298
1515
|
"""
|
1299
1516
|
Calls :py:func:`~oci.database_management.DbManagementClient.disable_external_non_container_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
@@ -1690,6 +1907,48 @@ class DbManagementClientCompositeOperations(object):
|
|
1690
1907
|
except Exception as e:
|
1691
1908
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1692
1909
|
|
1910
|
+
def enable_external_my_sql_database_management_and_wait_for_state(self, external_my_sql_database_id, enable_external_database_management_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1911
|
+
"""
|
1912
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.enable_external_my_sql_database_management` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
1913
|
+
to enter the given state(s).
|
1914
|
+
|
1915
|
+
:param str external_my_sql_database_id: (required)
|
1916
|
+
The OCID of the External MySQL Database.
|
1917
|
+
|
1918
|
+
:param oci.database_management.models.EnableExternalDatabaseManagementDetails enable_external_database_management_details: (required)
|
1919
|
+
The details required to enable an external MySQL database resource.
|
1920
|
+
|
1921
|
+
:param list[str] wait_for_states:
|
1922
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
1923
|
+
|
1924
|
+
:param dict operation_kwargs:
|
1925
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.enable_external_my_sql_database_management`
|
1926
|
+
|
1927
|
+
:param dict waiter_kwargs:
|
1928
|
+
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``
|
1929
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
1930
|
+
"""
|
1931
|
+
operation_result = self.client.enable_external_my_sql_database_management(external_my_sql_database_id, enable_external_database_management_details, **operation_kwargs)
|
1932
|
+
if not wait_for_states:
|
1933
|
+
return operation_result
|
1934
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
1935
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
1936
|
+
return operation_result
|
1937
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
1938
|
+
|
1939
|
+
try:
|
1940
|
+
waiter_result = oci.wait_until(
|
1941
|
+
self.client,
|
1942
|
+
self.client.get_work_request(wait_for_resource_id),
|
1943
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
1944
|
+
**waiter_kwargs
|
1945
|
+
)
|
1946
|
+
result_to_return = waiter_result
|
1947
|
+
|
1948
|
+
return result_to_return
|
1949
|
+
except Exception as e:
|
1950
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
1951
|
+
|
1693
1952
|
def enable_external_non_container_database_management_feature_and_wait_for_state(self, external_non_container_database_id, enable_external_non_container_database_management_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
1694
1953
|
"""
|
1695
1954
|
Calls :py:func:`~oci.database_management.DbManagementClient.enable_external_non_container_database_management_feature` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
@@ -2641,6 +2900,48 @@ class DbManagementClientCompositeOperations(object):
|
|
2641
2900
|
except Exception as e:
|
2642
2901
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
2643
2902
|
|
2903
|
+
def update_external_mysql_database_connector_and_wait_for_state(self, external_my_sql_database_connector_id, update_external_my_sql_database_connector_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
2904
|
+
"""
|
2905
|
+
Calls :py:func:`~oci.database_management.DbManagementClient.update_external_mysql_database_connector` and waits for the :py:class:`~oci.database_management.models.WorkRequest`
|
2906
|
+
to enter the given state(s).
|
2907
|
+
|
2908
|
+
:param str external_my_sql_database_connector_id: (required)
|
2909
|
+
The OCID of the External MySQL Database Connector.
|
2910
|
+
|
2911
|
+
:param oci.database_management.models.UpdateExternalMySqlDatabaseConnectorDetails update_external_my_sql_database_connector_details: (required)
|
2912
|
+
The details required to update MySQL database connector resource.
|
2913
|
+
|
2914
|
+
:param list[str] wait_for_states:
|
2915
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_management.models.WorkRequest.status`
|
2916
|
+
|
2917
|
+
:param dict operation_kwargs:
|
2918
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_management.DbManagementClient.update_external_mysql_database_connector`
|
2919
|
+
|
2920
|
+
:param dict waiter_kwargs:
|
2921
|
+
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``
|
2922
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
2923
|
+
"""
|
2924
|
+
operation_result = self.client.update_external_mysql_database_connector(external_my_sql_database_connector_id, update_external_my_sql_database_connector_details, **operation_kwargs)
|
2925
|
+
if not wait_for_states:
|
2926
|
+
return operation_result
|
2927
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
2928
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
2929
|
+
return operation_result
|
2930
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
2931
|
+
|
2932
|
+
try:
|
2933
|
+
waiter_result = oci.wait_until(
|
2934
|
+
self.client,
|
2935
|
+
self.client.get_work_request(wait_for_resource_id),
|
2936
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
2937
|
+
**waiter_kwargs
|
2938
|
+
)
|
2939
|
+
result_to_return = waiter_result
|
2940
|
+
|
2941
|
+
return result_to_return
|
2942
|
+
except Exception as e:
|
2943
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
2944
|
+
|
2644
2945
|
def update_job_and_wait_for_state(self, job_id, update_job_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
2645
2946
|
"""
|
2646
2947
|
Calls :py:func:`~oci.database_management.DbManagementClient.update_job` and waits for the :py:class:`~oci.database_management.models.Job` acted upon
|
@@ -189,7 +189,7 @@ class DiagnosabilityClient(object):
|
|
189
189
|
:rtype: :class:`~oci.response.Response`
|
190
190
|
|
191
191
|
:example:
|
192
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.
|
192
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/databasemanagement/list_alert_logs.py.html>`__ to see an example of how to use list_alert_logs API.
|
193
193
|
"""
|
194
194
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
195
195
|
required_arguments = ['managedDatabaseId']
|
@@ -385,7 +385,7 @@ class DiagnosabilityClient(object):
|
|
385
385
|
:rtype: :class:`~oci.response.Response`
|
386
386
|
|
387
387
|
:example:
|
388
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.
|
388
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/databasemanagement/list_attention_logs.py.html>`__ to see an example of how to use list_attention_logs API.
|
389
389
|
"""
|
390
390
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
391
391
|
required_arguments = ['managedDatabaseId']
|
@@ -576,7 +576,7 @@ class DiagnosabilityClient(object):
|
|
576
576
|
:rtype: :class:`~oci.response.Response`
|
577
577
|
|
578
578
|
:example:
|
579
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.
|
579
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/databasemanagement/summarize_alert_log_counts.py.html>`__ to see an example of how to use summarize_alert_log_counts API.
|
580
580
|
"""
|
581
581
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
582
582
|
required_arguments = ['managedDatabaseId']
|
@@ -758,7 +758,7 @@ class DiagnosabilityClient(object):
|
|
758
758
|
:rtype: :class:`~oci.response.Response`
|
759
759
|
|
760
760
|
:example:
|
761
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.
|
761
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.143.1/databasemanagement/summarize_attention_log_counts.py.html>`__ to see an example of how to use summarize_attention_log_counts API.
|
762
762
|
"""
|
763
763
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
764
764
|
required_arguments = ['managedDatabaseId']
|