oci 2.150.3__py3-none-any.whl → 2.152.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 -5
- oci/access_governance_cp/access_governance_cp_client.py +8 -8
- oci/addons/__init__.py +20 -0
- oci/addons/adk/__init__.py +13 -0
- oci/addons/adk/agent.py +852 -0
- oci/addons/adk/agent_client.py +682 -0
- oci/addons/adk/agent_error.py +36 -0
- oci/addons/adk/auth/__init__.py +3 -0
- oci/addons/adk/auth/auth_provider.py +28 -0
- oci/addons/adk/auth/factory.py +78 -0
- oci/addons/adk/auth/oci/__init__.py +3 -0
- oci/addons/adk/auth/oci/instance_principal.py +53 -0
- oci/addons/adk/auth/oci/resource_principal.py +53 -0
- oci/addons/adk/auth/oci/session.py +91 -0
- oci/addons/adk/auth/oci/user_principal.py +64 -0
- oci/addons/adk/constants.py +17 -0
- oci/addons/adk/logger.py +163 -0
- oci/addons/adk/run/__init__.py +3 -0
- oci/addons/adk/run/response.py +56 -0
- oci/addons/adk/run/types.py +32 -0
- oci/addons/adk/tool/__init__.py +13 -0
- oci/addons/adk/tool/function_tool.py +334 -0
- oci/addons/adk/tool/prebuilt/__init__.py +8 -0
- oci/addons/adk/tool/prebuilt/agentic_rag_tool.py +49 -0
- oci/addons/adk/tool/prebuilt/calculator_toolkit.py +104 -0
- oci/addons/adk/tool/tool.py +37 -0
- oci/addons/adk/tool/toolkit.py +189 -0
- oci/addons/adk/tool/utils.py +120 -0
- oci/addons/adk/util.py +325 -0
- oci/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +26 -26
- oci/ai_language/ai_service_language_client.py +44 -44
- oci/ai_speech/ai_service_speech_client.py +19 -19
- oci/ai_vision/ai_service_vision_client.py +28 -28
- oci/analytics/analytics_client.py +24 -24
- oci/announcements_service/announcement_client.py +5 -5
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/announcements_service/service_client.py +1 -1
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +12 -12
- oci/apm_control_plane/apm_domain_client.py +14 -14
- oci/apm_synthetics/apm_synthetic_client.py +28 -28
- oci/apm_traces/attributes_client.py +8 -8
- oci/apm_traces/query_client.py +2 -2
- oci/apm_traces/trace_client.py +4 -4
- oci/appmgmt_control/appmgmt_control_client.py +8 -8
- oci/artifacts/artifacts_client.py +32 -32
- oci/audit/audit_client.py +3 -3
- oci/autoscaling/auto_scaling_client.py +11 -11
- oci/bastion/bastion_client.py +15 -15
- oci/bds/bds_client.py +84 -84
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +32 -32
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +6 -6
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +15 -15
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +155 -155
- oci/cloud_migrations/migration_client.py +43 -43
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +13 -13
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +46 -46
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +60 -60
- oci/core/compute_client.py +117 -117
- 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 +606 -427
- oci/database/models/__init__.py +4 -0
- oci/database/models/system_version_minor_version_collection.py +70 -0
- oci/database/models/system_version_minor_version_summary.py +70 -0
- oci/database_management/db_management_client.py +356 -230
- oci/database_management/db_management_client_composite_operations.py +44 -0
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -247
- oci/database_management/models/__init__.py +0 -4
- oci/database_management/models/database_diagnostics_and_management_feature_details.py +35 -4
- oci/database_management/models/disable_database_management_feature_details.py +33 -2
- oci/database_management/models/disable_external_container_database_management_feature_details.py +33 -2
- oci/database_management/models/discovered_external_database.py +64 -2
- oci/database_management/models/exadata_infrastructure_lifecycle_state_values.py +40 -36
- oci/database_management/models/external_database_diagnostics_and_management_feature_details.py +64 -2
- oci/database_management/models/managed_database.py +2 -4
- oci/database_management/models/managed_database_summary.py +2 -4
- oci/database_management/models/modify_database_management_feature_details.py +1 -1
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +42 -42
- oci/database_migration/models/migration.py +7 -3
- oci/database_migration/models/migration_job_progress_resource.py +7 -3
- oci/database_migration/models/migration_job_progress_summary.py +7 -3
- oci/database_migration/models/migration_phase_summary.py +7 -3
- oci/database_migration/models/my_sql_migration.py +1 -1
- oci/database_migration/models/oracle_migration.py +1 -1
- oci/database_migration/models/parameter_file_version.py +1 -1
- oci/database_migration/models/parameter_file_version_collection.py +3 -3
- oci/database_migration/models/parameter_file_version_summary.py +1 -1
- oci/database_migration/models/phase_status.py +7 -3
- oci/database_migration/models/resume_job_details.py +7 -3
- oci/database_migration/models/start_migration_details.py +7 -3
- oci/database_migration/models/update_oracle_migration_details.py +2 -2
- oci/database_tools/database_tools_client.py +23 -23
- oci/dblm/db_life_cycle_management_client.py +14 -14
- 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/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/__init__.py +8 -2
- oci/fleet_apps_management/fleet_apps_management_admin_client.py +396 -84
- oci/fleet_apps_management/fleet_apps_management_admin_client_composite_operations.py +92 -11
- oci/fleet_apps_management/fleet_apps_management_catalog_client.py +969 -0
- oci/fleet_apps_management/fleet_apps_management_catalog_client_composite_operations.py +246 -0
- oci/fleet_apps_management/fleet_apps_management_client.py +248 -670
- oci/fleet_apps_management/fleet_apps_management_client_composite_operations.py +49 -7
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client.py +17 -14
- oci/fleet_apps_management/fleet_apps_management_maintenance_window_client_composite_operations.py +1 -1
- oci/fleet_apps_management/fleet_apps_management_operations_client.py +597 -98
- oci/fleet_apps_management/fleet_apps_management_operations_client_composite_operations.py +46 -4
- oci/fleet_apps_management/fleet_apps_management_provision_client.py +814 -0
- oci/fleet_apps_management/fleet_apps_management_provision_client_composite_operations.py +202 -0
- oci/fleet_apps_management/fleet_apps_management_runbooks_client.py +952 -135
- oci/fleet_apps_management/fleet_apps_management_runbooks_client_composite_operations.py +218 -6
- oci/fleet_apps_management/fleet_apps_management_work_request_client.py +656 -0
- oci/fleet_apps_management/fleet_apps_management_work_request_client_composite_operations.py +26 -0
- oci/fleet_apps_management/models/__init__.py +155 -5
- oci/fleet_apps_management/models/action_group.py +62 -233
- oci/fleet_apps_management/models/action_group_based_user_action_details.py +2 -2
- oci/fleet_apps_management/models/action_group_details.py +57 -141
- oci/fleet_apps_management/models/activity_resource_target.py +1 -1
- oci/fleet_apps_management/models/announcement_collection.py +3 -3
- oci/fleet_apps_management/models/announcement_summary.py +5 -5
- oci/fleet_apps_management/models/api_based_execution_details.py +2 -2
- oci/fleet_apps_management/models/artifact_details.py +1 -1
- oci/fleet_apps_management/models/associated_fleet_credential_details.py +3 -3
- oci/fleet_apps_management/models/associated_fleet_property_details.py +3 -3
- oci/fleet_apps_management/models/associated_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/associated_local_task_details.py +2 -2
- oci/fleet_apps_management/models/associated_scheduler_definition.py +1 -32
- oci/fleet_apps_management/models/associated_shared_task_details.py +1 -1
- oci/fleet_apps_management/models/associated_task_details.py +1 -1
- oci/fleet_apps_management/models/catalog_content_details.py +80 -0
- oci/fleet_apps_management/models/catalog_git_result_config.py +153 -0
- oci/fleet_apps_management/models/catalog_git_source_config.py +152 -0
- oci/fleet_apps_management/models/catalog_item.py +874 -0
- oci/fleet_apps_management/models/catalog_item_collection.py +70 -0
- oci/fleet_apps_management/models/catalog_item_summary.py +689 -0
- oci/fleet_apps_management/models/catalog_marketplace_source_config.py +117 -0
- oci/fleet_apps_management/models/catalog_par_result_config.py +126 -0
- oci/fleet_apps_management/models/catalog_par_source_config.py +218 -0
- oci/fleet_apps_management/models/catalog_result_payload.py +146 -0
- oci/fleet_apps_management/models/catalog_source_payload.py +130 -0
- oci/fleet_apps_management/models/catalog_source_template_config.py +179 -0
- oci/fleet_apps_management/models/catalog_template_result_config.py +87 -0
- oci/fleet_apps_management/models/change_catalog_item_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_fleet_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_patch_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_platform_configuration_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_property_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_provision_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_runbook_compartment_details.py +74 -0
- oci/fleet_apps_management/models/change_task_record_compartment_details.py +74 -0
- oci/fleet_apps_management/models/check_resource_tagging_details.py +3 -3
- oci/fleet_apps_management/models/clone_catalog_item_details.py +105 -0
- oci/fleet_apps_management/models/compliance_detail_policy.py +1 -1
- oci/fleet_apps_management/models/compliance_detail_product.py +2 -2
- oci/fleet_apps_management/models/compliance_detail_resource.py +3 -3
- oci/fleet_apps_management/models/compliance_detail_target.py +2 -2
- oci/fleet_apps_management/models/compliance_patch_detail.py +2 -2
- oci/fleet_apps_management/models/compliance_policy.py +49 -2
- oci/fleet_apps_management/models/compliance_policy_collection.py +3 -3
- oci/fleet_apps_management/models/compliance_policy_rule.py +16 -16
- oci/fleet_apps_management/models/compliance_policy_rule_collection.py +1 -1
- oci/fleet_apps_management/models/compliance_policy_rule_summary.py +16 -16
- oci/fleet_apps_management/models/compliance_policy_summary.py +32 -1
- oci/fleet_apps_management/models/compliance_record.py +102 -3
- oci/fleet_apps_management/models/compliance_record_aggregation.py +3 -3
- oci/fleet_apps_management/models/compliance_record_aggregation_collection.py +1 -1
- oci/fleet_apps_management/models/compliance_record_collection.py +1 -1
- oci/fleet_apps_management/models/compliance_record_dimension.py +1 -1
- oci/fleet_apps_management/models/compliance_record_summary.py +102 -3
- oci/fleet_apps_management/models/compliance_report.py +32 -1
- oci/fleet_apps_management/models/compliance_report_patch_detail.py +1 -1
- oci/fleet_apps_management/models/compliance_report_product.py +1 -1
- oci/fleet_apps_management/models/compliance_report_resource.py +1 -1
- oci/fleet_apps_management/models/compliance_report_target.py +1 -1
- oci/fleet_apps_management/models/component_properties.py +20 -30
- oci/fleet_apps_management/models/condition.py +1 -1
- oci/fleet_apps_management/models/config_association_details.py +1 -1
- oci/fleet_apps_management/models/config_category_details.py +20 -4
- oci/fleet_apps_management/models/config_file_details.py +99 -0
- oci/fleet_apps_management/models/confirm_targets_details.py +1 -1
- oci/fleet_apps_management/models/content_details.py +12 -4
- oci/fleet_apps_management/models/create_catalog_item_details.py +452 -0
- oci/fleet_apps_management/models/create_compliance_policy_rule_details.py +17 -48
- oci/fleet_apps_management/models/create_fleet_credential_details.py +1 -32
- oci/fleet_apps_management/models/create_fleet_details.py +112 -151
- oci/fleet_apps_management/models/create_fleet_property_details.py +1 -32
- oci/fleet_apps_management/models/create_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/create_maintenance_window_details.py +4 -78
- oci/fleet_apps_management/models/create_onboarding_details.py +1 -1
- oci/fleet_apps_management/models/create_patch_details.py +1 -1
- oci/fleet_apps_management/models/create_platform_configuration_details.py +4 -4
- oci/fleet_apps_management/models/create_property_details.py +4 -4
- oci/fleet_apps_management/models/create_provision_details.py +431 -0
- oci/fleet_apps_management/models/create_runbook_details.py +53 -53
- oci/fleet_apps_management/models/create_runbook_version_details.py +252 -0
- oci/fleet_apps_management/models/create_scheduler_definition_details.py +3 -34
- oci/fleet_apps_management/models/create_task_record_details.py +3 -3
- oci/fleet_apps_management/models/credential_config_category_details.py +2 -2
- oci/fleet_apps_management/models/credential_details.py +1 -1
- oci/fleet_apps_management/models/credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/custom_schedule.py +118 -0
- oci/fleet_apps_management/models/dependent_patch_details.py +1 -1
- oci/fleet_apps_management/models/deployed_resource_details.py +200 -0
- oci/fleet_apps_management/models/details.py +35 -4
- oci/fleet_apps_management/models/discovered_target.py +1 -1
- oci/fleet_apps_management/models/dynamic_resource_selection.py +76 -0
- oci/fleet_apps_management/models/enable_latest_policy_details.py +1 -1
- oci/fleet_apps_management/models/entity_execution_details.py +1 -1
- oci/fleet_apps_management/models/environment_config_category_details.py +2 -2
- oci/fleet_apps_management/models/environment_fleet_details.py +49 -0
- oci/fleet_apps_management/models/execution.py +32 -1
- oci/fleet_apps_management/models/execution_collection.py +1 -1
- oci/fleet_apps_management/models/execution_details.py +12 -4
- oci/fleet_apps_management/models/execution_summary.py +32 -1
- oci/fleet_apps_management/models/execution_workflow_details.py +1 -1
- oci/fleet_apps_management/models/export_compliance_report_details.py +2 -2
- oci/fleet_apps_management/models/file_input_argument.py +63 -0
- oci/fleet_apps_management/models/file_task_argument.py +83 -0
- oci/fleet_apps_management/models/fleet.py +80 -208
- oci/fleet_apps_management/models/fleet_based_action_group.py +186 -0
- oci/fleet_apps_management/models/fleet_based_action_group_details.py +223 -0
- oci/fleet_apps_management/models/fleet_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_credential.py +3 -3
- oci/fleet_apps_management/models/fleet_credential_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/fleet_credential_summary.py +3 -3
- oci/fleet_apps_management/models/fleet_details.py +131 -0
- oci/fleet_apps_management/models/fleet_product_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_product_summary.py +1 -1
- oci/fleet_apps_management/models/fleet_property.py +4 -4
- oci/fleet_apps_management/models/fleet_property_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_property_summary.py +3 -3
- oci/fleet_apps_management/models/fleet_resource.py +32 -34
- oci/fleet_apps_management/models/fleet_resource_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_resource_summary.py +32 -34
- oci/fleet_apps_management/models/fleet_summary.py +20 -32
- oci/fleet_apps_management/models/fleet_target.py +3 -3
- oci/fleet_apps_management/models/fleet_target_collection.py +1 -1
- oci/fleet_apps_management/models/fleet_target_summary.py +3 -3
- oci/fleet_apps_management/models/generate_compliance_report_details.py +1 -1
- oci/fleet_apps_management/models/generic_artifact.py +5 -5
- oci/fleet_apps_management/models/generic_artifact_details.py +1 -1
- oci/fleet_apps_management/models/generic_fleet_details.py +49 -0
- oci/fleet_apps_management/models/group.py +1 -1
- oci/fleet_apps_management/models/group_fleet_details.py +49 -0
- oci/fleet_apps_management/models/input_argument.py +12 -4
- oci/fleet_apps_management/models/input_file_content_details.py +99 -0
- oci/fleet_apps_management/models/input_file_object_storage_bucket_content_details.py +174 -0
- oci/fleet_apps_management/models/input_parameter.py +1 -1
- oci/fleet_apps_management/models/instance_summary.py +140 -0
- oci/fleet_apps_management/models/inventory_record.py +547 -0
- oci/fleet_apps_management/models/inventory_record_collection.py +70 -0
- oci/fleet_apps_management/models/inventory_record_component.py +163 -0
- oci/fleet_apps_management/models/inventory_record_patch_details.py +194 -0
- oci/fleet_apps_management/models/inventory_record_property.py +101 -0
- oci/fleet_apps_management/models/inventory_record_summary.py +535 -0
- oci/fleet_apps_management/models/inventory_resource_collection.py +1 -1
- oci/fleet_apps_management/models/inventory_resource_summary.py +1 -1
- oci/fleet_apps_management/models/job_activity.py +32 -1
- oci/fleet_apps_management/models/job_execution_details.py +194 -0
- oci/fleet_apps_management/models/key_encryption_credential_details.py +1 -1
- oci/fleet_apps_management/models/lifecycle_operation_config_category_details.py +49 -0
- oci/fleet_apps_management/models/maintenance_window.py +3 -77
- oci/fleet_apps_management/models/maintenance_window_collection.py +1 -1
- oci/fleet_apps_management/models/maintenance_window_schedule.py +87 -0
- oci/fleet_apps_management/models/maintenance_window_summary.py +3 -77
- oci/fleet_apps_management/models/manage_job_execution_details.py +1 -1
- oci/fleet_apps_management/models/manage_settings_details.py +1 -1
- oci/fleet_apps_management/models/managed_entity_aggregation.py +3 -3
- oci/fleet_apps_management/models/managed_entity_aggregation_collection.py +1 -1
- oci/fleet_apps_management/models/managed_entity_dimension.py +1 -1
- oci/fleet_apps_management/models/manual_resource_selection.py +49 -0
- oci/fleet_apps_management/models/model_property.py +10 -6
- oci/fleet_apps_management/models/{notification_preferences.py → notification_preference.py} +18 -18
- oci/fleet_apps_management/models/object_storage_bucket_config_file_details.py +174 -0
- oci/fleet_apps_management/models/object_storage_bucket_content_details.py +2 -2
- oci/fleet_apps_management/models/onboarding.py +69 -3
- oci/fleet_apps_management/models/onboarding_collection.py +1 -1
- oci/fleet_apps_management/models/onboarding_policy_collection.py +1 -1
- oci/fleet_apps_management/models/onboarding_policy_summary.py +1 -1
- oci/fleet_apps_management/models/onboarding_summary.py +69 -3
- oci/fleet_apps_management/models/operation_runbook.py +47 -16
- oci/fleet_apps_management/models/outcome.py +1 -1
- oci/fleet_apps_management/models/output_variable_details.py +1 -1
- oci/fleet_apps_management/models/output_variable_input_argument.py +2 -2
- oci/fleet_apps_management/models/output_variable_mapping.py +1 -1
- oci/fleet_apps_management/models/patch.py +1 -1
- oci/fleet_apps_management/models/patch_collection.py +1 -1
- oci/fleet_apps_management/models/patch_file_content_details.py +99 -0
- oci/fleet_apps_management/models/patch_file_object_storage_bucket_content_details.py +174 -0
- oci/fleet_apps_management/models/patch_level_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_name_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_product.py +2 -2
- oci/fleet_apps_management/models/patch_release_date_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_selection_details.py +1 -1
- oci/fleet_apps_management/models/patch_summary.py +1 -1
- oci/fleet_apps_management/models/patch_type.py +1 -1
- oci/fleet_apps_management/models/patch_type_config_category_details.py +2 -2
- oci/fleet_apps_management/models/pause_details.py +1 -1
- oci/fleet_apps_management/models/plain_text_credential_details.py +1 -1
- oci/fleet_apps_management/models/platform_configuration.py +10 -6
- oci/fleet_apps_management/models/platform_configuration_collection.py +1 -1
- oci/fleet_apps_management/models/platform_configuration_summary.py +3 -3
- oci/fleet_apps_management/models/platform_specific_artifact.py +5 -5
- oci/fleet_apps_management/models/platform_specific_artifact_details.py +2 -2
- oci/fleet_apps_management/models/preferences.py +175 -24
- oci/fleet_apps_management/models/previous_task_instance_details.py +128 -0
- oci/fleet_apps_management/models/previous_task_instance_run_on_details.py +80 -0
- oci/fleet_apps_management/models/product_config_category_details.py +2 -2
- oci/fleet_apps_management/models/product_fleet_details.py +49 -0
- oci/fleet_apps_management/models/product_stack_as_product_sub_category_details.py +1 -1
- oci/fleet_apps_management/models/product_stack_config_category_details.py +2 -2
- oci/fleet_apps_management/models/product_stack_generic_sub_category_details.py +1 -1
- oci/fleet_apps_management/models/product_stack_sub_category_details.py +1 -1
- oci/fleet_apps_management/models/product_version_details.py +1 -1
- oci/fleet_apps_management/models/properties.py +1 -1
- oci/fleet_apps_management/models/property_collection.py +1 -1
- oci/fleet_apps_management/models/property_summary.py +3 -3
- oci/fleet_apps_management/models/provision.py +997 -0
- oci/fleet_apps_management/models/provision_collection.py +70 -0
- oci/fleet_apps_management/models/provision_summary.py +738 -0
- oci/fleet_apps_management/models/publish_runbook_details.py +34 -3
- oci/fleet_apps_management/models/request_resource_validation_details.py +1 -1
- oci/fleet_apps_management/models/request_target_discovery_details.py +1 -1
- oci/fleet_apps_management/models/resource_collection.py +1 -1
- oci/fleet_apps_management/models/resource_credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/resource_selection.py +109 -0
- oci/fleet_apps_management/models/resource_summary.py +1 -1
- oci/fleet_apps_management/models/resource_tag_check_details.py +1 -1
- oci/fleet_apps_management/models/resource_tag_enablement_info.py +1 -1
- oci/fleet_apps_management/models/rollback_workflow_details.py +1 -1
- oci/fleet_apps_management/models/rule.py +3 -3
- oci/fleet_apps_management/models/run_on_details.py +115 -0
- oci/fleet_apps_management/models/runbook.py +116 -69
- oci/fleet_apps_management/models/runbook_collection.py +1 -1
- oci/fleet_apps_management/models/runbook_summary.py +65 -34
- oci/fleet_apps_management/models/runbook_version.py +542 -0
- oci/fleet_apps_management/models/runbook_version_collection.py +70 -0
- oci/fleet_apps_management/models/runbook_version_summary.py +533 -0
- oci/fleet_apps_management/models/schedule.py +25 -97
- oci/fleet_apps_management/models/schedule_instance_run_on_details.py +80 -0
- oci/fleet_apps_management/models/scheduled_fleet_collection.py +1 -1
- oci/fleet_apps_management/models/scheduled_fleet_summary.py +35 -82
- oci/fleet_apps_management/models/scheduler_definition.py +3 -112
- oci/fleet_apps_management/models/scheduler_definition_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_definition_summary.py +5 -83
- oci/fleet_apps_management/models/scheduler_execution_collection.py +70 -0
- oci/fleet_apps_management/models/scheduler_execution_summary.py +753 -0
- oci/fleet_apps_management/models/scheduler_job.py +40 -102
- oci/fleet_apps_management/models/scheduler_job_aggregation.py +3 -3
- oci/fleet_apps_management/models/scheduler_job_aggregation_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_collection.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_dimension.py +1 -1
- oci/fleet_apps_management/models/scheduler_job_summary.py +18 -96
- oci/fleet_apps_management/models/script_based_execution_details.py +66 -4
- oci/fleet_apps_management/models/selection_criteria.py +1 -1
- oci/fleet_apps_management/models/self_hosted_instance_config_category_details.py +117 -0
- oci/fleet_apps_management/models/self_hosted_instance_run_on_details.py +80 -0
- oci/fleet_apps_management/models/set_default_runbook_details.py +1 -1
- oci/fleet_apps_management/models/step_based_user_action_details.py +2 -2
- oci/fleet_apps_management/models/step_collection.py +1 -1
- oci/fleet_apps_management/models/step_summary.py +11 -11
- oci/fleet_apps_management/models/string_input_argument.py +2 -2
- oci/fleet_apps_management/models/string_task_argument.py +87 -0
- oci/fleet_apps_management/models/target_credential_entity_specific_details.py +1 -1
- oci/fleet_apps_management/models/target_resource.py +1 -1
- oci/fleet_apps_management/models/task.py +1 -44
- oci/fleet_apps_management/models/task_argument.py +71 -34
- oci/fleet_apps_management/models/task_notification_preferences.py +1 -1
- oci/fleet_apps_management/models/task_record.py +6 -6
- oci/fleet_apps_management/models/task_record_collection.py +4 -4
- oci/fleet_apps_management/models/task_record_summary.py +6 -6
- oci/fleet_apps_management/models/task_variable.py +1 -1
- oci/fleet_apps_management/models/terraform_based_execution_details.py +173 -0
- oci/fleet_apps_management/models/time_based_pause_details.py +1 -1
- oci/fleet_apps_management/models/upcoming_schedule.py +101 -0
- oci/fleet_apps_management/models/update_catalog_item_details.py +229 -0
- oci/fleet_apps_management/models/update_compliance_policy_rule_details.py +16 -16
- oci/fleet_apps_management/models/update_fleet_credential_details.py +1 -1
- oci/fleet_apps_management/models/update_fleet_details.py +69 -32
- oci/fleet_apps_management/models/update_fleet_property_details.py +1 -1
- oci/fleet_apps_management/models/update_fleet_resource_details.py +1 -1
- oci/fleet_apps_management/models/update_maintenance_window_details.py +1 -75
- oci/fleet_apps_management/models/update_onboarding_details.py +1 -1
- oci/fleet_apps_management/models/update_patch_details.py +1 -32
- oci/fleet_apps_management/models/update_platform_configuration_details.py +1 -1
- oci/fleet_apps_management/models/update_property_details.py +1 -1
- oci/fleet_apps_management/models/update_provision_details.py +167 -0
- oci/fleet_apps_management/models/update_runbook_details.py +24 -51
- oci/fleet_apps_management/models/update_runbook_version_details.py +155 -0
- oci/fleet_apps_management/models/update_scheduler_definition_details.py +1 -32
- oci/fleet_apps_management/models/update_scheduler_job_details.py +1 -1
- oci/fleet_apps_management/models/update_task_record_details.py +2 -2
- oci/fleet_apps_management/models/user_action_based_pause_details.py +1 -1
- oci/fleet_apps_management/models/user_action_details.py +12 -4
- oci/fleet_apps_management/models/variable.py +1 -1
- oci/fleet_apps_management/models/vault_secret_credential_details.py +1 -1
- oci/fleet_apps_management/models/{associations.py → version.py} +62 -31
- oci/fleet_apps_management/models/work_request.py +84 -4
- oci/fleet_apps_management/models/work_request_error.py +1 -1
- oci/fleet_apps_management/models/work_request_error_collection.py +1 -1
- oci/fleet_apps_management/models/work_request_log_entry.py +1 -1
- oci/fleet_apps_management/models/work_request_log_entry_collection.py +1 -1
- oci/fleet_apps_management/models/work_request_resource.py +1 -1
- oci/fleet_apps_management/models/work_request_summary.py +84 -4
- oci/fleet_apps_management/models/work_request_summary_collection.py +1 -1
- oci/fleet_apps_management/models/workflow_component.py +1 -1
- oci/fleet_apps_management/models/workflow_group.py +1 -1
- oci/fleet_apps_management/models/workflow_group_component.py +1 -1
- oci/fleet_apps_management/models/workflow_task_component.py +1 -1
- oci/fleet_software_update/fleet_software_update_client.py +46 -46
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/fusion_applications_client.py +41 -41
- oci/generative_ai/generative_ai_client.py +22 -22
- oci/generative_ai/models/create_dedicated_ai_cluster_details.py +4 -0
- oci/generative_ai/models/dedicated_ai_cluster.py +11 -3
- 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 +58 -58
- 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/lockbox/lockbox_client.py +24 -24
- oci/log_analytics/log_analytics_client.py +1358 -250
- oci/log_analytics/models/__init__.py +38 -0
- oci/log_analytics/models/abstract_command_descriptor.py +11 -3
- oci/log_analytics/models/add_fields_command_descriptor.py +1 -1
- oci/log_analytics/models/add_insights_command_descriptor.py +1 -1
- oci/log_analytics/models/anomaly_command_descriptor.py +1 -1
- oci/log_analytics/models/auto_schedule.py +64 -0
- oci/log_analytics/models/bottom_command_descriptor.py +1 -1
- oci/log_analytics/models/bucket_command_descriptor.py +1 -1
- oci/log_analytics/models/change_lookup_compartment_details.py +70 -0
- oci/log_analytics/models/classify_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_compare_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_details_command_descriptor.py +1 -1
- oci/log_analytics/models/cluster_split_command_descriptor.py +1 -1
- oci/log_analytics/models/command_descriptor.py +1 -1
- oci/log_analytics/models/compare_command_descriptor.py +1 -1
- oci/log_analytics/models/create_log_analytics_object_collection_rule_details.py +134 -1
- oci/log_analytics/models/create_standard_task_details.py +1 -1
- oci/log_analytics/models/create_table_command_descriptor.py +1 -1
- oci/log_analytics/models/create_view_command_descriptor.py +1 -1
- oci/log_analytics/models/cron_schedule.py +3 -3
- oci/log_analytics/models/dedup_command_descriptor.py +1 -1
- oci/log_analytics/models/delete_command_descriptor.py +1 -1
- oci/log_analytics/models/delta_command_descriptor.py +1 -1
- oci/log_analytics/models/demo_mode_command_descriptor.py +1 -1
- oci/log_analytics/models/dependency.py +64 -2
- oci/log_analytics/models/dependent_parser.py +1 -1
- oci/log_analytics/models/dependent_source.py +1 -1
- oci/log_analytics/models/distinct_command_descriptor.py +1 -1
- oci/log_analytics/models/estimate_recall_data_size_result.py +64 -2
- oci/log_analytics/models/eval_command_descriptor.py +1 -1
- oci/log_analytics/models/event_stats_command_descriptor.py +1 -1
- oci/log_analytics/models/export_details.py +7 -3
- oci/log_analytics/models/extract_command_descriptor.py +1 -1
- oci/log_analytics/models/field_summary_command_descriptor.py +1 -1
- oci/log_analytics/models/fields_command_descriptor.py +1 -1
- oci/log_analytics/models/fixed_frequency_schedule.py +2 -2
- oci/log_analytics/models/frequent_command_descriptor.py +1 -1
- oci/log_analytics/models/generic_condition_block.py +251 -0
- oci/log_analytics/models/geo_stats_command_descriptor.py +1 -1
- oci/log_analytics/models/head_command_descriptor.py +1 -1
- oci/log_analytics/models/highlight_command_descriptor.py +1 -1
- oci/log_analytics/models/highlight_groups_command_descriptor.py +1 -1
- oci/log_analytics/models/highlight_rows_command_descriptor.py +1 -1
- oci/log_analytics/models/json_extract_command_descriptor.py +1 -1
- oci/log_analytics/models/link_command_descriptor.py +1 -1
- oci/log_analytics/models/link_details_command_descriptor.py +1 -1
- oci/log_analytics/models/log_analytics_entity.py +33 -2
- oci/log_analytics/models/log_analytics_entity_summary.py +33 -2
- oci/log_analytics/models/log_analytics_entity_topology_link.py +64 -2
- oci/log_analytics/models/log_analytics_field.py +64 -2
- oci/log_analytics/models/log_analytics_field_summary.py +64 -2
- oci/log_analytics/models/log_analytics_field_usages.py +101 -0
- oci/log_analytics/models/log_analytics_lookup.py +136 -2
- oci/log_analytics/models/log_analytics_object_collection_rule.py +164 -0
- oci/log_analytics/models/log_analytics_object_collection_rule_summary.py +31 -0
- oci/log_analytics/models/log_analytics_parser_field.py +33 -2
- oci/log_analytics/models/log_analytics_resource_category.py +64 -2
- oci/log_analytics/models/log_analytics_source_extended_field_definition.py +62 -4
- oci/log_analytics/models/log_analytics_template.py +594 -0
- oci/log_analytics/models/log_analytics_template_collection.py +70 -0
- oci/log_analytics/models/log_analytics_template_summary.py +439 -0
- oci/log_analytics/models/lookup_command_descriptor.py +1 -1
- oci/log_analytics/models/macro_command_descriptor.py +1 -1
- oci/log_analytics/models/map_command_descriptor.py +1 -1
- oci/log_analytics/models/metric_extraction.py +3 -3
- oci/log_analytics/models/module_command_descriptor.py +127 -3
- oci/log_analytics/models/multi_search_command_descriptor.py +1 -1
- oci/log_analytics/models/namespace.py +33 -2
- oci/log_analytics/models/namespace_summary.py +33 -2
- oci/log_analytics/models/nlp_command_descriptor.py +1 -1
- oci/log_analytics/models/outlier_command_descriptor.py +1 -1
- oci/log_analytics/models/overlapping_recall_summary.py +7 -3
- oci/log_analytics/models/parse_query_output.py +64 -2
- oci/log_analytics/models/parser_action.py +101 -0
- oci/log_analytics/models/parser_action_summary.py +132 -0
- oci/log_analytics/models/parser_action_summary_collection.py +70 -0
- oci/log_analytics/models/property_definition.py +195 -0
- oci/log_analytics/models/query_aggregation.py +89 -0
- oci/log_analytics/models/rare_command_descriptor.py +1 -1
- oci/log_analytics/models/recall_archived_data_details.py +35 -2
- oci/log_analytics/models/recall_definition.py +101 -0
- oci/log_analytics/models/recalled_data.py +40 -5
- oci/log_analytics/models/recalled_info.py +280 -0
- oci/log_analytics/models/recalled_info_collection.py +70 -0
- oci/log_analytics/models/regex_command_descriptor.py +1 -1
- oci/log_analytics/models/rename_command_descriptor.py +1 -1
- oci/log_analytics/models/schedule.py +11 -3
- oci/log_analytics/models/scheduled_task_summary.py +49 -2
- oci/log_analytics/models/search_command_descriptor.py +1 -1
- oci/log_analytics/models/search_lookup_command_descriptor.py +1 -1
- oci/log_analytics/models/sequence_command_descriptor.py +1 -1
- oci/log_analytics/models/sort_command_descriptor.py +1 -1
- oci/log_analytics/models/stats_command_descriptor.py +1 -1
- oci/log_analytics/models/stream_action.py +27 -0
- oci/log_analytics/models/tail_command_descriptor.py +1 -1
- oci/log_analytics/models/template_details.py +101 -0
- oci/log_analytics/models/template_facet.py +101 -0
- oci/log_analytics/models/template_params.py +101 -0
- oci/log_analytics/models/time_cluster_command_descriptor.py +1 -1
- oci/log_analytics/models/time_compare_command_descriptor.py +1 -1
- oci/log_analytics/models/time_stats_command_descriptor.py +1 -1
- oci/log_analytics/models/top_command_descriptor.py +1 -1
- oci/log_analytics/models/update_log_analytics_object_collection_rule_details.py +133 -0
- oci/log_analytics/models/update_lookup_metadata_details.py +68 -2
- oci/log_analytics/models/update_table_command_descriptor.py +122 -0
- oci/log_analytics/models/upsert_log_analytics_field_details.py +33 -2
- oci/log_analytics/models/usage_status_item.py +33 -2
- oci/log_analytics/models/variable_definition.py +214 -0
- oci/log_analytics/models/where_command_descriptor.py +1 -1
- oci/log_analytics/models/xml_extract_command_descriptor.py +1 -1
- 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 +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_private_offer/attachment_client.py +5 -5
- oci/marketplace_private_offer/offer_client.py +6 -6
- oci/marketplace_publisher/attachment_client.py +5 -5
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/marketplace_publisher/offer_client.py +6 -6
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/mngdmac/mac_device_client.py +3 -3
- oci/mngdmac/mac_order_client.py +11 -11
- oci/model_deployment/__init__.py +14 -0
- oci/model_deployment/model_deployment_client.py +331 -0
- oci/model_deployment/model_deployment_client_composite_operations.py +26 -0
- oci/model_deployment/models/__init__.py +14 -0
- oci/model_deployment/models/inference_result.py +70 -0
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +7 -7
- oci/mysql/db_system_client.py +17 -17
- oci/mysql/mysqlaas_client.py +7 -7
- oci/mysql/replicas_client.py +5 -5
- oci/mysql/work_requests_client.py +4 -4
- oci/network_firewall/network_firewall_client.py +86 -86
- oci/network_load_balancer/network_load_balancer_client.py +35 -35
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +55 -55
- oci/oce/oce_instance_client.py +10 -10
- oci/oci_control_center/occ_metrics_client.py +3 -3
- oci/ocvp/cluster_client.py +5 -5
- oci/ocvp/esxi_host_client.py +8 -8
- oci/ocvp/sddc_client.py +14 -14
- oci/ocvp/work_request_client.py +4 -4
- oci/oda/management_client.py +59 -59
- oci/oda/oda_client.py +17 -17
- oci/oda/odapackage_client.py +7 -7
- oci/onesubscription/billing_schedule_client.py +1 -1
- oci/onesubscription/commitment_client.py +2 -2
- oci/onesubscription/computed_usage_client.py +3 -3
- oci/onesubscription/invoice_summary_client.py +2 -2
- oci/onesubscription/organization_subscription_client.py +1 -1
- oci/onesubscription/ratecard_client.py +1 -1
- oci/onesubscription/subscribed_service_client.py +2 -2
- oci/onesubscription/subscription_client.py +1 -1
- oci/ons/notification_control_plane_client.py +6 -6
- oci/ons/notification_data_plane_client.py +10 -10
- oci/opa/opa_instance_client.py +13 -13
- oci/opensearch/models/__init__.py +2 -0
- oci/opensearch/models/create_opensearch_cluster_details.py +291 -0
- oci/opensearch/models/create_opensearch_cluster_pipeline_details.py +31 -0
- oci/opensearch/models/opensearch_cluster.py +291 -0
- oci/opensearch/models/opensearch_cluster_pipeline.py +31 -0
- oci/opensearch/models/opensearch_cluster_pipeline_summary.py +31 -0
- oci/opensearch/models/resize_opensearch_cluster_horizontal_details.py +31 -0
- oci/opensearch/models/resize_opensearch_cluster_vertical_details.py +217 -0
- oci/opensearch/models/shapes_details.py +70 -0
- oci/opensearch/models/update_cluster_specs_details.py +186 -0
- oci/opensearch/models/update_opensearch_cluster_pipeline_details.py +31 -0
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +87 -16
- 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 +15 -15
- oci/os_management/os_management_client.py +138 -138
- 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/redis_cluster_client.py +12 -12
- 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 +48 -48
- 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/work_requests/work_request_client.py +4 -4
- oci/zpr/zpr_client.py +15 -15
- {oci-2.150.3.dist-info → oci-2.152.0.dist-info}/METADATA +6 -1
- {oci-2.150.3.dist-info → oci-2.152.0.dist-info}/RECORD +756 -623
- oci/database_management/models/disable_external_mysql_associated_service_details.py +0 -144
- oci/database_management/models/enable_external_mysql_associated_service_details.py +0 -144
- {oci-2.150.3.dist-info → oci-2.152.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.150.3.dist-info → oci-2.152.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.150.3.dist-info → oci-2.152.0.dist-info}/WHEEL +0 -0
- {oci-2.150.3.dist-info → oci-2.152.0.dist-info}/top_level.txt +0 -0
oci/mngdmac/mac_device_client.py
CHANGED
@@ -151,7 +151,7 @@ class MacDeviceClient(object):
|
|
151
151
|
:rtype: :class:`~oci.response.Response`
|
152
152
|
|
153
153
|
:example:
|
154
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
154
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/get_mac_device.py.html>`__ to see an example of how to use get_mac_device API.
|
155
155
|
"""
|
156
156
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
157
157
|
required_arguments = ['macDeviceId', 'macOrderId']
|
@@ -297,7 +297,7 @@ class MacDeviceClient(object):
|
|
297
297
|
:rtype: :class:`~oci.response.Response`
|
298
298
|
|
299
299
|
:example:
|
300
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
300
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/list_mac_devices.py.html>`__ to see an example of how to use list_mac_devices API.
|
301
301
|
"""
|
302
302
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
303
303
|
required_arguments = ['macOrderId']
|
@@ -459,7 +459,7 @@ class MacDeviceClient(object):
|
|
459
459
|
:rtype: :class:`~oci.response.Response`
|
460
460
|
|
461
461
|
:example:
|
462
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
462
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/terminate_mac_device.py.html>`__ to see an example of how to use terminate_mac_device API.
|
463
463
|
"""
|
464
464
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
465
465
|
required_arguments = ['macDeviceId', 'macOrderId']
|
oci/mngdmac/mac_order_client.py
CHANGED
@@ -164,7 +164,7 @@ class MacOrderClient(object):
|
|
164
164
|
:rtype: :class:`~oci.response.Response`
|
165
165
|
|
166
166
|
:example:
|
167
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
167
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/cancel_mac_order.py.html>`__ to see an example of how to use cancel_mac_order API.
|
168
168
|
"""
|
169
169
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
170
170
|
required_arguments = ['macOrderId']
|
@@ -279,7 +279,7 @@ class MacOrderClient(object):
|
|
279
279
|
:rtype: :class:`~oci.response.Response`
|
280
280
|
|
281
281
|
:example:
|
282
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
282
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/cancel_work_request.py.html>`__ to see an example of how to use cancel_work_request API.
|
283
283
|
"""
|
284
284
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
285
285
|
required_arguments = ['workRequestId']
|
@@ -394,7 +394,7 @@ class MacOrderClient(object):
|
|
394
394
|
:rtype: :class:`~oci.response.Response`
|
395
395
|
|
396
396
|
:example:
|
397
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
397
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/change_mac_order_compartment.py.html>`__ to see an example of how to use change_mac_order_compartment API.
|
398
398
|
"""
|
399
399
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
400
400
|
required_arguments = ['macOrderId']
|
@@ -504,7 +504,7 @@ class MacOrderClient(object):
|
|
504
504
|
:rtype: :class:`~oci.response.Response`
|
505
505
|
|
506
506
|
:example:
|
507
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
507
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/create_mac_order.py.html>`__ to see an example of how to use create_mac_order API.
|
508
508
|
"""
|
509
509
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
510
510
|
required_arguments = []
|
@@ -600,7 +600,7 @@ class MacOrderClient(object):
|
|
600
600
|
:rtype: :class:`~oci.response.Response`
|
601
601
|
|
602
602
|
:example:
|
603
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
603
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/get_mac_order.py.html>`__ to see an example of how to use get_mac_order API.
|
604
604
|
"""
|
605
605
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
606
606
|
required_arguments = ['macOrderId']
|
@@ -703,7 +703,7 @@ class MacOrderClient(object):
|
|
703
703
|
:rtype: :class:`~oci.response.Response`
|
704
704
|
|
705
705
|
:example:
|
706
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
706
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
|
707
707
|
"""
|
708
708
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
709
709
|
required_arguments = ['workRequestId']
|
@@ -845,7 +845,7 @@ class MacOrderClient(object):
|
|
845
845
|
:rtype: :class:`~oci.response.Response`
|
846
846
|
|
847
847
|
:example:
|
848
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
848
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/list_mac_orders.py.html>`__ to see an example of how to use list_mac_orders API.
|
849
849
|
"""
|
850
850
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
851
851
|
required_arguments = []
|
@@ -1003,7 +1003,7 @@ class MacOrderClient(object):
|
|
1003
1003
|
:rtype: :class:`~oci.response.Response`
|
1004
1004
|
|
1005
1005
|
:example:
|
1006
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1006
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
|
1007
1007
|
"""
|
1008
1008
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1009
1009
|
required_arguments = ['workRequestId']
|
@@ -1158,7 +1158,7 @@ class MacOrderClient(object):
|
|
1158
1158
|
:rtype: :class:`~oci.response.Response`
|
1159
1159
|
|
1160
1160
|
:example:
|
1161
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1161
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
|
1162
1162
|
"""
|
1163
1163
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1164
1164
|
required_arguments = ['workRequestId']
|
@@ -1328,7 +1328,7 @@ class MacOrderClient(object):
|
|
1328
1328
|
:rtype: :class:`~oci.response.Response`
|
1329
1329
|
|
1330
1330
|
:example:
|
1331
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1331
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
|
1332
1332
|
"""
|
1333
1333
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1334
1334
|
required_arguments = []
|
@@ -1471,7 +1471,7 @@ class MacOrderClient(object):
|
|
1471
1471
|
:rtype: :class:`~oci.response.Response`
|
1472
1472
|
|
1473
1473
|
:example:
|
1474
|
-
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.
|
1474
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/mngdmac/update_mac_order.py.html>`__ to see an example of how to use update_mac_order API.
|
1475
1475
|
"""
|
1476
1476
|
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
1477
1477
|
required_arguments = ['macOrderId']
|
@@ -0,0 +1,14 @@
|
|
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: 20240424
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
|
10
|
+
from .model_deployment_client import ModelDeploymentClient
|
11
|
+
from .model_deployment_client_composite_operations import ModelDeploymentClientCompositeOperations
|
12
|
+
from . import models
|
13
|
+
|
14
|
+
__all__ = ["ModelDeploymentClient", "ModelDeploymentClientCompositeOperations", "models"]
|
@@ -0,0 +1,331 @@
|
|
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: 20240424
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
from oci._vendor import requests # noqa: F401
|
10
|
+
from oci._vendor import six
|
11
|
+
|
12
|
+
from oci import retry, circuit_breaker # noqa: F401
|
13
|
+
from oci.base_client import BaseClient
|
14
|
+
from oci.config import get_config_value_or_default, validate_config
|
15
|
+
from oci.signer import Signer
|
16
|
+
from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
|
17
|
+
from oci.exceptions import InvalidAlloyConfig
|
18
|
+
from oci.alloy import OCI_SDK_ENABLED_SERVICES_SET
|
19
|
+
from .models import model_deployment_type_mapping
|
20
|
+
missing = Sentinel("Missing")
|
21
|
+
|
22
|
+
|
23
|
+
class ModelDeploymentClient(object):
|
24
|
+
"""
|
25
|
+
Model deployments are a managed resource in the OCI Data Science service to use to deploy machine learning models as HTTP endpoints in OCI. Deploying machine learning models as web applications (HTTP API endpoints) serving predictions in real time is the most common way that models are productionized. HTTP endpoints are flexible and can serve requests for model predictions.
|
26
|
+
|
27
|
+
For more information, see [Model Deployments](https://docs.oracle.com/en-us/iaas/data-science/using/model-dep-about.htm)
|
28
|
+
"""
|
29
|
+
|
30
|
+
def __init__(self, config, **kwargs):
|
31
|
+
"""
|
32
|
+
Creates a new service client
|
33
|
+
|
34
|
+
:param dict config:
|
35
|
+
Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
|
36
|
+
The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
|
37
|
+
the dict using :py:meth:`~oci.config.validate_config`
|
38
|
+
|
39
|
+
:param str service_endpoint: (optional)
|
40
|
+
The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
|
41
|
+
not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
|
42
|
+
need to specify a service endpoint.
|
43
|
+
|
44
|
+
:param timeout: (optional)
|
45
|
+
The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
|
46
|
+
as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
|
47
|
+
a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
|
48
|
+
:type timeout: float or tuple(float, float)
|
49
|
+
|
50
|
+
:param signer: (optional)
|
51
|
+
The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
|
52
|
+
provided in the config parameter.
|
53
|
+
|
54
|
+
One use case for this parameter is for `Instance Principals authentication <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
|
55
|
+
by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
|
56
|
+
:type signer: :py:class:`~oci.signer.AbstractBaseSigner`
|
57
|
+
|
58
|
+
:param obj retry_strategy: (optional)
|
59
|
+
A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
|
60
|
+
Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
|
61
|
+
Any value provided at the operation level will override whatever is specified at the client level.
|
62
|
+
|
63
|
+
This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY`
|
64
|
+
is also available. The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
65
|
+
|
66
|
+
:param obj circuit_breaker_strategy: (optional)
|
67
|
+
A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
|
68
|
+
This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
|
69
|
+
The specifics of circuit breaker strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.
|
70
|
+
|
71
|
+
:param function circuit_breaker_callback: (optional)
|
72
|
+
Callback function to receive any exceptions triggerred by the circuit breaker.
|
73
|
+
|
74
|
+
:param bool client_level_realm_specific_endpoint_template_enabled: (optional)
|
75
|
+
A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
|
76
|
+
|
77
|
+
:param allow_control_chars: (optional)
|
78
|
+
allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
|
79
|
+
allow control characters to be in the response object.
|
80
|
+
"""
|
81
|
+
if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("model_deployment"):
|
82
|
+
raise InvalidAlloyConfig("The Alloy configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local alloy-config file configured the service you're targeting or contact the cloud provider on the availability of this service")
|
83
|
+
|
84
|
+
validate_config(config, signer=kwargs.get('signer'))
|
85
|
+
if 'signer' in kwargs:
|
86
|
+
signer = kwargs['signer']
|
87
|
+
|
88
|
+
elif AUTHENTICATION_TYPE_FIELD_NAME in config:
|
89
|
+
signer = get_signer_from_authentication_type(config)
|
90
|
+
|
91
|
+
else:
|
92
|
+
signer = Signer(
|
93
|
+
tenancy=config["tenancy"],
|
94
|
+
user=config["user"],
|
95
|
+
fingerprint=config["fingerprint"],
|
96
|
+
private_key_file_location=config.get("key_file"),
|
97
|
+
pass_phrase=get_config_value_or_default(config, "pass_phrase"),
|
98
|
+
private_key_content=config.get("key_content")
|
99
|
+
)
|
100
|
+
|
101
|
+
base_client_init_kwargs = {
|
102
|
+
'regional_client': True,
|
103
|
+
'service_endpoint': kwargs.get('service_endpoint'),
|
104
|
+
'base_path': '/',
|
105
|
+
'service_endpoint_template': 'https://md.datascience.{region}.oci.{secondLevelDomain}',
|
106
|
+
'service_endpoint_template_per_realm': { 'oc1': 'https://modeldeployment.{region}.oci.customer-oci.com' }, # noqa: E201 E202
|
107
|
+
'skip_deserialization': kwargs.get('skip_deserialization', False),
|
108
|
+
'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
|
109
|
+
'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled')
|
110
|
+
}
|
111
|
+
if 'timeout' in kwargs:
|
112
|
+
base_client_init_kwargs['timeout'] = kwargs.get('timeout')
|
113
|
+
if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
|
114
|
+
base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
|
115
|
+
if 'allow_control_chars' in kwargs:
|
116
|
+
base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
|
117
|
+
self.base_client = BaseClient("model_deployment", config, signer, model_deployment_type_mapping, **base_client_init_kwargs)
|
118
|
+
self.retry_strategy = kwargs.get('retry_strategy')
|
119
|
+
self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
|
120
|
+
|
121
|
+
def predict(self, model_deployment_id, request_body, **kwargs):
|
122
|
+
"""
|
123
|
+
Invoking a model deployment calls the predict endpoint of the model deployment URI.
|
124
|
+
This endpoint takes sample data as input and is processed using the predict() function in score.py model artifact file
|
125
|
+
|
126
|
+
|
127
|
+
:param str model_deployment_id: (required)
|
128
|
+
The `OCID`__ of the model deployment.
|
129
|
+
|
130
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
131
|
+
|
132
|
+
:param str request_body: (required)
|
133
|
+
Input data details for making a prediction call
|
134
|
+
|
135
|
+
:param str opc_request_id: (optional)
|
136
|
+
Unique Oracle identifier for request
|
137
|
+
|
138
|
+
:param obj retry_strategy: (optional)
|
139
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
140
|
+
|
141
|
+
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.
|
142
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
143
|
+
|
144
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
145
|
+
|
146
|
+
:param bool allow_control_chars: (optional)
|
147
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
148
|
+
By default, the response will not allow control characters in strings
|
149
|
+
|
150
|
+
:return: A :class:`~oci.response.Response` object with data of type str
|
151
|
+
:rtype: :class:`~oci.response.Response`
|
152
|
+
|
153
|
+
:example:
|
154
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/modeldeployment/predict.py.html>`__ to see an example of how to use predict API.
|
155
|
+
"""
|
156
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
157
|
+
required_arguments = ['modelDeploymentId']
|
158
|
+
resource_path = "/{modelDeploymentId}/predict"
|
159
|
+
method = "POST"
|
160
|
+
operation_name = "predict"
|
161
|
+
api_reference_link = ""
|
162
|
+
|
163
|
+
# Don't accept unknown kwargs
|
164
|
+
expected_kwargs = [
|
165
|
+
"allow_control_chars",
|
166
|
+
"retry_strategy",
|
167
|
+
"opc_request_id"
|
168
|
+
]
|
169
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
170
|
+
if extra_kwargs:
|
171
|
+
raise ValueError(
|
172
|
+
f"predict got unknown kwargs: {extra_kwargs!r}")
|
173
|
+
|
174
|
+
path_params = {
|
175
|
+
"modelDeploymentId": model_deployment_id
|
176
|
+
}
|
177
|
+
|
178
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
179
|
+
|
180
|
+
for (k, v) in six.iteritems(path_params):
|
181
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
182
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
183
|
+
|
184
|
+
header_params = {
|
185
|
+
"accept": "application/json",
|
186
|
+
"content-type": "application/json",
|
187
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
188
|
+
}
|
189
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
190
|
+
|
191
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
192
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
193
|
+
client_retry_strategy=self.retry_strategy
|
194
|
+
)
|
195
|
+
if retry_strategy is None:
|
196
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
197
|
+
|
198
|
+
if retry_strategy:
|
199
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
200
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
201
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
202
|
+
return retry_strategy.make_retrying_call(
|
203
|
+
self.base_client.call_api,
|
204
|
+
resource_path=resource_path,
|
205
|
+
method=method,
|
206
|
+
path_params=path_params,
|
207
|
+
header_params=header_params,
|
208
|
+
body=request_body,
|
209
|
+
response_type="str",
|
210
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
211
|
+
operation_name=operation_name,
|
212
|
+
api_reference_link=api_reference_link,
|
213
|
+
required_arguments=required_arguments)
|
214
|
+
else:
|
215
|
+
return self.base_client.call_api(
|
216
|
+
resource_path=resource_path,
|
217
|
+
method=method,
|
218
|
+
path_params=path_params,
|
219
|
+
header_params=header_params,
|
220
|
+
body=request_body,
|
221
|
+
response_type="str",
|
222
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
223
|
+
operation_name=operation_name,
|
224
|
+
api_reference_link=api_reference_link,
|
225
|
+
required_arguments=required_arguments)
|
226
|
+
|
227
|
+
def predict_with_response_stream(self, model_deployment_id, request_body, **kwargs):
|
228
|
+
"""
|
229
|
+
Invoking a model deployment calls the predictWithResponseStream endpoint of the model deployment URI to get the streaming result.
|
230
|
+
This endpoint takes sample data as input and is processed using the predict() function in score.py model artifact file
|
231
|
+
|
232
|
+
|
233
|
+
:param str model_deployment_id: (required)
|
234
|
+
The `OCID`__ of the model deployment.
|
235
|
+
|
236
|
+
__ https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm
|
237
|
+
|
238
|
+
:param str request_body: (required)
|
239
|
+
Input data details for making a prediction call
|
240
|
+
|
241
|
+
:param str opc_request_id: (optional)
|
242
|
+
Unique Oracle identifier for request
|
243
|
+
|
244
|
+
:param obj retry_strategy: (optional)
|
245
|
+
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
|
246
|
+
|
247
|
+
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.
|
248
|
+
The specifics of the default retry strategy are described `here <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.
|
249
|
+
|
250
|
+
To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
|
251
|
+
|
252
|
+
:param bool allow_control_chars: (optional)
|
253
|
+
allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
|
254
|
+
By default, the response will not allow control characters in strings
|
255
|
+
|
256
|
+
:return: A :class:`~oci.response.Response` object with data of type stream
|
257
|
+
:rtype: :class:`~oci.response.Response`
|
258
|
+
|
259
|
+
:example:
|
260
|
+
Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/2.152.0/modeldeployment/predict_with_response_stream.py.html>`__ to see an example of how to use predict_with_response_stream API.
|
261
|
+
"""
|
262
|
+
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
|
263
|
+
required_arguments = ['modelDeploymentId']
|
264
|
+
resource_path = "/{modelDeploymentId}/predictWithResponseStream"
|
265
|
+
method = "POST"
|
266
|
+
operation_name = "predict_with_response_stream"
|
267
|
+
api_reference_link = ""
|
268
|
+
|
269
|
+
# Don't accept unknown kwargs
|
270
|
+
expected_kwargs = [
|
271
|
+
"allow_control_chars",
|
272
|
+
"retry_strategy",
|
273
|
+
"opc_request_id"
|
274
|
+
]
|
275
|
+
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
|
276
|
+
if extra_kwargs:
|
277
|
+
raise ValueError(
|
278
|
+
f"predict_with_response_stream got unknown kwargs: {extra_kwargs!r}")
|
279
|
+
|
280
|
+
path_params = {
|
281
|
+
"modelDeploymentId": model_deployment_id
|
282
|
+
}
|
283
|
+
|
284
|
+
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
|
285
|
+
|
286
|
+
for (k, v) in six.iteritems(path_params):
|
287
|
+
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
|
288
|
+
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
|
289
|
+
|
290
|
+
header_params = {
|
291
|
+
"accept": "application/json, text/event-stream",
|
292
|
+
"content-type": "application/json",
|
293
|
+
"opc-request-id": kwargs.get("opc_request_id", missing)
|
294
|
+
}
|
295
|
+
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
|
296
|
+
|
297
|
+
retry_strategy = self.base_client.get_preferred_retry_strategy(
|
298
|
+
operation_retry_strategy=kwargs.get('retry_strategy'),
|
299
|
+
client_retry_strategy=self.retry_strategy
|
300
|
+
)
|
301
|
+
if retry_strategy is None:
|
302
|
+
retry_strategy = retry.DEFAULT_RETRY_STRATEGY
|
303
|
+
|
304
|
+
if retry_strategy:
|
305
|
+
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
|
306
|
+
self.base_client.add_opc_client_retries_header(header_params)
|
307
|
+
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
|
308
|
+
return retry_strategy.make_retrying_call(
|
309
|
+
self.base_client.call_api,
|
310
|
+
resource_path=resource_path,
|
311
|
+
method=method,
|
312
|
+
path_params=path_params,
|
313
|
+
header_params=header_params,
|
314
|
+
body=request_body,
|
315
|
+
response_type="stream",
|
316
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
317
|
+
operation_name=operation_name,
|
318
|
+
api_reference_link=api_reference_link,
|
319
|
+
required_arguments=required_arguments)
|
320
|
+
else:
|
321
|
+
return self.base_client.call_api(
|
322
|
+
resource_path=resource_path,
|
323
|
+
method=method,
|
324
|
+
path_params=path_params,
|
325
|
+
header_params=header_params,
|
326
|
+
body=request_body,
|
327
|
+
response_type="stream",
|
328
|
+
allow_control_chars=kwargs.get('allow_control_chars'),
|
329
|
+
operation_name=operation_name,
|
330
|
+
api_reference_link=api_reference_link,
|
331
|
+
required_arguments=required_arguments)
|
@@ -0,0 +1,26 @@
|
|
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: 20240424
|
6
|
+
|
7
|
+
import oci # noqa: F401
|
8
|
+
from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
|
9
|
+
|
10
|
+
|
11
|
+
class ModelDeploymentClientCompositeOperations(object):
|
12
|
+
"""
|
13
|
+
This class provides a wrapper around :py:class:`~oci.model_deployment.ModelDeploymentClient` 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 ModelDeploymentClientCompositeOperations object
|
22
|
+
|
23
|
+
:param ModelDeploymentClient client:
|
24
|
+
The service client which will be wrapped by this object
|
25
|
+
"""
|
26
|
+
self.client = client
|
@@ -0,0 +1,14 @@
|
|
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: 20240424
|
6
|
+
|
7
|
+
from __future__ import absolute_import
|
8
|
+
|
9
|
+
from .inference_result import InferenceResult
|
10
|
+
|
11
|
+
# Maps type names to classes for model_deployment services.
|
12
|
+
model_deployment_type_mapping = {
|
13
|
+
"InferenceResult": InferenceResult
|
14
|
+
}
|
@@ -0,0 +1,70 @@
|
|
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: 20240424
|
6
|
+
|
7
|
+
|
8
|
+
from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
|
9
|
+
from oci.decorators import init_model_state_from_kwargs
|
10
|
+
|
11
|
+
|
12
|
+
@init_model_state_from_kwargs
|
13
|
+
class InferenceResult(object):
|
14
|
+
"""
|
15
|
+
A model used in x-related-resource for grouping actions with no returned body.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new InferenceResult object with values from keyword arguments.
|
21
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
22
|
+
|
23
|
+
:param data:
|
24
|
+
The value to assign to the data property of this InferenceResult.
|
25
|
+
:type data: str
|
26
|
+
|
27
|
+
"""
|
28
|
+
self.swagger_types = {
|
29
|
+
'data': 'str'
|
30
|
+
}
|
31
|
+
self.attribute_map = {
|
32
|
+
'data': 'data'
|
33
|
+
}
|
34
|
+
self._data = None
|
35
|
+
|
36
|
+
@property
|
37
|
+
def data(self):
|
38
|
+
"""
|
39
|
+
**[Required]** Gets the data of this InferenceResult.
|
40
|
+
The predict result returned by model
|
41
|
+
|
42
|
+
|
43
|
+
:return: The data of this InferenceResult.
|
44
|
+
:rtype: str
|
45
|
+
"""
|
46
|
+
return self._data
|
47
|
+
|
48
|
+
@data.setter
|
49
|
+
def data(self, data):
|
50
|
+
"""
|
51
|
+
Sets the data of this InferenceResult.
|
52
|
+
The predict result returned by model
|
53
|
+
|
54
|
+
|
55
|
+
:param data: The data of this InferenceResult.
|
56
|
+
:type: str
|
57
|
+
"""
|
58
|
+
self._data = data
|
59
|
+
|
60
|
+
def __repr__(self):
|
61
|
+
return formatted_flat_dict(self)
|
62
|
+
|
63
|
+
def __eq__(self, other):
|
64
|
+
if other is None:
|
65
|
+
return False
|
66
|
+
|
67
|
+
return self.__dict__ == other.__dict__
|
68
|
+
|
69
|
+
def __ne__(self, other):
|
70
|
+
return not self == other
|