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
@@ -0,0 +1,181 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2025, Oracle and/or its affiliates. All rights reserved.
|
3
|
+
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
|
4
|
+
|
5
|
+
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630
|
6
|
+
|
7
|
+
import oci # noqa: F401
|
8
|
+
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
9
|
+
|
10
|
+
|
11
|
+
class ScheduledQueryClientCompositeOperations(object):
|
12
|
+
"""
|
13
|
+
This class provides a wrapper around :py:class:`~oci.apm_traces.ScheduledQueryClient` and offers convenience methods
|
14
|
+
for operations that would otherwise need to be chained together. For example, instead of performing an action
|
15
|
+
on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
|
16
|
+
to enter a given state, you can call a single method in this class to accomplish the same functionality
|
17
|
+
"""
|
18
|
+
|
19
|
+
def __init__(self, client, **kwargs):
|
20
|
+
"""
|
21
|
+
Creates a new ScheduledQueryClientCompositeOperations object
|
22
|
+
|
23
|
+
:param ScheduledQueryClient client:
|
24
|
+
The service client which will be wrapped by this object
|
25
|
+
"""
|
26
|
+
self.client = client
|
27
|
+
|
28
|
+
def create_scheduled_query_and_wait_for_state(self, apm_domain_id, create_scheduled_query_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
29
|
+
"""
|
30
|
+
Calls :py:func:`~oci.apm_traces.ScheduledQueryClient.create_scheduled_query` and waits for the :py:class:`~oci.apm_traces.models.ScheduledQuery` acted upon
|
31
|
+
to enter the given state(s).
|
32
|
+
|
33
|
+
:param str apm_domain_id: (required)
|
34
|
+
The APM Domain ID for the intended request.
|
35
|
+
|
36
|
+
:param oci.apm_traces.models.CreateScheduledQueryDetails create_scheduled_query_details: (required)
|
37
|
+
Request body containing the details about the scheduled query to be created.
|
38
|
+
|
39
|
+
:param list[str] wait_for_states:
|
40
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.apm_traces.models.ScheduledQuery.lifecycle_state`
|
41
|
+
|
42
|
+
:param dict operation_kwargs:
|
43
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.apm_traces.ScheduledQueryClient.create_scheduled_query`
|
44
|
+
|
45
|
+
:param dict waiter_kwargs:
|
46
|
+
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``
|
47
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
48
|
+
"""
|
49
|
+
operation_result = self.client.create_scheduled_query(apm_domain_id, create_scheduled_query_details, **operation_kwargs)
|
50
|
+
if not wait_for_states:
|
51
|
+
return operation_result
|
52
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
53
|
+
scheduled_query_id = operation_result.data.id
|
54
|
+
|
55
|
+
try:
|
56
|
+
waiter_result = oci.wait_until(
|
57
|
+
self.client,
|
58
|
+
self.client.get_scheduled_query(apm_domain_id, scheduled_query_id), # noqa: F821
|
59
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
60
|
+
**waiter_kwargs
|
61
|
+
)
|
62
|
+
result_to_return = waiter_result
|
63
|
+
|
64
|
+
return result_to_return
|
65
|
+
except (NameError, TypeError) as e:
|
66
|
+
if not e.args:
|
67
|
+
e.args = ('',)
|
68
|
+
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"', )
|
69
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
70
|
+
except Exception as e:
|
71
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
72
|
+
|
73
|
+
def delete_scheduled_query_and_wait_for_state(self, apm_domain_id, scheduled_query_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
74
|
+
"""
|
75
|
+
Calls :py:func:`~oci.apm_traces.ScheduledQueryClient.delete_scheduled_query` and waits for the :py:class:`~oci.apm_traces.models.ScheduledQuery` acted upon
|
76
|
+
to enter the given state(s).
|
77
|
+
|
78
|
+
:param str apm_domain_id: (required)
|
79
|
+
The APM Domain ID for the intended request.
|
80
|
+
|
81
|
+
:param str scheduled_query_id: (required)
|
82
|
+
Id of the scheduled query.
|
83
|
+
|
84
|
+
:param list[str] wait_for_states:
|
85
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.apm_traces.models.ScheduledQuery.lifecycle_state`
|
86
|
+
|
87
|
+
:param dict operation_kwargs:
|
88
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.apm_traces.ScheduledQueryClient.delete_scheduled_query`
|
89
|
+
|
90
|
+
:param dict waiter_kwargs:
|
91
|
+
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``
|
92
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
93
|
+
"""
|
94
|
+
initial_get_result = self.client.get_scheduled_query(scheduled_query_id)
|
95
|
+
operation_result = None
|
96
|
+
try:
|
97
|
+
operation_result = self.client.delete_scheduled_query(apm_domain_id, scheduled_query_id, **operation_kwargs)
|
98
|
+
except oci.exceptions.ServiceError as e:
|
99
|
+
if e.status == 404:
|
100
|
+
return WAIT_RESOURCE_NOT_FOUND
|
101
|
+
else:
|
102
|
+
raise e
|
103
|
+
|
104
|
+
if not wait_for_states:
|
105
|
+
return operation_result
|
106
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
107
|
+
|
108
|
+
try:
|
109
|
+
if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
|
110
|
+
self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation delete_scheduled_query, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
|
111
|
+
else:
|
112
|
+
"""
|
113
|
+
If the user does not send in this value, we set it to True by default.
|
114
|
+
We are doing this because during a delete resource scenario and waiting on its state, the service can
|
115
|
+
return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
|
116
|
+
"""
|
117
|
+
waiter_kwargs["succeed_on_not_found"] = True
|
118
|
+
waiter_result = oci.wait_until(
|
119
|
+
self.client,
|
120
|
+
initial_get_result, # noqa: F821
|
121
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
122
|
+
**waiter_kwargs
|
123
|
+
)
|
124
|
+
result_to_return = waiter_result
|
125
|
+
|
126
|
+
return result_to_return
|
127
|
+
except (NameError, TypeError) as e:
|
128
|
+
if not e.args:
|
129
|
+
e.args = ('',)
|
130
|
+
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"', )
|
131
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
132
|
+
except Exception as e:
|
133
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
134
|
+
|
135
|
+
def update_scheduled_query_and_wait_for_state(self, apm_domain_id, scheduled_query_id, update_scheduled_query_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
|
136
|
+
"""
|
137
|
+
Calls :py:func:`~oci.apm_traces.ScheduledQueryClient.update_scheduled_query` and waits for the :py:class:`~oci.apm_traces.models.ScheduledQuery` acted upon
|
138
|
+
to enter the given state(s).
|
139
|
+
|
140
|
+
:param str apm_domain_id: (required)
|
141
|
+
The APM Domain ID for the intended request.
|
142
|
+
|
143
|
+
:param str scheduled_query_id: (required)
|
144
|
+
Id of the scheduled query.
|
145
|
+
|
146
|
+
:param oci.apm_traces.models.UpdateScheduledQueryDetails update_scheduled_query_details: (required)
|
147
|
+
Request body containing the details about the scheduled query to be updated.
|
148
|
+
|
149
|
+
:param list[str] wait_for_states:
|
150
|
+
An array of states to wait on. These should be valid values for :py:attr:`~oci.apm_traces.models.ScheduledQuery.lifecycle_state`
|
151
|
+
|
152
|
+
:param dict operation_kwargs:
|
153
|
+
A dictionary of keyword arguments to pass to :py:func:`~oci.apm_traces.ScheduledQueryClient.update_scheduled_query`
|
154
|
+
|
155
|
+
:param dict waiter_kwargs:
|
156
|
+
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``
|
157
|
+
as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
|
158
|
+
"""
|
159
|
+
operation_result = self.client.update_scheduled_query(apm_domain_id, scheduled_query_id, update_scheduled_query_details, **operation_kwargs)
|
160
|
+
if not wait_for_states:
|
161
|
+
return operation_result
|
162
|
+
lowered_wait_for_states = [w.lower() for w in wait_for_states]
|
163
|
+
scheduled_query_id = operation_result.data.id
|
164
|
+
|
165
|
+
try:
|
166
|
+
waiter_result = oci.wait_until(
|
167
|
+
self.client,
|
168
|
+
self.client.get_scheduled_query(apm_domain_id, scheduled_query_id), # noqa: F821
|
169
|
+
evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
|
170
|
+
**waiter_kwargs
|
171
|
+
)
|
172
|
+
result_to_return = waiter_result
|
173
|
+
|
174
|
+
return result_to_return
|
175
|
+
except (NameError, TypeError) as e:
|
176
|
+
if not e.args:
|
177
|
+
e.args = ('',)
|
178
|
+
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"', )
|
179
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
180
|
+
except Exception as e:
|
181
|
+
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
|
oci/apm_traces/trace_client.py
CHANGED
@@ -159,7 +159,7 @@ class TraceClient(object):
|
|
159
159
|
:rtype: :class:`~oci.response.Response`
|
160
160
|
|
161
161
|
:example:
|
162
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
162
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/apmtraces/get_aggregated_snapshot.py.html>`__ to see an example of how to use get_aggregated_snapshot API.
|
163
163
|
"""
|
164
164
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
165
165
|
required_arguments = ['traceKey', 'apmDomainId']
|
@@ -243,6 +243,131 @@ class TraceClient(object):
|
|
243
243
|
api_reference_link=api_reference_link,
|
244
244
|
required_arguments=required_arguments)
|
245
245
|
|
246
|
+
def get_log(self, apm_domain_id, log_key, time_log_started_greater_than_or_equal_to, time_log_ended_less_than, **kwargs):
|
247
|
+
"""
|
248
|
+
Retrieve a log in the APM Domain.
|
249
|
+
|
250
|
+
|
251
|
+
:param str apm_domain_id: (required)
|
252
|
+
The APM Domain ID for the intended request.
|
253
|
+
|
254
|
+
:param str log_key: (required)
|
255
|
+
Log key.
|
256
|
+
|
257
|
+
:param datetime time_log_started_greater_than_or_equal_to: (required)
|
258
|
+
Include logs with log time equal to or greater than this value.
|
259
|
+
|
260
|
+
:param datetime time_log_ended_less_than: (required)
|
261
|
+
Include logs with log time less than this value.
|
262
|
+
|
263
|
+
:param str opc_request_id: (optional)
|
264
|
+
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a
|
265
|
+
particular request, please provide the request ID.
|
266
|
+
|
267
|
+
:param str opc_retry_token: (optional)
|
268
|
+
A token that uniquely identifies a request so it can be retried in case of a timeout or
|
269
|
+
server error without risk of executing that same action again. Retry tokens expire after 24
|
270
|
+
hours, but can be invalidated before then due to conflicting operations. For example, if a resource
|
271
|
+
has been deleted and purged from the system, then a retry of the original creation request
|
272
|
+
might be rejected.
|
273
|
+
|
274
|
+
:param obj retry_strategy: (optional)
|
275
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
276
|
+
|
277
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
|
278
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
279
|
+
|
280
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
281
|
+
|
282
|
+
:param bool allow_control_chars: (optional)
|
283
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
284
|
+
By default, the response will not allow control characters in strings
|
285
|
+
|
286
|
+
:return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_traces.models.Log`
|
287
|
+
:rtype: :class:`~oci.response.Response`
|
288
|
+
|
289
|
+
:example:
|
290
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/apmtraces/get_log.py.html>`__ to see an example of how to use get_log API.
|
291
|
+
"""
|
292
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
293
|
+
required_arguments = ['logKey', 'apmDomainId', 'timeLogStartedGreaterThanOrEqualTo', 'timeLogEndedLessThan']
|
294
|
+
resource_path = "/logs/{logKey}"
|
295
|
+
method = "GET"
|
296
|
+
operation_name = "get_log"
|
297
|
+
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-trace-explorer/20200630/Log/GetLog"
|
298
|
+
|
299
|
+
# Don't accept unknown kwargs
|
300
|
+
expected_kwargs = [
|
301
|
+
"allow_control_chars",
|
302
|
+
"retry_strategy",
|
303
|
+
"opc_request_id",
|
304
|
+
"opc_retry_token"
|
305
|
+
]
|
306
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
307
|
+
if extra_kwargs:
|
308
|
+
raise ValueError(
|
309
|
+
f"get_log got unknown kwargs: {extra_kwargs!r}")
|
310
|
+
|
311
|
+
path_params = {
|
312
|
+
"logKey": log_key
|
313
|
+
}
|
314
|
+
|
315
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
316
|
+
|
317
|
+
for (k, v) in six.iteritems(path_params):
|
318
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
319
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
320
|
+
|
321
|
+
query_params = {
|
322
|
+
"apmDomainId": apm_domain_id,
|
323
|
+
"timeLogStartedGreaterThanOrEqualTo": time_log_started_greater_than_or_equal_to,
|
324
|
+
"timeLogEndedLessThan": time_log_ended_less_than
|
325
|
+
}
|
326
|
+
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
|
327
|
+
|
328
|
+
header_params = {
|
329
|
+
"accept": "application/json",
|
330
|
+
"content-type": "application/json",
|
331
|
+
"opc-request-id": kwargs.get("opc_request_id", missing),
|
332
|
+
"opc-retry-token": kwargs.get("opc_retry_token", missing)
|
333
|
+
}
|
334
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
335
|
+
|
336
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
337
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
338
|
+
client_retry_strategy=self.retry_strategy
|
339
|
+
)
|
340
|
+
|
341
|
+
if retry_strategy:
|
342
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
343
|
+
self.base_client.add_opc_retry_token_if_needed(header_params)
|
344
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
345
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
346
|
+
return retry_strategy.make_retrying_call(
|
347
|
+
self.base_client.call_api,
|
348
|
+
resource_path=resource_path,
|
349
|
+
method=method,
|
350
|
+
path_params=path_params,
|
351
|
+
query_params=query_params,
|
352
|
+
header_params=header_params,
|
353
|
+
response_type="Log",
|
354
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
355
|
+
operation_name=operation_name,
|
356
|
+
api_reference_link=api_reference_link,
|
357
|
+
required_arguments=required_arguments)
|
358
|
+
else:
|
359
|
+
return self.base_client.call_api(
|
360
|
+
resource_path=resource_path,
|
361
|
+
method=method,
|
362
|
+
path_params=path_params,
|
363
|
+
query_params=query_params,
|
364
|
+
header_params=header_params,
|
365
|
+
response_type="Log",
|
366
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
367
|
+
operation_name=operation_name,
|
368
|
+
api_reference_link=api_reference_link,
|
369
|
+
required_arguments=required_arguments)
|
370
|
+
|
246
371
|
def get_span(self, apm_domain_id, span_key, trace_key, **kwargs):
|
247
372
|
"""
|
248
373
|
Gets the span details identified by spanId.
|
@@ -288,7 +413,7 @@ class TraceClient(object):
|
|
288
413
|
:rtype: :class:`~oci.response.Response`
|
289
414
|
|
290
415
|
:example:
|
291
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
416
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/apmtraces/get_span.py.html>`__ to see an example of how to use get_span API.
|
292
417
|
"""
|
293
418
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
294
419
|
required_arguments = ['spanKey', 'traceKey', 'apmDomainId']
|
@@ -394,10 +519,10 @@ class TraceClient(object):
|
|
394
519
|
particular request, please provide the request ID.
|
395
520
|
|
396
521
|
:param datetime time_trace_started_greater_than_or_equal_to: (optional)
|
397
|
-
Include traces that have a
|
522
|
+
Include traces that have a minTraceStartTime equal to or greater than this value.
|
398
523
|
|
399
524
|
:param datetime time_trace_started_less_than: (optional)
|
400
|
-
Include traces that have a
|
525
|
+
Include traces that have a minTraceStartTime less than this value.
|
401
526
|
|
402
527
|
:param str trace_namespace: (optional)
|
403
528
|
Name space from which the trace details need to be retrieved.
|
@@ -420,7 +545,7 @@ class TraceClient(object):
|
|
420
545
|
:rtype: :class:`~oci.response.Response`
|
421
546
|
|
422
547
|
:example:
|
423
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
548
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/apmtraces/get_trace.py.html>`__ to see an example of how to use get_trace API.
|
424
549
|
"""
|
425
550
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
426
551
|
required_arguments = ['traceKey', 'apmDomainId']
|
@@ -549,7 +674,7 @@ class TraceClient(object):
|
|
549
674
|
:rtype: :class:`~oci.response.Response`
|
550
675
|
|
551
676
|
:example:
|
552
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
677
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/apmtraces/get_trace_snapshot.py.html>`__ to see an example of how to use get_trace_snapshot API.
|
553
678
|
"""
|
554
679
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
555
680
|
required_arguments = ['traceKey', 'apmDomainId']
|
@@ -152,7 +152,7 @@ class AppmgmtControlClient(object):
|
|
152
152
|
:rtype: :class:`~oci.response.Response`
|
153
153
|
|
154
154
|
:example:
|
155
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
155
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/activate_monitoring_plugin.py.html>`__ to see an example of how to use activate_monitoring_plugin API.
|
156
156
|
"""
|
157
157
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
158
158
|
required_arguments = ['monitoredInstanceId']
|
@@ -248,7 +248,7 @@ class AppmgmtControlClient(object):
|
|
248
248
|
:rtype: :class:`~oci.response.Response`
|
249
249
|
|
250
250
|
:example:
|
251
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
251
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/get_monitored_instance.py.html>`__ to see an example of how to use get_monitored_instance API.
|
252
252
|
"""
|
253
253
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
254
254
|
required_arguments = ['monitoredInstanceId']
|
@@ -346,7 +346,7 @@ class AppmgmtControlClient(object):
|
|
346
346
|
:rtype: :class:`~oci.response.Response`
|
347
347
|
|
348
348
|
:example:
|
349
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
349
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
350
350
|
"""
|
351
351
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
352
352
|
required_arguments = ['workRequestId']
|
@@ -463,7 +463,7 @@ class AppmgmtControlClient(object):
|
|
463
463
|
:rtype: :class:`~oci.response.Response`
|
464
464
|
|
465
465
|
:example:
|
466
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
466
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/list_monitored_instances.py.html>`__ to see an example of how to use list_monitored_instances API.
|
467
467
|
"""
|
468
468
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
469
469
|
required_arguments = ['compartmentId']
|
@@ -586,7 +586,7 @@ class AppmgmtControlClient(object):
|
|
586
586
|
:rtype: :class:`~oci.response.Response`
|
587
587
|
|
588
588
|
:example:
|
589
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
589
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
590
590
|
"""
|
591
591
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
592
592
|
required_arguments = ['workRequestId']
|
@@ -700,7 +700,7 @@ class AppmgmtControlClient(object):
|
|
700
700
|
:rtype: :class:`~oci.response.Response`
|
701
701
|
|
702
702
|
:example:
|
703
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
703
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
704
704
|
"""
|
705
705
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
706
706
|
required_arguments = ['workRequestId']
|
@@ -817,7 +817,7 @@ class AppmgmtControlClient(object):
|
|
817
817
|
:rtype: :class:`~oci.response.Response`
|
818
818
|
|
819
819
|
:example:
|
820
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
820
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
821
821
|
"""
|
822
822
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
823
823
|
required_arguments = ['compartmentId']
|
@@ -923,7 +923,7 @@ class AppmgmtControlClient(object):
|
|
923
923
|
:rtype: :class:`~oci.response.Response`
|
924
924
|
|
925
925
|
:example:
|
926
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
926
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.155.0/appmgmtcontrol/publish_top_processes_metrics.py.html>`__ to see an example of how to use publish_top_processes_metrics API.
|
927
927
|
"""
|
928
928
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
929
929
|
required_arguments = ['monitoredInstanceId']
|