oci 2.154.2__py3-none-any.whl → 2.155.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- oci/__init__.py +2 -2
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/addons/adk/agent.py +82 -32
- oci/addons/adk/mcp/__init__.py +11 -0
- oci/addons/adk/mcp/mcp_client.py +420 -0
- oci/addons/adk/tool/function_tool.py +7 -3
- oci/addons/adk/tool/tool.py +11 -1
- oci/addons/adk/tool/toolkit.py +11 -2
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +72 -72
- 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/apiaccesscontrol/api_metadata_client.py +6 -6
- oci/apiaccesscontrol/privileged_api_control_client.py +12 -12
- oci/apiaccesscontrol/privileged_api_requests_client.py +14 -14
- oci/apiaccesscontrol/privileged_api_work_request_client.py +10 -10
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/__init__.py +3 -1
- oci/apm_traces/attributes_client.py +12 -12
- oci/apm_traces/models/__init__.py +25 -1
- oci/apm_traces/models/attribute.py +101 -0
- oci/apm_traces/models/attribute_metadata.py +149 -0
- oci/apm_traces/models/attribute_response.py +2 -2
- oci/apm_traces/models/attribute_update_response.py +2 -2
- oci/apm_traces/models/auto_activate_status.py +16 -0
- oci/apm_traces/models/auto_activate_toggle_status.py +16 -0
- oci/apm_traces/models/bulk_activate_attribute_detail.py +47 -8
- oci/apm_traces/models/bulk_de_activate_attribute_detail.py +7 -3
- oci/apm_traces/models/bulk_pin_attribute_detail.py +7 -3
- oci/apm_traces/models/bulk_unpin_attribute_detail.py +7 -3
- oci/apm_traces/models/bulk_update_attribute_detail.py +9 -5
- oci/apm_traces/models/bulk_update_attribute_notes_detail.py +7 -3
- oci/apm_traces/models/create_scheduled_query_details.py +471 -0
- oci/apm_traces/models/custom_metric.py +295 -0
- oci/apm_traces/models/log.py +475 -0
- oci/apm_traces/models/object_storage.py +132 -0
- oci/apm_traces/models/scheduled_query.py +666 -0
- oci/apm_traces/models/scheduled_query_collection.py +70 -0
- oci/apm_traces/models/scheduled_query_processing_config.py +120 -0
- oci/apm_traces/models/scheduled_query_summary.py +573 -0
- oci/apm_traces/models/streaming.py +70 -0
- oci/apm_traces/models/tag_metadata.py +2 -2
- oci/apm_traces/models/update_scheduled_query_details.py +471 -0
- oci/apm_traces/query_client.py +8 -6
- oci/apm_traces/scheduled_query_client.py +755 -0
- oci/apm_traces/scheduled_query_client_composite_operations.py +181 -0
- oci/apm_traces/trace_client.py +131 -6
- 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/base_client.py +3 -0
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +88 -88
- 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/capacity_management/demand_signal_client.py +13 -13
- oci/capacity_management/internal_demand_signal_client.py +12 -12
- 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 +46 -46
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +125 -125
- oci/core/compute_management_client.py +32 -32
- oci/core/virtual_network_client.py +258 -258
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +149 -149
- oci/data_flow/data_flow_client.py +45 -45
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +317 -317
- oci/data_science/data_science_client.py +145 -145
- oci/database/database_client.py +901 -421
- oci/database/database_client_composite_operations.py +123 -0
- oci/database/models/__init__.py +14 -0
- oci/database/models/autonomous_container_database.py +37 -0
- oci/database/models/autonomous_container_database_summary.py +37 -0
- oci/database/models/autonomous_database_software_image.py +37 -0
- oci/database/models/autonomous_database_software_image_summary.py +37 -0
- oci/database/models/autonomous_vm_cluster.py +37 -0
- oci/database/models/autonomous_vm_cluster_summary.py +37 -0
- oci/database/models/azure_encryption_key_details.py +80 -0
- oci/database/models/backup.py +7 -3
- oci/database/models/backup_destination.py +37 -0
- oci/database/models/backup_destination_configuration_summary.py +7 -3
- oci/database/models/backup_destination_details.py +7 -3
- oci/database/models/backup_destination_details_summary.py +7 -3
- oci/database/models/backup_destination_summary.py +37 -0
- oci/database/models/backup_summary.py +7 -3
- oci/database/models/change_cloud_autonomous_vm_cluster_subscription_details.py +105 -0
- oci/database/models/cloud_autonomous_vm_cluster.py +74 -2
- oci/database/models/cloud_autonomous_vm_cluster_summary.py +74 -2
- oci/database/models/cloud_vm_cluster.py +80 -2
- oci/database/models/cloud_vm_cluster_summary.py +80 -2
- oci/database/models/create_cloud_autonomous_vm_cluster_details.py +37 -2
- oci/database/models/create_cloud_vm_cluster_details.py +17 -17
- oci/database/models/create_database_base.py +1 -1
- oci/database/models/create_vm_cluster_details.py +2 -2
- oci/database/models/database.py +37 -0
- oci/database/models/database_software_image.py +37 -0
- oci/database/models/database_software_image_summary.py +37 -0
- oci/database/models/database_summary.py +37 -0
- oci/database/models/db_home.py +37 -0
- oci/database/models/db_home_from_agent_resource_id.py +37 -0
- oci/database/models/db_home_summary.py +37 -0
- oci/database/models/db_node.py +37 -0
- oci/database/models/db_node_summary.py +37 -0
- oci/database/models/db_server.py +37 -0
- oci/database/models/db_server_summary.py +37 -0
- oci/database/models/db_system.py +37 -0
- oci/database/models/db_system_summary.py +37 -0
- oci/database/models/encryption_key_location_details.py +15 -5
- oci/database/models/exadata_infrastructure.py +37 -0
- oci/database/models/exadata_infrastructure_summary.py +37 -0
- oci/database/models/execution_action.py +39 -2
- oci/database/models/execution_action_summary.py +39 -2
- oci/database/models/execution_window.py +39 -2
- oci/database/models/execution_window_summary.py +39 -2
- oci/database/models/external_container_database.py +37 -0
- oci/database/models/external_container_database_summary.py +37 -0
- oci/database/models/external_database_base.py +37 -0
- oci/database/models/external_database_connector.py +37 -0
- oci/database/models/external_database_connector_summary.py +37 -0
- oci/database/models/external_hsm_encryption_details.py +1 -1
- oci/database/models/external_macs_connector.py +7 -0
- oci/database/models/external_macs_connector_summary.py +7 -0
- oci/database/models/external_non_container_database.py +37 -0
- oci/database/models/external_non_container_database_summary.py +37 -0
- oci/database/models/external_pluggable_database.py +37 -0
- oci/database/models/external_pluggable_database_summary.py +37 -0
- oci/database/models/identity_connector_details.py +113 -0
- oci/database/models/key_store.py +39 -2
- oci/database/models/key_store_summary.py +39 -2
- oci/database/models/maintenance_run.py +37 -0
- oci/database/models/maintenance_run_history.py +39 -2
- oci/database/models/maintenance_run_history_summary.py +39 -2
- oci/database/models/maintenance_run_summary.py +37 -0
- oci/database/models/oneoff_patch.py +39 -2
- oci/database/models/oneoff_patch_summary.py +39 -2
- oci/database/models/pluggable_database.py +37 -0
- oci/database/models/pluggable_database_summary.py +37 -0
- oci/database/models/register_cloud_vm_cluster_pkcs_details.py +86 -0
- oci/database/models/resource_pool_member_collection.py +70 -0
- oci/database/models/resource_pool_member_summary.py +74 -0
- oci/database/models/scheduling_policy.py +39 -2
- oci/database/models/scheduling_policy_summary.py +39 -2
- oci/database/models/scheduling_window.py +39 -2
- oci/database/models/scheduling_window_summary.py +39 -2
- oci/database/models/unregister_cloud_vm_cluster_pkcs_details.py +86 -0
- oci/database/models/vm_cluster.py +37 -0
- oci/database/models/vm_cluster_network.py +39 -2
- oci/database/models/vm_cluster_network_summary.py +39 -2
- oci/database/models/vm_cluster_summary.py +37 -0
- oci/database_management/db_management_client.py +229 -229
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +15 -15
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +155 -42
- oci/database_migration/database_migration_client_composite_operations.py +42 -0
- oci/database_migration/models/__init__.py +4 -0
- oci/database_migration/models/collect_traces_data.py +183 -0
- oci/database_migration/models/collect_traces_details.py +132 -0
- oci/database_migration/models/job.py +27 -0
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- oci/dbmulticloud/__init__.py +28 -0
- oci/dbmulticloud/models/__init__.py +112 -0
- oci/dbmulticloud/models/arc_agent_nodes.py +218 -0
- oci/dbmulticloud/models/change_multi_cloud_resource_discovery_compartment_details.py +191 -0
- oci/dbmulticloud/models/change_oracle_db_azure_blob_container_compartment_details.py +187 -0
- oci/dbmulticloud/models/change_oracle_db_azure_blob_mount_compartment_details.py +187 -0
- oci/dbmulticloud/models/change_oracle_db_azure_connector_compartment_details.py +187 -0
- oci/dbmulticloud/models/change_oracle_db_azure_vault_association_compartment_details.py +191 -0
- oci/dbmulticloud/models/change_oracle_db_azure_vault_compartment_details.py +191 -0
- oci/dbmulticloud/models/create_multi_cloud_resource_discovery_details.py +253 -0
- oci/dbmulticloud/models/create_oracle_db_azure_blob_container_details.py +307 -0
- oci/dbmulticloud/models/create_oracle_db_azure_blob_mount_details.py +245 -0
- oci/dbmulticloud/models/create_oracle_db_azure_connector_details.py +431 -0
- oci/dbmulticloud/models/create_oracle_db_azure_vault_association_details.py +257 -0
- oci/dbmulticloud/models/create_oracle_db_azure_vault_details.py +377 -0
- oci/dbmulticloud/models/multi_cloud_resource_discovery.py +577 -0
- oci/dbmulticloud/models/multi_cloud_resource_discovery_summary.py +517 -0
- oci/dbmulticloud/models/multi_cloud_resource_discovery_summary_collection.py +70 -0
- oci/dbmulticloud/models/oracle_db_azure_blob_container.py +568 -0
- oci/dbmulticloud/models/oracle_db_azure_blob_container_summary.py +536 -0
- oci/dbmulticloud/models/oracle_db_azure_blob_container_summary_collection.py +70 -0
- oci/dbmulticloud/models/oracle_db_azure_blob_mount.py +537 -0
- oci/dbmulticloud/models/oracle_db_azure_blob_mount_summary.py +505 -0
- oci/dbmulticloud/models/oracle_db_azure_blob_mount_summary_collection.py +70 -0
- oci/dbmulticloud/models/oracle_db_azure_connector.py +739 -0
- oci/dbmulticloud/models/oracle_db_azure_connector_summary.py +660 -0
- oci/dbmulticloud/models/oracle_db_azure_connector_summary_collection.py +70 -0
- oci/dbmulticloud/models/oracle_db_azure_key.py +518 -0
- oci/dbmulticloud/models/oracle_db_azure_key_summary.py +486 -0
- oci/dbmulticloud/models/oracle_db_azure_key_summary_collection.py +70 -0
- oci/dbmulticloud/models/oracle_db_azure_vault.py +642 -0
- oci/dbmulticloud/models/oracle_db_azure_vault_association.py +553 -0
- oci/dbmulticloud/models/oracle_db_azure_vault_association_summary.py +521 -0
- oci/dbmulticloud/models/oracle_db_azure_vault_association_summary_collection.py +70 -0
- oci/dbmulticloud/models/oracle_db_azure_vault_summary.py +610 -0
- oci/dbmulticloud/models/oracle_db_azure_vault_summary_collection.py +70 -0
- oci/dbmulticloud/models/patch_oracle_db_azure_connector_details.py +187 -0
- oci/dbmulticloud/models/resources.py +229 -0
- oci/dbmulticloud/models/update_multi_cloud_resource_discovery_details.py +253 -0
- oci/dbmulticloud/models/update_oracle_db_azure_blob_container_details.py +307 -0
- oci/dbmulticloud/models/update_oracle_db_azure_blob_mount_details.py +245 -0
- oci/dbmulticloud/models/update_oracle_db_azure_connector_details.py +431 -0
- oci/dbmulticloud/models/update_oracle_db_azure_vault_association_details.py +257 -0
- oci/dbmulticloud/models/update_oracle_db_azure_vault_details.py +377 -0
- oci/dbmulticloud/models/work_request.py +496 -0
- oci/dbmulticloud/models/work_request_error.py +134 -0
- oci/dbmulticloud/models/work_request_error_collection.py +70 -0
- oci/dbmulticloud/models/work_request_log_entry.py +101 -0
- oci/dbmulticloud/models/work_request_log_entry_collection.py +70 -0
- oci/dbmulticloud/models/work_request_resource.py +232 -0
- oci/dbmulticloud/models/work_request_summary.py +496 -0
- oci/dbmulticloud/models/work_request_summary_collection.py +70 -0
- oci/dbmulticloud/multi_cloud_resource_discovery_client.py +883 -0
- oci/dbmulticloud/multi_cloud_resource_discovery_client_composite_operations.py +202 -0
- oci/dbmulticloud/oracle_db_azure_blob_container_client.py +864 -0
- oci/dbmulticloud/oracle_db_azure_blob_container_client_composite_operations.py +196 -0
- oci/dbmulticloud/oracle_db_azure_blob_mount_client.py +865 -0
- oci/dbmulticloud/oracle_db_azure_blob_mount_client_composite_operations.py +196 -0
- oci/dbmulticloud/oracle_db_azure_connector_client.py +963 -0
- oci/dbmulticloud/oracle_db_azure_connector_client_composite_operations.py +239 -0
- oci/dbmulticloud/oracle_db_azure_key_client.py +419 -0
- oci/dbmulticloud/oracle_db_azure_key_client_composite_operations.py +26 -0
- oci/dbmulticloud/oracle_db_azure_vault_association_client.py +979 -0
- oci/dbmulticloud/oracle_db_azure_vault_association_client_composite_operations.py +235 -0
- oci/dbmulticloud/oracle_db_azure_vault_client.py +979 -0
- oci/dbmulticloud/oracle_db_azure_vault_client_composite_operations.py +235 -0
- oci/dbmulticloud/work_request_client.py +770 -0
- oci/dbmulticloud/work_request_client_composite_operations.py +26 -0
- 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/distributed_database/distributed_autonomous_db_service_client.py +18 -18
- oci/distributed_database/distributed_db_private_endpoint_service_client.py +7 -7
- oci/distributed_database/distributed_db_service_client.py +19 -19
- oci/distributed_database/distributed_db_work_request_service_client.py +4 -4
- oci/dns/dns_client.py +54 -54
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +31 -31
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +74 -74
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +27 -27
- oci/fleet_apps_management/fleet_apps_management_catalog_client.py +7 -7
- oci/fleet_apps_management/fleet_apps_management_client.py +32 -32
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +5 -5
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +29 -29
- oci/fleet_apps_management/fleet_apps_management_provision_client.py +6 -6
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +19 -19
- oci/fleet_apps_management/fleet_apps_management_work_request_client.py +4 -4
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/fleet_software_update/models/__init__.py +12 -0
- oci/fleet_software_update/models/create_fsu_cycle_details.py +11 -3
- oci/fleet_software_update/models/create_patch_fsu_cycle.py +1 -1
- oci/fleet_software_update/models/create_upgrade_fsu_cycle.py +147 -0
- oci/fleet_software_update/models/fsu_cycle.py +11 -3
- oci/fleet_software_update/models/fsu_cycle_summary.py +7 -3
- oci/fleet_software_update/models/patch_fsu_cycle.py +1 -1
- oci/fleet_software_update/models/update_fsu_cycle_details.py +11 -3
- oci/fleet_software_update/models/update_patch_fsu_cycle.py +1 -1
- oci/fleet_software_update/models/update_upgrade_fsu_cycle.py +118 -0
- oci/fleet_software_update/models/upgrade_db_collection_details.py +142 -0
- oci/fleet_software_update/models/upgrade_details.py +107 -0
- oci/fleet_software_update/models/upgrade_fsu_cycle.py +241 -0
- oci/fleet_software_update/models/upgrade_gi_collection_details.py +111 -0
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai_agent/generative_ai_agent_client.py +38 -38
- oci/generative_ai_agent_runtime/generative_ai_agent_runtime_client.py +6 -6
- oci/generative_ai_inference/generative_ai_inference_client.py +6 -6
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +30 -30
- oci/golden_gate/golden_gate_client.py +89 -89
- oci/governance_rules_control_plane/governance_rule_client.py +15 -15
- oci/governance_rules_control_plane/work_request_client.py +5 -5
- oci/healthchecks/health_checks_client.py +17 -17
- oci/identity/identity_client.py +145 -145
- oci/identity_data_plane/dataplane_client.py +2 -2
- oci/identity_domains/identity_domains_client.py +311 -311
- oci/integration/integration_instance_client.py +19 -19
- oci/jms/java_management_service_client.py +79 -79
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/load_balancer/models/backend.py +4 -4
- oci/load_balancer/models/backend_details.py +10 -4
- oci/load_balancer/models/backend_set.py +6 -4
- oci/load_balancer/models/backend_set_details.py +12 -4
- oci/load_balancer/models/create_backend_details.py +10 -4
- oci/load_balancer/models/create_backend_set_details.py +12 -4
- oci/load_balancer/models/create_listener_details.py +6 -4
- oci/load_balancer/models/create_load_balancer_details.py +39 -0
- oci/load_balancer/models/listener.py +6 -4
- oci/load_balancer/models/listener_details.py +6 -4
- oci/load_balancer/models/load_balancer.py +61 -2
- oci/load_balancer/models/reserved_ip.py +4 -0
- oci/load_balancer/models/update_backend_details.py +10 -4
- oci/load_balancer/models/update_backend_set_details.py +12 -4
- oci/load_balancer/models/update_listener_details.py +6 -4
- oci/load_balancer/models/update_load_balancer_details.py +59 -0
- oci/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +200 -200
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/lustre_file_storage/lustre_file_storage_client.py +11 -11
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +18 -18
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/model_deployment/model_deployment_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +8 -8
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/models/__init__.py +2 -0
- oci/mysql/models/backup.py +29 -2
- oci/mysql/models/backup_summary.py +29 -2
- oci/mysql/models/copy_backup_details.py +29 -2
- oci/mysql/models/create_db_system_details.py +27 -0
- oci/mysql/models/db_system.py +27 -0
- oci/mysql/models/db_system_snapshot.py +27 -0
- oci/mysql/models/encrypt_data_details.py +117 -0
- oci/mysql/models/replica.py +27 -0
- oci/mysql/models/update_db_system_details.py +27 -0
- 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 +92 -92
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/models/__init__.py +14 -0
- oci/nosql/models/configuration.py +109 -0
- oci/nosql/models/hosted_configuration.py +78 -0
- oci/nosql/models/kms_key.py +244 -0
- oci/nosql/models/multi_tenancy_configuration.py +49 -0
- oci/nosql/models/update_configuration_details.py +109 -0
- oci/nosql/models/update_hosted_configuration_details.py +78 -0
- oci/nosql/models/update_multi_tenancy_configuration_details.py +52 -0
- oci/nosql/models/work_request.py +7 -3
- oci/nosql/models/work_request_summary.py +7 -3
- oci/nosql/nosql_client.py +340 -25
- oci/nosql/nosql_client_composite_operations.py +81 -0
- 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 +17 -17
- oci/opensearch/opensearch_cluster_pipeline_client.py +5 -5
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +181 -181
- oci/optimizer/optimizer_client.py +26 -26
- oci/os_management/event_client.py +8 -8
- oci/os_management/os_management_client.py +69 -69
- oci/os_management_hub/event_client.py +8 -8
- oci/os_management_hub/lifecycle_environment_client.py +13 -13
- oci/os_management_hub/managed_instance_client.py +33 -33
- oci/os_management_hub/managed_instance_group_client.py +26 -26
- oci/os_management_hub/management_station_client.py +10 -10
- oci/os_management_hub/onboarding_client.py +13 -13
- oci/os_management_hub/reporting_managed_instance_client.py +3 -3
- oci/os_management_hub/scheduled_job_client.py +7 -7
- oci/os_management_hub/software_source_client.py +33 -33
- oci/os_management_hub/work_request_client.py +5 -5
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +34 -34
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +26 -26
- oci/redis/oci_cache_user_client.py +7 -7
- oci/redis/redis_cluster_client.py +15 -15
- oci/redis/redis_identity_client.py +1 -1
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_scheduler/schedule_client.py +14 -14
- 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 +96 -96
- oci/stack_monitoring/stack_monitoring_client.py +87 -87
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/usageapi_client.py +33 -33
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/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/wlms/weblogic_management_service_client.py +41 -41
- oci/wlms/weblogic_management_service_configuration_client.py +2 -2
- oci/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/METADATA +1 -1
- {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/RECORD +520 -413
- {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/WHEEL +0 -0
- {oci-2.154.2.dist-info → oci-2.155.0.dist-info}/top_level.txt +0 -0
@@ -158,7 +158,7 @@ class DatabaseMigrationClient(object):
|
|
158
158
|
:rtype: :class:`~oci.response.Response`
|
159
159
|
|
160
160
|
:example:
|
161
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
161
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/abort_job.py.html>`__ to see an example of how to use abort_job API.
|
162
162
|
"""
|
163
163
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
164
164
|
required_arguments = ['jobId']
|
@@ -272,7 +272,7 @@ class DatabaseMigrationClient(object):
|
|
272
272
|
:rtype: :class:`~oci.response.Response`
|
273
273
|
|
274
274
|
:example:
|
275
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
275
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/add_migration_objects.py.html>`__ to see an example of how to use add_migration_objects API.
|
276
276
|
"""
|
277
277
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
278
278
|
required_arguments = ['migrationId']
|
@@ -390,7 +390,7 @@ class DatabaseMigrationClient(object):
|
|
390
390
|
:rtype: :class:`~oci.response.Response`
|
391
391
|
|
392
392
|
:example:
|
393
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
393
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/change_connection_compartment.py.html>`__ to see an example of how to use change_connection_compartment API.
|
394
394
|
"""
|
395
395
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
396
396
|
required_arguments = ['connectionId']
|
@@ -511,7 +511,7 @@ class DatabaseMigrationClient(object):
|
|
511
511
|
:rtype: :class:`~oci.response.Response`
|
512
512
|
|
513
513
|
:example:
|
514
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
514
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/change_migration_compartment.py.html>`__ to see an example of how to use change_migration_compartment API.
|
515
515
|
"""
|
516
516
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
517
517
|
required_arguments = ['migrationId']
|
@@ -632,7 +632,7 @@ class DatabaseMigrationClient(object):
|
|
632
632
|
:rtype: :class:`~oci.response.Response`
|
633
633
|
|
634
634
|
:example:
|
635
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
635
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/clone_migration.py.html>`__ to see an example of how to use clone_migration API.
|
636
636
|
"""
|
637
637
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
638
638
|
required_arguments = ['migrationId']
|
@@ -710,6 +710,119 @@ class DatabaseMigrationClient(object):
|
|
710
710
|
api_reference_link=api_reference_link,
|
711
711
|
required_arguments=required_arguments)
|
712
712
|
|
713
|
+
def collect_traces(self, job_id, collect_traces_details, **kwargs):
|
714
|
+
"""
|
715
|
+
Collects the DB trace and alert logs.
|
716
|
+
|
717
|
+
|
718
|
+
:param str job_id: (required)
|
719
|
+
The OCID of the job
|
720
|
+
|
721
|
+
:param oci.database_migration.models.CollectTracesDetails collect_traces_details: (required)
|
722
|
+
Information on where the traces will be stored.
|
723
|
+
|
724
|
+
:param str opc_request_id: (optional)
|
725
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
726
|
+
particular request, please provide the request ID.
|
727
|
+
|
728
|
+
:param str if_match: (optional)
|
729
|
+
For optimistic concurrency control. In the PUT or DELETE call
|
730
|
+
for a resource, set the `if-match` parameter to the value of the
|
731
|
+
etag from a previous GET or POST response for that resource.
|
732
|
+
The resource will be updated or deleted only if the etag you
|
733
|
+
provide matches the resource's current etag value.
|
734
|
+
|
735
|
+
:param obj retry_strategy: (optional)
|
736
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
737
|
+
|
738
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
|
739
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
740
|
+
|
741
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
742
|
+
|
743
|
+
:param bool allow_control_chars: (optional)
|
744
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
745
|
+
By default, the response will not allow control characters in strings
|
746
|
+
|
747
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database_migration.models.Job`
|
748
|
+
:rtype: :class:`~oci.response.Response`
|
749
|
+
|
750
|
+
:example:
|
751
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/collect_traces.py.html>`__ to see an example of how to use collect_traces API.
|
752
|
+
"""
|
753
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
754
|
+
required_arguments = ['jobId']
|
755
|
+
resource_path = "/jobs/{jobId}/actions/collectTraces"
|
756
|
+
method = "POST"
|
757
|
+
operation_name = "collect_traces"
|
758
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database-migration/20230518/Job/CollectTraces"
|
759
|
+
|
760
|
+
# Don't accept unknown kwargs
|
761
|
+
expected_kwargs = [
|
762
|
+
"allow_control_chars",
|
763
|
+
"retry_strategy",
|
764
|
+
"opc_request_id",
|
765
|
+
"if_match"
|
766
|
+
]
|
767
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
768
|
+
if extra_kwargs:
|
769
|
+
raise ValueError(
|
770
|
+
f"collect_traces got unknown kwargs: {extra_kwargs!r}")
|
771
|
+
|
772
|
+
path_params = {
|
773
|
+
"jobId": job_id
|
774
|
+
}
|
775
|
+
|
776
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
777
|
+
|
778
|
+
for (k, v) in six.iteritems(path_params):
|
779
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
780
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
781
|
+
|
782
|
+
header_params = {
|
783
|
+
"accept": "application/json",
|
784
|
+
"content-type": "application/json",
|
785
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
786
|
+
"if-match": kwargs.get("if_match", missing)
|
787
|
+
}
|
788
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
789
|
+
|
790
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
791
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
792
|
+
client_retry_strategy=self.retry_strategy
|
793
|
+
)
|
794
|
+
if retry_strategy is None:
|
795
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
796
|
+
|
797
|
+
if retry_strategy:
|
798
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
799
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
800
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
801
|
+
return retry_strategy.make_retrying_call(
|
802
|
+
self.base_client.call_api,
|
803
|
+
resource_path=resource_path,
|
804
|
+
method=method,
|
805
|
+
path_params=path_params,
|
806
|
+
header_params=header_params,
|
807
|
+
body=collect_traces_details,
|
808
|
+
response_type="Job",
|
809
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
810
|
+
operation_name=operation_name,
|
811
|
+
api_reference_link=api_reference_link,
|
812
|
+
required_arguments=required_arguments)
|
813
|
+
else:
|
814
|
+
return self.base_client.call_api(
|
815
|
+
resource_path=resource_path,
|
816
|
+
method=method,
|
817
|
+
path_params=path_params,
|
818
|
+
header_params=header_params,
|
819
|
+
body=collect_traces_details,
|
820
|
+
response_type="Job",
|
821
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
822
|
+
operation_name=operation_name,
|
823
|
+
api_reference_link=api_reference_link,
|
824
|
+
required_arguments=required_arguments)
|
825
|
+
|
713
826
|
def connection_diagnostics(self, connection_id, **kwargs):
|
714
827
|
"""
|
715
828
|
Perform connection test for a database connection.
|
@@ -752,7 +865,7 @@ class DatabaseMigrationClient(object):
|
|
752
865
|
:rtype: :class:`~oci.response.Response`
|
753
866
|
|
754
867
|
:example:
|
755
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
868
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/connection_diagnostics.py.html>`__ to see an example of how to use connection_diagnostics API.
|
756
869
|
"""
|
757
870
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
758
871
|
required_arguments = ['connectionId']
|
@@ -864,7 +977,7 @@ class DatabaseMigrationClient(object):
|
|
864
977
|
:rtype: :class:`~oci.response.Response`
|
865
978
|
|
866
979
|
:example:
|
867
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
980
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/create_connection.py.html>`__ to see an example of how to use create_connection API.
|
868
981
|
"""
|
869
982
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
870
983
|
required_arguments = []
|
@@ -965,7 +1078,7 @@ class DatabaseMigrationClient(object):
|
|
965
1078
|
:rtype: :class:`~oci.response.Response`
|
966
1079
|
|
967
1080
|
:example:
|
968
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1081
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/create_migration.py.html>`__ to see an example of how to use create_migration API.
|
969
1082
|
"""
|
970
1083
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
971
1084
|
required_arguments = []
|
@@ -1074,7 +1187,7 @@ class DatabaseMigrationClient(object):
|
|
1074
1187
|
:rtype: :class:`~oci.response.Response`
|
1075
1188
|
|
1076
1189
|
:example:
|
1077
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1190
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/create_parameter_file_version.py.html>`__ to see an example of how to use create_parameter_file_version API.
|
1078
1191
|
"""
|
1079
1192
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1080
1193
|
required_arguments = ['jobId']
|
@@ -1185,7 +1298,7 @@ class DatabaseMigrationClient(object):
|
|
1185
1298
|
:rtype: :class:`~oci.response.Response`
|
1186
1299
|
|
1187
1300
|
:example:
|
1188
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1301
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/delete_connection.py.html>`__ to see an example of how to use delete_connection API.
|
1189
1302
|
"""
|
1190
1303
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1191
1304
|
required_arguments = ['connectionId']
|
@@ -1291,7 +1404,7 @@ class DatabaseMigrationClient(object):
|
|
1291
1404
|
:rtype: :class:`~oci.response.Response`
|
1292
1405
|
|
1293
1406
|
:example:
|
1294
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1407
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/delete_job.py.html>`__ to see an example of how to use delete_job API.
|
1295
1408
|
"""
|
1296
1409
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1297
1410
|
required_arguments = ['jobId']
|
@@ -1397,7 +1510,7 @@ class DatabaseMigrationClient(object):
|
|
1397
1510
|
:rtype: :class:`~oci.response.Response`
|
1398
1511
|
|
1399
1512
|
:example:
|
1400
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1513
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/delete_migration.py.html>`__ to see an example of how to use delete_migration API.
|
1401
1514
|
"""
|
1402
1515
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1403
1516
|
required_arguments = ['migrationId']
|
@@ -1506,7 +1619,7 @@ class DatabaseMigrationClient(object):
|
|
1506
1619
|
:rtype: :class:`~oci.response.Response`
|
1507
1620
|
|
1508
1621
|
:example:
|
1509
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1622
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/delete_parameter_file_version.py.html>`__ to see an example of how to use delete_parameter_file_version API.
|
1510
1623
|
"""
|
1511
1624
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1512
1625
|
required_arguments = ['jobId', 'parameterFileName']
|
@@ -1620,7 +1733,7 @@ class DatabaseMigrationClient(object):
|
|
1620
1733
|
:rtype: :class:`~oci.response.Response`
|
1621
1734
|
|
1622
1735
|
:example:
|
1623
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1736
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/evaluate_migration.py.html>`__ to see an example of how to use evaluate_migration API.
|
1624
1737
|
"""
|
1625
1738
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1626
1739
|
required_arguments = ['migrationId']
|
@@ -1724,7 +1837,7 @@ class DatabaseMigrationClient(object):
|
|
1724
1837
|
:rtype: :class:`~oci.response.Response`
|
1725
1838
|
|
1726
1839
|
:example:
|
1727
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1840
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/get_advisor_report.py.html>`__ to see an example of how to use get_advisor_report API.
|
1728
1841
|
"""
|
1729
1842
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1730
1843
|
required_arguments = ['jobId']
|
@@ -1823,7 +1936,7 @@ class DatabaseMigrationClient(object):
|
|
1823
1936
|
:rtype: :class:`~oci.response.Response`
|
1824
1937
|
|
1825
1938
|
:example:
|
1826
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1939
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/get_connection.py.html>`__ to see an example of how to use get_connection API.
|
1827
1940
|
"""
|
1828
1941
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1829
1942
|
required_arguments = ['connectionId']
|
@@ -1922,7 +2035,7 @@ class DatabaseMigrationClient(object):
|
|
1922
2035
|
:rtype: :class:`~oci.response.Response`
|
1923
2036
|
|
1924
2037
|
:example:
|
1925
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2038
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/get_job.py.html>`__ to see an example of how to use get_job API.
|
1926
2039
|
"""
|
1927
2040
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1928
2041
|
required_arguments = ['jobId']
|
@@ -2021,7 +2134,7 @@ class DatabaseMigrationClient(object):
|
|
2021
2134
|
:rtype: :class:`~oci.response.Response`
|
2022
2135
|
|
2023
2136
|
:example:
|
2024
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2137
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/get_job_output_content.py.html>`__ to see an example of how to use get_job_output_content API.
|
2025
2138
|
"""
|
2026
2139
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2027
2140
|
required_arguments = ['jobId']
|
@@ -2127,7 +2240,7 @@ class DatabaseMigrationClient(object):
|
|
2127
2240
|
:rtype: :class:`~oci.response.Response`
|
2128
2241
|
|
2129
2242
|
:example:
|
2130
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2243
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/get_migration.py.html>`__ to see an example of how to use get_migration API.
|
2131
2244
|
"""
|
2132
2245
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2133
2246
|
required_arguments = ['migrationId']
|
@@ -2232,7 +2345,7 @@ class DatabaseMigrationClient(object):
|
|
2232
2345
|
:rtype: :class:`~oci.response.Response`
|
2233
2346
|
|
2234
2347
|
:example:
|
2235
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2348
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/get_parameter_file_version.py.html>`__ to see an example of how to use get_parameter_file_version API.
|
2236
2349
|
"""
|
2237
2350
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2238
2351
|
required_arguments = ['parameterFileName', 'jobId']
|
@@ -2332,7 +2445,7 @@ class DatabaseMigrationClient(object):
|
|
2332
2445
|
:rtype: :class:`~oci.response.Response`
|
2333
2446
|
|
2334
2447
|
:example:
|
2335
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2448
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
2336
2449
|
"""
|
2337
2450
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2338
2451
|
required_arguments = ['workRequestId']
|
@@ -2469,7 +2582,7 @@ class DatabaseMigrationClient(object):
|
|
2469
2582
|
:rtype: :class:`~oci.response.Response`
|
2470
2583
|
|
2471
2584
|
:example:
|
2472
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2585
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_connections.py.html>`__ to see an example of how to use list_connections API.
|
2473
2586
|
"""
|
2474
2587
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2475
2588
|
required_arguments = ['compartmentId']
|
@@ -2659,7 +2772,7 @@ class DatabaseMigrationClient(object):
|
|
2659
2772
|
:rtype: :class:`~oci.response.Response`
|
2660
2773
|
|
2661
2774
|
:example:
|
2662
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2775
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_excluded_objects.py.html>`__ to see an example of how to use list_excluded_objects API.
|
2663
2776
|
"""
|
2664
2777
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2665
2778
|
required_arguments = ['jobId']
|
@@ -2813,7 +2926,7 @@ class DatabaseMigrationClient(object):
|
|
2813
2926
|
:rtype: :class:`~oci.response.Response`
|
2814
2927
|
|
2815
2928
|
:example:
|
2816
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
2929
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_job_outputs.py.html>`__ to see an example of how to use list_job_outputs API.
|
2817
2930
|
"""
|
2818
2931
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2819
2932
|
required_arguments = ['jobId']
|
@@ -2948,7 +3061,7 @@ class DatabaseMigrationClient(object):
|
|
2948
3061
|
:rtype: :class:`~oci.response.Response`
|
2949
3062
|
|
2950
3063
|
:example:
|
2951
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3064
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_jobs.py.html>`__ to see an example of how to use list_jobs API.
|
2952
3065
|
"""
|
2953
3066
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
2954
3067
|
required_arguments = ['migrationId']
|
@@ -3094,7 +3207,7 @@ class DatabaseMigrationClient(object):
|
|
3094
3207
|
:rtype: :class:`~oci.response.Response`
|
3095
3208
|
|
3096
3209
|
:example:
|
3097
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3210
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_migration_object_types.py.html>`__ to see an example of how to use list_migration_object_types API.
|
3098
3211
|
"""
|
3099
3212
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3100
3213
|
required_arguments = ['connectionType']
|
@@ -3229,7 +3342,7 @@ class DatabaseMigrationClient(object):
|
|
3229
3342
|
:rtype: :class:`~oci.response.Response`
|
3230
3343
|
|
3231
3344
|
:example:
|
3232
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3345
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_migration_objects.py.html>`__ to see an example of how to use list_migration_objects API.
|
3233
3346
|
"""
|
3234
3347
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3235
3348
|
required_arguments = ['migrationId']
|
@@ -3364,7 +3477,7 @@ class DatabaseMigrationClient(object):
|
|
3364
3477
|
:rtype: :class:`~oci.response.Response`
|
3365
3478
|
|
3366
3479
|
:example:
|
3367
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3480
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_migration_parameters.py.html>`__ to see an example of how to use list_migration_parameters API.
|
3368
3481
|
"""
|
3369
3482
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3370
3483
|
required_arguments = []
|
@@ -3527,7 +3640,7 @@ class DatabaseMigrationClient(object):
|
|
3527
3640
|
:rtype: :class:`~oci.response.Response`
|
3528
3641
|
|
3529
3642
|
:example:
|
3530
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3643
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_migrations.py.html>`__ to see an example of how to use list_migrations API.
|
3531
3644
|
"""
|
3532
3645
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3533
3646
|
required_arguments = ['compartmentId']
|
@@ -3685,7 +3798,7 @@ class DatabaseMigrationClient(object):
|
|
3685
3798
|
:rtype: :class:`~oci.response.Response`
|
3686
3799
|
|
3687
3800
|
:example:
|
3688
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3801
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_parameter_file_versions.py.html>`__ to see an example of how to use list_parameter_file_versions API.
|
3689
3802
|
"""
|
3690
3803
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3691
3804
|
required_arguments = ['jobId']
|
@@ -3830,7 +3943,7 @@ class DatabaseMigrationClient(object):
|
|
3830
3943
|
:rtype: :class:`~oci.response.Response`
|
3831
3944
|
|
3832
3945
|
:example:
|
3833
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
3946
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
3834
3947
|
"""
|
3835
3948
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3836
3949
|
required_arguments = ['workRequestId']
|
@@ -3973,7 +4086,7 @@ class DatabaseMigrationClient(object):
|
|
3973
4086
|
:rtype: :class:`~oci.response.Response`
|
3974
4087
|
|
3975
4088
|
:example:
|
3976
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4089
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
3977
4090
|
"""
|
3978
4091
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
3979
4092
|
required_arguments = ['workRequestId']
|
@@ -4126,7 +4239,7 @@ class DatabaseMigrationClient(object):
|
|
4126
4239
|
:rtype: :class:`~oci.response.Response`
|
4127
4240
|
|
4128
4241
|
:example:
|
4129
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4242
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
4130
4243
|
"""
|
4131
4244
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4132
4245
|
required_arguments = ['compartmentId']
|
@@ -4270,7 +4383,7 @@ class DatabaseMigrationClient(object):
|
|
4270
4383
|
:rtype: :class:`~oci.response.Response`
|
4271
4384
|
|
4272
4385
|
:example:
|
4273
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4386
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/make_current_parameter_file_version.py.html>`__ to see an example of how to use make_current_parameter_file_version API.
|
4274
4387
|
"""
|
4275
4388
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4276
4389
|
required_arguments = ['jobId', 'parameterFileName']
|
@@ -4385,7 +4498,7 @@ class DatabaseMigrationClient(object):
|
|
4385
4498
|
:rtype: :class:`~oci.response.Response`
|
4386
4499
|
|
4387
4500
|
:example:
|
4388
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4501
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/remove_migration_objects.py.html>`__ to see an example of how to use remove_migration_objects API.
|
4389
4502
|
"""
|
4390
4503
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4391
4504
|
required_arguments = ['migrationId']
|
@@ -4503,7 +4616,7 @@ class DatabaseMigrationClient(object):
|
|
4503
4616
|
:rtype: :class:`~oci.response.Response`
|
4504
4617
|
|
4505
4618
|
:example:
|
4506
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4619
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/resume_job.py.html>`__ to see an example of how to use resume_job API.
|
4507
4620
|
"""
|
4508
4621
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4509
4622
|
required_arguments = ['jobId']
|
@@ -4610,7 +4723,7 @@ class DatabaseMigrationClient(object):
|
|
4610
4723
|
:rtype: :class:`~oci.response.Response`
|
4611
4724
|
|
4612
4725
|
:example:
|
4613
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4726
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/retrieve_supported_phases.py.html>`__ to see an example of how to use retrieve_supported_phases API.
|
4614
4727
|
"""
|
4615
4728
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4616
4729
|
required_arguments = ['migrationId']
|
@@ -4726,7 +4839,7 @@ class DatabaseMigrationClient(object):
|
|
4726
4839
|
:rtype: :class:`~oci.response.Response`
|
4727
4840
|
|
4728
4841
|
:example:
|
4729
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4842
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/start_migration.py.html>`__ to see an example of how to use start_migration API.
|
4730
4843
|
"""
|
4731
4844
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4732
4845
|
required_arguments = ['migrationId']
|
@@ -4847,7 +4960,7 @@ class DatabaseMigrationClient(object):
|
|
4847
4960
|
:rtype: :class:`~oci.response.Response`
|
4848
4961
|
|
4849
4962
|
:example:
|
4850
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
4963
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/suspend_job.py.html>`__ to see an example of how to use suspend_job API.
|
4851
4964
|
"""
|
4852
4965
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4853
4966
|
required_arguments = ['jobId']
|
@@ -4961,7 +5074,7 @@ class DatabaseMigrationClient(object):
|
|
4961
5074
|
:rtype: :class:`~oci.response.Response`
|
4962
5075
|
|
4963
5076
|
:example:
|
4964
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5077
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/update_connection.py.html>`__ to see an example of how to use update_connection API.
|
4965
5078
|
"""
|
4966
5079
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
4967
5080
|
required_arguments = ['connectionId']
|
@@ -5072,7 +5185,7 @@ class DatabaseMigrationClient(object):
|
|
5072
5185
|
:rtype: :class:`~oci.response.Response`
|
5073
5186
|
|
5074
5187
|
:example:
|
5075
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5188
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/update_job.py.html>`__ to see an example of how to use update_job API.
|
5076
5189
|
"""
|
5077
5190
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5078
5191
|
required_arguments = ['jobId']
|
@@ -5185,7 +5298,7 @@ class DatabaseMigrationClient(object):
|
|
5185
5298
|
:rtype: :class:`~oci.response.Response`
|
5186
5299
|
|
5187
5300
|
:example:
|
5188
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
5301
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/databasemigration/update_migration.py.html>`__ to see an example of how to use update_migration API.
|
5189
5302
|
"""
|
5190
5303
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
5191
5304
|
required_arguments = ['migrationId']
|
@@ -109,6 +109,48 @@ class DatabaseMigrationClientCompositeOperations(object):
|
|
109
109
|
except Exception as e:
|
110
110
|
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
111
111
|
|
112
|
+
def collect_traces_and_wait_for_state(self, job_id, collect_traces_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
113
|
+
"""
|
114
|
+
Calls :py:func:`~oci.database_migration.DatabaseMigrationClient.collect_traces` and waits for the :py:class:`~oci.database_migration.models.WorkRequest`
|
115
|
+
to enter the given state(s).
|
116
|
+
|
117
|
+
:param str job_id: (required)
|
118
|
+
The OCID of the job
|
119
|
+
|
120
|
+
:param oci.database_migration.models.CollectTracesDetails collect_traces_details: (required)
|
121
|
+
Information on where the traces will be stored.
|
122
|
+
|
123
|
+
:param list[str] wait_for_states:
|
124
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.database_migration.models.WorkRequest.status`
|
125
|
+
|
126
|
+
:param dict operation_kwargs:
|
127
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.database_migration.DatabaseMigrationClient.collect_traces`
|
128
|
+
|
129
|
+
:param dict waiter_kwargs:
|
130
|
+
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``
|
131
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
132
|
+
"""
|
133
|
+
operation_result = self.client.collect_traces(job_id, collect_traces_details, **operation_kwargs)
|
134
|
+
if not wait_for_states:
|
135
|
+
return operation_result
|
136
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
137
|
+
if 'opc-work-request-id' not in operation_result.headers:
|
138
|
+
return operation_result
|
139
|
+
wait_for_resource_id = operation_result.headers['opc-work-request-id']
|
140
|
+
|
141
|
+
try:
|
142
|
+
waiter_result = oci.wait_until(
|
143
|
+
self.client,
|
144
|
+
self.client.get_work_request(wait_for_resource_id),
|
145
|
+
evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_wait_for_states,
|
146
|
+
**waiter_kwargs
|
147
|
+
)
|
148
|
+
result_to_return = waiter_result
|
149
|
+
|
150
|
+
return result_to_return
|
151
|
+
except Exception as e:
|
152
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
153
|
+
|
112
154
|
def create_connection_and_wait_for_state(self, create_connection_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
113
155
|
"""
|
114
156
|
Calls :py:func:`~oci.database_migration.DatabaseMigrationClient.create_connection` and waits for the :py:class:`~oci.database_migration.models.WorkRequest`
|
@@ -16,6 +16,8 @@ from .advisor_report_location_details import AdvisorReportLocationDetails
|
|
16
16
|
from .change_connection_compartment_details import ChangeConnectionCompartmentDetails
|
17
17
|
from .change_migration_compartment_details import ChangeMigrationCompartmentDetails
|
18
18
|
from .clone_migration_details import CloneMigrationDetails
|
19
|
+
from .collect_traces_data import CollectTracesData
|
20
|
+
from .collect_traces_details import CollectTracesDetails
|
19
21
|
from .connection import Connection
|
20
22
|
from .connection_collection import ConnectionCollection
|
21
23
|
from .connection_summary import ConnectionSummary
|
@@ -191,6 +193,8 @@ database_migration_type_mapping = {
|
|
191
193
|
"ChangeConnectionCompartmentDetails": ChangeConnectionCompartmentDetails,
|
192
194
|
"ChangeMigrationCompartmentDetails": ChangeMigrationCompartmentDetails,
|
193
195
|
"CloneMigrationDetails": CloneMigrationDetails,
|
196
|
+
"CollectTracesData": CollectTracesData,
|
197
|
+
"CollectTracesDetails": CollectTracesDetails,
|
194
198
|
"Connection": Connection,
|
195
199
|
"ConnectionCollection": ConnectionCollection,
|
196
200
|
"ConnectionSummary": ConnectionSummary,
|