oci 2.125.2__py3-none-any.whl → 2.126.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/adm/application_dependency_management_client.py +36 -36
- oci/ai_anomaly_detection/anomaly_detection_client.py +36 -36
- oci/ai_document/ai_service_document_client.py +22 -22
- oci/ai_language/ai_service_language_client.py +134 -43
- oci/ai_language/models/__init__.py +24 -0
- oci/ai_language/models/assertion_details.py +165 -0
- oci/ai_language/models/batch_detect_health_entity_details.py +223 -0
- oci/ai_language/models/batch_detect_health_entity_result.py +103 -0
- oci/ai_language/models/batch_detect_language_pii_entities_details.py +29 -2
- oci/ai_language/models/health_entity.py +351 -0
- oci/ai_language/models/health_entity_document_result.py +200 -0
- oci/ai_language/models/input_location.py +2 -1
- oci/ai_language/models/mel_concept.py +103 -0
- oci/ai_language/models/mel_concept_details.py +165 -0
- oci/ai_language/models/model_details.py +11 -3
- oci/ai_language/models/named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pii_entity.py +118 -7
- oci/ai_language/models/pii_model_details.py +91 -0
- oci/ai_language/models/pre_trained_health_nlu_model_details.py +1 -1
- oci/ai_language/models/pre_trained_key_phrase_extraction_model_details.py +1 -1
- oci/ai_language/models/pre_trained_language_detection_model_details.py +1 -1
- oci/ai_language/models/pre_trained_named_entity_recognition_model_details.py +1 -1
- oci/ai_language/models/pre_trained_pii_model_details.py +1 -1
- oci/ai_language/models/pre_trained_sentiment_analysis_model_details.py +1 -1
- oci/ai_language/models/pre_trained_summarization.py +1 -1
- oci/ai_language/models/pre_trained_text_classification_model_details.py +1 -1
- oci/ai_language/models/pre_trained_universal_model.py +1 -1
- oci/ai_language/models/profile.py +134 -0
- oci/ai_language/models/relation_entity.py +196 -0
- oci/ai_language/models/resolved_entities.py +72 -0
- oci/ai_language/models/resolved_entity.py +227 -0
- oci/ai_language/models/text_classification_model_details.py +1 -1
- oci/ai_speech/ai_service_speech_client.py +10 -10
- oci/ai_vision/ai_service_vision_client.py +25 -25
- oci/analytics/analytics_client.py +23 -23
- oci/announcements_service/announcement_client.py +4 -4
- oci/announcements_service/announcement_subscription_client.py +9 -9
- oci/announcements_service/announcements_preferences_client.py +4 -4
- oci/apigateway/api_gateway_client.py +21 -21
- oci/apigateway/deployment_client.py +6 -6
- oci/apigateway/gateway_client.py +6 -6
- oci/apigateway/subscribers_client.py +6 -6
- oci/apigateway/usage_plans_client.py +6 -6
- oci/apigateway/work_requests_client.py +5 -5
- oci/apm_config/config_client.py +8 -8
- 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 +51 -51
- oci/blockchain/blockchain_platform_client.py +27 -27
- oci/budget/budget_client.py +10 -10
- oci/capacity_management/capacity_management_client.py +19 -19
- oci/certificates/certificates_client.py +5 -5
- oci/certificates_management/certificates_management_client.py +32 -32
- oci/cims/incident_client.py +8 -8
- oci/cims/user_client.py +1 -1
- oci/cloud_bridge/common_client.py +5 -5
- oci/cloud_bridge/discovery_client.py +14 -14
- oci/cloud_bridge/inventory_client.py +16 -16
- oci/cloud_bridge/ocb_agent_svc_client.py +23 -23
- oci/cloud_guard/cloud_guard_client.py +5496 -2653
- oci/cloud_guard/cloud_guard_client_composite_operations.py +307 -60
- oci/cloud_guard/models/__init__.py +74 -0
- oci/cloud_guard/models/absolute_time_start_policy.py +3 -3
- oci/cloud_guard/models/activity_problem_aggregation.py +4 -4
- oci/cloud_guard/models/activity_problem_aggregation_collection.py +3 -3
- oci/cloud_guard/models/add_compartment_details.py +1 -1
- oci/cloud_guard/models/adhoc_query.py +532 -0
- oci/cloud_guard/models/adhoc_query_collection.py +103 -0
- oci/cloud_guard/models/adhoc_query_details.py +103 -0
- oci/cloud_guard/models/adhoc_query_regional_details.py +294 -0
- oci/cloud_guard/models/adhoc_query_resource.py +134 -0
- oci/cloud_guard/models/adhoc_query_result_collection.py +72 -0
- oci/cloud_guard/models/adhoc_query_result_summary.py +407 -0
- oci/cloud_guard/models/adhoc_query_summary.py +532 -0
- oci/cloud_guard/models/all_targets_selected.py +1 -1
- oci/cloud_guard/models/attach_target_detector_recipe_details.py +5 -3
- oci/cloud_guard/models/attach_target_responder_recipe_details.py +5 -3
- oci/cloud_guard/models/candidate_responder_rule.py +7 -7
- oci/cloud_guard/models/change_data_source_compartment_details.py +3 -3
- oci/cloud_guard/models/change_detector_recipe_compartment_details.py +3 -3
- oci/cloud_guard/models/change_managed_list_compartment_details.py +3 -3
- oci/cloud_guard/models/change_responder_recipe_compartment_details.py +3 -3
- oci/cloud_guard/models/change_saved_query_compartment_details.py +72 -0
- oci/cloud_guard/models/change_security_policy_compartment_details.py +1 -1
- oci/cloud_guard/models/change_security_recipe_compartment_details.py +1 -1
- oci/cloud_guard/models/change_security_zone_compartment_details.py +1 -1
- oci/cloud_guard/models/composite_condition.py +5 -1
- oci/cloud_guard/models/condition.py +3 -3
- oci/cloud_guard/models/condition_group.py +3 -3
- oci/cloud_guard/models/condition_metadata_type.py +37 -6
- oci/cloud_guard/models/condition_metadata_type_collection.py +36 -5
- oci/cloud_guard/models/condition_metadata_type_summary.py +38 -7
- oci/cloud_guard/models/condition_operator.py +5 -5
- oci/cloud_guard/models/config_value.py +7 -7
- oci/cloud_guard/models/configuration.py +37 -6
- oci/cloud_guard/models/continuous_query_start_policy.py +3 -3
- oci/cloud_guard/models/create_adhoc_query_details.py +169 -0
- oci/cloud_guard/models/create_data_mask_rule_details.py +15 -15
- oci/cloud_guard/models/create_data_source_details.py +16 -12
- oci/cloud_guard/models/create_detector_recipe_details.py +16 -12
- oci/cloud_guard/models/create_detector_recipe_detector_rule_details.py +1 -1
- oci/cloud_guard/models/create_detector_rule_details.py +17 -17
- oci/cloud_guard/models/create_managed_list_details.py +11 -11
- oci/cloud_guard/models/create_responder_recipe_details.py +7 -7
- oci/cloud_guard/models/create_saved_query_details.py +235 -0
- oci/cloud_guard/models/create_security_policy_details.py +11 -11
- oci/cloud_guard/models/create_security_recipe_details.py +11 -7
- oci/cloud_guard/models/create_security_zone_details.py +5 -5
- oci/cloud_guard/models/create_target_details.py +13 -13
- oci/cloud_guard/models/create_target_detector_recipe_details.py +5 -5
- oci/cloud_guard/models/create_target_responder_recipe_details.py +6 -5
- oci/cloud_guard/models/create_wlp_agent_details.py +238 -0
- oci/cloud_guard/models/data_mask_rule.py +50 -19
- oci/cloud_guard/models/data_mask_rule_collection.py +36 -5
- oci/cloud_guard/models/data_mask_rule_summary.py +19 -19
- oci/cloud_guard/models/data_source.py +51 -16
- oci/cloud_guard/models/data_source_collection.py +36 -5
- oci/cloud_guard/models/data_source_details.py +13 -5
- oci/cloud_guard/models/data_source_event_collection.py +36 -5
- oci/cloud_guard/models/data_source_event_info.py +12 -6
- oci/cloud_guard/models/data_source_event_summary.py +7 -7
- oci/cloud_guard/models/data_source_mapping_info.py +5 -5
- oci/cloud_guard/models/data_source_summary.py +20 -16
- oci/cloud_guard/models/data_source_summary_details.py +14 -6
- oci/cloud_guard/models/detector.py +6 -6
- oci/cloud_guard/models/detector_collection.py +3 -3
- oci/cloud_guard/models/detector_configuration.py +73 -11
- oci/cloud_guard/models/detector_details.py +139 -15
- oci/cloud_guard/models/detector_recipe.py +81 -22
- oci/cloud_guard/models/detector_recipe_collection.py +36 -5
- oci/cloud_guard/models/detector_recipe_detector_rule.py +65 -30
- oci/cloud_guard/models/detector_recipe_detector_rule_collection.py +36 -5
- oci/cloud_guard/models/detector_recipe_detector_rule_summary.py +32 -28
- oci/cloud_guard/models/detector_recipe_summary.py +79 -20
- oci/cloud_guard/models/detector_rule.py +60 -25
- oci/cloud_guard/models/detector_rule_collection.py +3 -3
- oci/cloud_guard/models/detector_rule_summary.py +30 -26
- oci/cloud_guard/models/detector_summary.py +40 -9
- oci/cloud_guard/models/entities_mapping.py +5 -5
- oci/cloud_guard/models/entity_details.py +1 -1
- oci/cloud_guard/models/execute_responder_execution_details.py +3 -3
- oci/cloud_guard/models/geographical_location.py +5 -5
- oci/cloud_guard/models/impacted_resource_collection.py +36 -5
- oci/cloud_guard/models/impacted_resource_summary.py +17 -17
- oci/cloud_guard/models/insight_type_logging_query_details.py +1 -1
- oci/cloud_guard/models/instance_security_service_configuration.py +99 -0
- oci/cloud_guard/models/logging_event_info.py +18 -2
- oci/cloud_guard/models/logging_query_data_source_details.py +14 -14
- oci/cloud_guard/models/logging_query_data_source_summary_details.py +8 -8
- oci/cloud_guard/models/logging_query_details.py +3 -3
- oci/cloud_guard/models/managed_list.py +25 -25
- oci/cloud_guard/models/managed_list_collection.py +36 -5
- oci/cloud_guard/models/managed_list_summary.py +25 -25
- oci/cloud_guard/models/managed_list_type_collection.py +36 -5
- oci/cloud_guard/models/managed_list_type_summary.py +39 -8
- oci/cloud_guard/models/no_delay_start_policy.py +1 -1
- oci/cloud_guard/models/operator_summary.py +13 -13
- oci/cloud_guard/models/package_detail.py +227 -0
- oci/cloud_guard/models/policy_collection.py +34 -3
- oci/cloud_guard/models/political_location.py +7 -7
- oci/cloud_guard/models/problem.py +79 -44
- oci/cloud_guard/models/problem_aggregation.py +4 -4
- oci/cloud_guard/models/problem_aggregation_collection.py +3 -3
- oci/cloud_guard/models/problem_collection.py +36 -5
- oci/cloud_guard/models/problem_endpoint_collection.py +36 -5
- oci/cloud_guard/models/problem_endpoint_summary.py +18 -18
- oci/cloud_guard/models/problem_entity_collection.py +35 -4
- oci/cloud_guard/models/problem_entity_summary.py +7 -7
- oci/cloud_guard/models/problem_history_collection.py +36 -5
- oci/cloud_guard/models/problem_history_summary.py +48 -17
- oci/cloud_guard/models/problem_summary.py +69 -34
- oci/cloud_guard/models/problem_trend_aggregation.py +6 -6
- oci/cloud_guard/models/problem_trend_aggregation_collection.py +3 -3
- oci/cloud_guard/models/property_tuple.py +103 -0
- oci/cloud_guard/models/recommendation_summary.py +23 -23
- oci/cloud_guard/models/recommendation_summary_collection.py +36 -5
- oci/cloud_guard/models/region_status_detail.py +5 -5
- oci/cloud_guard/models/remove_compartment_details.py +1 -1
- oci/cloud_guard/models/request_summarized_trend_resource_risk_scores_details.py +5 -5
- oci/cloud_guard/models/resource.py +616 -0
- oci/cloud_guard/models/resource_additional_details.py +72 -0
- oci/cloud_guard/models/resource_collection.py +72 -0
- oci/cloud_guard/models/resource_lock.py +185 -0
- oci/cloud_guard/models/resource_port_collection.py +72 -0
- oci/cloud_guard/models/resource_port_summary.py +247 -0
- oci/cloud_guard/models/resource_profile.py +60 -29
- oci/cloud_guard/models/resource_profile_collection.py +36 -5
- oci/cloud_guard/models/resource_profile_endpoint_collection.py +3 -3
- oci/cloud_guard/models/resource_profile_endpoint_summary.py +29 -29
- oci/cloud_guard/models/resource_profile_impacted_resource_collection.py +35 -4
- oci/cloud_guard/models/resource_profile_impacted_resource_summary.py +19 -19
- oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary.py +5 -5
- oci/cloud_guard/models/resource_profile_risk_score_aggregation_summary_collection.py +3 -3
- oci/cloud_guard/models/resource_profile_summary.py +15 -15
- oci/cloud_guard/models/resource_risk_score_aggregation.py +6 -6
- oci/cloud_guard/models/resource_risk_score_aggregation_collection.py +9 -9
- oci/cloud_guard/models/resource_summary.py +527 -0
- oci/cloud_guard/models/resource_type_collection.py +36 -5
- oci/cloud_guard/models/resource_type_summary.py +38 -7
- oci/cloud_guard/models/resource_vulnerability.py +496 -0
- oci/cloud_guard/models/resource_vulnerability_collection.py +72 -0
- oci/cloud_guard/models/resource_vulnerability_summary.py +279 -0
- oci/cloud_guard/models/responder_activity_collection.py +3 -3
- oci/cloud_guard/models/responder_activity_summary.py +19 -19
- oci/cloud_guard/models/responder_configuration.py +7 -7
- oci/cloud_guard/models/responder_execution.py +58 -27
- oci/cloud_guard/models/responder_execution_aggregation.py +2 -2
- oci/cloud_guard/models/responder_execution_aggregation_collection.py +3 -3
- oci/cloud_guard/models/responder_execution_collection.py +37 -5
- oci/cloud_guard/models/responder_execution_summary.py +17 -17
- oci/cloud_guard/models/responder_execution_trend_aggregation.py +6 -6
- oci/cloud_guard/models/responder_execution_trend_aggregation_collection.py +3 -3
- oci/cloud_guard/models/responder_recipe.py +34 -19
- oci/cloud_guard/models/responder_recipe_collection.py +36 -5
- oci/cloud_guard/models/responder_recipe_responder_rule.py +70 -21
- oci/cloud_guard/models/responder_recipe_responder_rule_collection.py +3 -3
- oci/cloud_guard/models/responder_recipe_responder_rule_summary.py +19 -19
- oci/cloud_guard/models/responder_recipe_summary.py +19 -19
- oci/cloud_guard/models/responder_rule.py +58 -19
- oci/cloud_guard/models/responder_rule_collection.py +36 -5
- oci/cloud_guard/models/responder_rule_details.py +7 -7
- oci/cloud_guard/models/responder_rule_execution_details.py +3 -3
- oci/cloud_guard/models/responder_rule_summary.py +17 -17
- oci/cloud_guard/models/risk_score_aggregation.py +2 -2
- oci/cloud_guard/models/risk_score_aggregation_collection.py +3 -3
- oci/cloud_guard/models/rule_summary.py +7 -7
- oci/cloud_guard/models/saved_query.py +438 -0
- oci/cloud_guard/models/saved_query_collection.py +103 -0
- oci/cloud_guard/models/saved_query_summary.py +500 -0
- oci/cloud_guard/models/scheduled_query_data_source_obj_details.py +175 -0
- oci/cloud_guard/models/scheduled_query_data_source_summary_obj_details.py +175 -0
- oci/cloud_guard/models/scheduled_query_scope_detail.py +134 -0
- oci/cloud_guard/models/security_policy.py +45 -11
- oci/cloud_guard/models/security_policy_collection.py +36 -5
- oci/cloud_guard/models/security_policy_summary.py +16 -15
- oci/cloud_guard/models/security_recipe.py +13 -11
- oci/cloud_guard/models/security_recipe_collection.py +150 -5
- oci/cloud_guard/models/security_recipe_summary.py +9 -9
- oci/cloud_guard/models/security_score_aggregation.py +6 -6
- oci/cloud_guard/models/security_score_aggregation_collection.py +3 -3
- oci/cloud_guard/models/security_score_trend_aggregation.py +4 -4
- oci/cloud_guard/models/security_score_trend_aggregation_collection.py +3 -3
- oci/cloud_guard/models/security_zone.py +11 -9
- oci/cloud_guard/models/security_zone_collection.py +36 -5
- oci/cloud_guard/models/security_zone_summary.py +10 -9
- oci/cloud_guard/models/security_zone_target_details.py +7 -7
- oci/cloud_guard/models/service_configuration.py +101 -0
- oci/cloud_guard/models/service_type_summary.py +5 -5
- oci/cloud_guard/models/sighting.py +55 -24
- oci/cloud_guard/models/sighting_collection.py +36 -5
- oci/cloud_guard/models/sighting_endpoint_collection.py +3 -3
- oci/cloud_guard/models/sighting_endpoint_summary.py +25 -25
- oci/cloud_guard/models/sighting_impacted_resource_collection.py +36 -5
- oci/cloud_guard/models/sighting_impacted_resource_summary.py +13 -13
- oci/cloud_guard/models/sighting_summary.py +27 -27
- oci/cloud_guard/models/sighting_type.py +11 -11
- oci/cloud_guard/models/simple_condition.py +9 -9
- oci/cloud_guard/models/skip_bulk_responder_execution_details.py +3 -3
- oci/cloud_guard/models/tactic_collection.py +36 -5
- oci/cloud_guard/models/tactic_summary.py +3 -3
- oci/cloud_guard/models/target.py +23 -21
- oci/cloud_guard/models/target_collection.py +36 -5
- oci/cloud_guard/models/target_details.py +2 -2
- oci/cloud_guard/models/target_detector_details.py +13 -13
- oci/cloud_guard/models/target_detector_recipe.py +124 -22
- oci/cloud_guard/models/target_detector_recipe_collection.py +36 -5
- oci/cloud_guard/models/target_detector_recipe_detector_rule.py +92 -30
- oci/cloud_guard/models/target_detector_recipe_detector_rule_collection.py +36 -5
- oci/cloud_guard/models/target_detector_recipe_detector_rule_summary.py +63 -28
- oci/cloud_guard/models/target_detector_recipe_summary.py +110 -20
- oci/cloud_guard/models/target_ids_selected.py +3 -3
- oci/cloud_guard/models/target_resource_types_selected.py +3 -3
- oci/cloud_guard/models/target_responder_recipe.py +63 -19
- oci/cloud_guard/models/target_responder_recipe_collection.py +36 -5
- oci/cloud_guard/models/target_responder_recipe_responder_rule.py +32 -19
- oci/cloud_guard/models/target_responder_recipe_responder_rule_collection.py +3 -3
- oci/cloud_guard/models/target_responder_recipe_responder_rule_summary.py +19 -19
- oci/cloud_guard/models/target_responder_recipe_summary.py +50 -19
- oci/cloud_guard/models/target_selected.py +3 -3
- oci/cloud_guard/models/target_summary.py +15 -15
- oci/cloud_guard/models/technique_collection.py +36 -5
- oci/cloud_guard/models/technique_summary.py +3 -3
- oci/cloud_guard/models/trigger_responder_details.py +5 -5
- oci/cloud_guard/models/update_bulk_problem_status_details.py +5 -5
- oci/cloud_guard/models/update_configuration_details.py +36 -5
- oci/cloud_guard/models/update_data_mask_rule_details.py +11 -11
- oci/cloud_guard/models/update_data_source_details.py +5 -5
- oci/cloud_guard/models/update_detector_recipe_details.py +7 -5
- oci/cloud_guard/models/update_detector_recipe_detector_rule.py +3 -3
- oci/cloud_guard/models/update_detector_recipe_detector_rule_details.py +1 -1
- oci/cloud_guard/models/update_detector_rule_details.py +17 -17
- oci/cloud_guard/models/update_managed_list_details.py +3 -3
- oci/cloud_guard/models/update_problem_status_details.py +3 -3
- oci/cloud_guard/models/update_responder_recipe_details.py +7 -7
- oci/cloud_guard/models/update_responder_recipe_responder_rule.py +3 -3
- oci/cloud_guard/models/update_responder_recipe_responder_rule_details.py +1 -1
- oci/cloud_guard/models/update_responder_rule_details.py +3 -3
- oci/cloud_guard/models/update_saved_query_details.py +204 -0
- oci/cloud_guard/models/update_security_policy_details.py +3 -3
- oci/cloud_guard/models/update_security_recipe_details.py +5 -5
- oci/cloud_guard/models/update_security_zone_details.py +5 -5
- oci/cloud_guard/models/update_target_details.py +7 -7
- oci/cloud_guard/models/update_target_detector_recipe.py +5 -5
- oci/cloud_guard/models/update_target_detector_recipe_details.py +7 -7
- oci/cloud_guard/models/update_target_detector_recipe_detector_rule_details.py +1 -1
- oci/cloud_guard/models/update_target_detector_rule_details.py +1 -1
- oci/cloud_guard/models/update_target_recipe_detector_rule_details.py +3 -3
- oci/cloud_guard/models/update_target_recipe_responder_rule_details.py +3 -3
- oci/cloud_guard/models/update_target_responder_recipe.py +5 -5
- oci/cloud_guard/models/update_target_responder_recipe_details.py +7 -3
- oci/cloud_guard/models/update_target_responder_recipe_responder_rule_details.py +1 -1
- oci/cloud_guard/models/update_target_responder_rule_details.py +8 -5
- oci/cloud_guard/models/update_wlp_agent_details.py +143 -0
- oci/cloud_guard/models/wlp_agent.py +469 -0
- oci/cloud_guard/models/wlp_agent_collection.py +103 -0
- oci/cloud_guard/models/wlp_agent_summary.py +406 -0
- oci/cloud_guard/models/work_request.py +54 -23
- oci/cloud_guard/models/work_request_error.py +8 -7
- oci/cloud_guard/models/work_request_error_collection.py +5 -3
- oci/cloud_guard/models/work_request_log_entry.py +4 -4
- oci/cloud_guard/models/work_request_log_entry_collection.py +38 -5
- oci/cloud_guard/models/work_request_resource.py +7 -7
- oci/cloud_guard/models/work_request_summary.py +15 -15
- oci/cloud_guard/models/work_request_summary_collection.py +36 -5
- oci/cloud_migrations/migration_client.py +43 -43
- oci/{application_migration → cluster_placement_groups}/__init__.py +4 -4
- oci/cluster_placement_groups/cluster_placement_groups_cp_client.py +1705 -0
- oci/cluster_placement_groups/cluster_placement_groups_cp_client_composite_operations.py +238 -0
- oci/cluster_placement_groups/models/__init__.py +46 -0
- oci/cluster_placement_groups/models/capabilities_collection.py +72 -0
- oci/cluster_placement_groups/models/capability_details.py +103 -0
- oci/{application_migration/models/change_compartment_details.py → cluster_placement_groups/models/change_cluster_placement_group_compartment_details.py} +11 -11
- oci/cluster_placement_groups/models/cluster_placement_group.py +568 -0
- oci/cluster_placement_groups/models/cluster_placement_group_collection.py +72 -0
- oci/cluster_placement_groups/models/cluster_placement_group_summary.py +447 -0
- oci/cluster_placement_groups/models/create_cluster_placement_group_details.py +332 -0
- oci/cluster_placement_groups/models/placement_instruction_details.py +115 -0
- oci/cluster_placement_groups/models/update_cluster_placement_group_details.py +138 -0
- oci/{application_migration → cluster_placement_groups}/models/work_request.py +100 -67
- oci/{application_migration → cluster_placement_groups}/models/work_request_error.py +14 -8
- oci/cluster_placement_groups/models/work_request_error_collection.py +72 -0
- oci/{application_migration → cluster_placement_groups}/models/work_request_log_entry.py +10 -6
- oci/cluster_placement_groups/models/work_request_log_entry_collection.py +72 -0
- oci/{application_migration → cluster_placement_groups}/models/work_request_resource.py +87 -50
- oci/{application_migration → cluster_placement_groups}/models/work_request_summary.py +128 -70
- oci/cluster_placement_groups/models/work_request_summary_collection.py +72 -0
- oci/compute_cloud_at_customer/compute_cloud_at_customer_client.py +12 -12
- oci/compute_instance_agent/compute_instance_agent_client.py +6 -6
- oci/compute_instance_agent/plugin_client.py +2 -2
- oci/compute_instance_agent/pluginconfig_client.py +1 -1
- oci/container_engine/container_engine_client.py +44 -44
- oci/container_instances/container_instance_client.py +18 -18
- oci/core/blockstorage_client.py +65 -60
- oci/core/compute_client.py +101 -103
- oci/core/compute_client_composite_operations.py +1 -2
- oci/core/compute_management_client.py +32 -32
- oci/core/models/__init__.py +6 -0
- oci/core/models/boot_volume.py +31 -0
- oci/core/models/boot_volume_attachment.py +39 -0
- oci/core/models/capacity_reservation_instance_summary.py +31 -0
- oci/core/models/compute_cluster.py +1 -2
- oci/core/models/create_boot_volume_details.py +31 -0
- oci/core/models/create_compute_cluster_details.py +1 -2
- oci/core/models/create_drg_route_distribution_details.py +2 -2
- oci/core/models/create_image_details.py +2 -2
- oci/core/models/create_vnic_details.py +18 -18
- oci/core/models/create_volume_details.py +31 -0
- oci/core/models/create_volume_group_details.py +33 -2
- oci/core/models/instance.py +31 -0
- oci/core/models/instance_configuration_create_volume_details.py +31 -0
- oci/core/models/instance_configuration_launch_instance_details.py +31 -0
- oci/core/models/instance_reservation_config.py +33 -2
- oci/core/models/instance_reservation_config_details.py +33 -2
- oci/core/models/launch_instance_details.py +31 -0
- oci/core/models/network_security_group.py +7 -7
- oci/core/models/private_ip.py +1 -1
- oci/core/models/update_instance_details.py +27 -0
- oci/core/models/update_instance_source_details.py +128 -0
- oci/core/models/update_instance_source_via_boot_volume_details.py +88 -0
- oci/core/models/update_instance_source_via_image_details.py +150 -0
- oci/core/models/update_vnic_details.py +2 -2
- oci/core/models/volume.py +31 -0
- oci/core/virtual_network_client.py +258 -258
- oci/core/virtual_network_client_composite_operations.py +13 -13
- oci/dashboard_service/dashboard_client.py +6 -6
- oci/dashboard_service/dashboard_group_client.py +6 -6
- oci/data_catalog/data_catalog_client.py +148 -148
- oci/data_flow/data_flow_client.py +42 -42
- oci/data_integration/data_integration_client.py +163 -163
- oci/data_labeling_service/data_labeling_management_client.py +17 -17
- oci/data_labeling_service_dataplane/data_labeling_client.py +15 -15
- oci/data_safe/data_safe_client.py +272 -272
- oci/data_science/data_science_client.py +91 -91
- oci/data_science/models/instance_configuration.py +37 -2
- oci/database/database_client.py +1224 -537
- oci/database/database_client_composite_operations.py +204 -0
- oci/database/models/__init__.py +12 -0
- oci/database/models/autonomous_container_database.py +31 -0
- oci/database/models/autonomous_container_database_summary.py +31 -0
- oci/database/models/autonomous_database_software_image.py +489 -0
- oci/database/models/autonomous_database_software_image_collection.py +72 -0
- oci/database/models/autonomous_database_software_image_summary.py +437 -0
- oci/database/models/change_autonomous_database_software_image_compartment_details.py +76 -0
- oci/database/models/create_autonomous_container_database_details.py +35 -0
- oci/database/models/create_autonomous_database_software_image_details.py +267 -0
- oci/database/models/maintenance_window.py +33 -2
- oci/database/models/update_autonomous_database_software_image_details.py +119 -0
- oci/database_management/db_management_client.py +194 -194
- oci/database_management/diagnosability_client.py +4 -4
- oci/database_management/managed_my_sql_databases_client.py +7 -7
- oci/database_management/perfhub_client.py +1 -1
- oci/database_management/sql_tuning_client.py +17 -17
- oci/database_migration/database_migration_client.py +41 -41
- oci/database_migration/models/aws_s3_data_transfer_medium_details.py +29 -2
- oci/database_migration/models/data_transfer_medium_details_v2.py +1 -1
- oci/database_migration/models/nfs_data_transfer_medium_details.py +29 -2
- oci/database_tools/database_tools_client.py +23 -23
- oci/desktops/desktop_service_client.py +21 -21
- oci/devops/devops_client.py +89 -89
- oci/disaster_recovery/disaster_recovery_client.py +29 -29
- oci/dns/dns_client.py +52 -52
- oci/dts/appliance_export_job_client.py +6 -6
- oci/dts/shipping_vendors_client.py +1 -1
- oci/dts/transfer_appliance_client.py +8 -8
- oci/dts/transfer_appliance_entitlement_client.py +3 -3
- oci/dts/transfer_device_client.py +5 -5
- oci/dts/transfer_job_client.py +6 -6
- oci/dts/transfer_package_client.py +7 -7
- oci/em_warehouse/em_data_lake_client.py +13 -13
- oci/em_warehouse/em_warehouse_client.py +13 -13
- oci/email/email_client.py +26 -26
- oci/email_data_plane/email_dp_client.py +1 -1
- oci/events/events_client.py +6 -6
- oci/file_storage/file_storage_client.py +50 -50
- oci/fleet_software_update/fleet_software_update_client.py +44 -44
- oci/functions/functions_invoke_client.py +1 -1
- oci/functions/functions_management_client.py +16 -16
- oci/fusion_apps/data_masking_activity_client.py +3 -3
- oci/fusion_apps/fusion_applications_client.py +39 -39
- oci/fusion_apps/fusion_environment_client.py +15 -15
- oci/fusion_apps/fusion_environment_family_client.py +8 -8
- oci/fusion_apps/refresh_activity_client.py +4 -4
- oci/fusion_apps/scheduled_activity_client.py +2 -2
- oci/fusion_apps/service_attachment_client.py +2 -2
- oci/generative_ai/generative_ai_client.py +24 -24
- oci/generative_ai/models/dataset.py +1 -1
- oci/generative_ai/models/dedicated_ai_cluster.py +34 -3
- oci/generative_ai/models/endpoint.py +27 -0
- oci/generative_ai/models/model.py +34 -3
- oci/generative_ai/models/model_summary.py +7 -3
- oci/generative_ai_inference/generative_ai_inference_client.py +101 -3
- oci/generative_ai_inference/models/__init__.py +30 -0
- oci/generative_ai_inference/models/base_chat_request.py +109 -0
- oci/generative_ai_inference/models/base_chat_response.py +109 -0
- oci/generative_ai_inference/models/chat_choice.py +161 -0
- oci/generative_ai_inference/models/chat_content.py +101 -0
- oci/generative_ai_inference/models/chat_details.py +126 -0
- oci/generative_ai_inference/models/chat_result.py +130 -0
- oci/generative_ai_inference/models/citation.py +165 -0
- oci/generative_ai_inference/models/cohere_chat_request.py +443 -0
- oci/generative_ai_inference/models/cohere_chat_response.py +272 -0
- oci/generative_ai_inference/models/cohere_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/cohere_message.py +119 -0
- oci/generative_ai_inference/models/embed_text_details.py +2 -2
- oci/generative_ai_inference/models/generic_chat_request.py +474 -0
- oci/generative_ai_inference/models/generic_chat_response.py +113 -0
- oci/generative_ai_inference/models/llama_llm_inference_request.py +2 -2
- oci/generative_ai_inference/models/llama_llm_inference_response.py +1 -1
- oci/generative_ai_inference/models/llm_inference_response.py +11 -3
- oci/generative_ai_inference/models/message.py +103 -0
- oci/generative_ai_inference/models/search_query.py +72 -0
- oci/generative_ai_inference/models/text_content.py +82 -0
- oci/generic_artifacts_content/generic_artifacts_content_client.py +3 -3
- oci/globally_distributed_database/sharded_database_service_client.py +29 -29
- oci/golden_gate/golden_gate_client.py +61 -61
- 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 +300 -300
- oci/integration/integration_instance_client.py +15 -15
- oci/jms/java_management_service_client.py +66 -66
- oci/jms_java_downloads/java_download_client.py +25 -25
- oci/key_management/ekm_client.py +5 -5
- oci/key_management/kms_crypto_client.py +6 -6
- oci/key_management/kms_hsm_cluster_client.py +12 -12
- oci/key_management/kms_management_client.py +21 -21
- oci/key_management/kms_vault_client.py +14 -14
- oci/license_manager/license_manager_client.py +18 -18
- oci/limits/limits_client.py +4 -4
- oci/limits/quotas_client.py +7 -7
- oci/load_balancer/load_balancer_client.py +61 -61
- oci/lockbox/lockbox_client.py +191 -46
- oci/lockbox/models/__init__.py +2 -0
- oci/lockbox/models/access_request_ext.py +671 -0
- oci/lockbox/models/access_request_summary.py +101 -2
- oci/lockbox/models/approver_info.py +33 -2
- oci/log_analytics/log_analytics_client.py +193 -193
- oci/logging/logging_management_client.py +30 -30
- oci/loggingingestion/logging_client.py +1 -1
- oci/loggingsearch/log_search_client.py +1 -1
- oci/management_agent/management_agent_client.py +28 -28
- oci/management_dashboard/dashx_apis_client.py +14 -14
- oci/marketplace/account_client.py +2 -2
- oci/marketplace/marketplace_client.py +30 -30
- oci/marketplace_publisher/marketplace_publisher_client.py +71 -71
- oci/media_services/media_services_client.py +60 -60
- oci/media_services/media_stream_client.py +2 -2
- oci/monitoring/monitoring_client.py +18 -18
- oci/mysql/channels_client.py +7 -7
- oci/mysql/db_backups_client.py +6 -6
- 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 +80 -80
- oci/network_load_balancer/network_load_balancer_client.py +34 -34
- oci/nosql/nosql_client.py +24 -24
- oci/object_storage/object_storage_client.py +50 -50
- oci/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/models/opa_instance.py +7 -3
- oci/opa/models/work_request.py +11 -3
- oci/opa/models/work_request_summary.py +11 -3
- oci/opa/opa_instance_client.py +223 -13
- oci/opa/opa_instance_client_composite_operations.py +78 -0
- oci/opensearch/opensearch_cluster_backup_client.py +4 -4
- oci/opensearch/opensearch_cluster_client.py +14 -14
- oci/operator_access_control/access_requests_client.py +10 -10
- oci/operator_access_control/operator_actions_client.py +2 -2
- oci/operator_access_control/operator_control_assignment_client.py +8 -8
- oci/operator_access_control/operator_control_client.py +6 -6
- oci/opsi/operations_insights_client.py +175 -175
- 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/__init__.py +3 -1
- oci/os_management_hub/event_client.py +1115 -0
- oci/os_management_hub/event_client_composite_operations.py +163 -0
- oci/os_management_hub/lifecycle_environment_client.py +258 -46
- oci/os_management_hub/lifecycle_environment_client_composite_operations.py +16 -6
- oci/os_management_hub/managed_instance_client.py +1643 -380
- oci/os_management_hub/managed_instance_client_composite_operations.py +171 -13
- oci/os_management_hub/managed_instance_group_client.py +549 -165
- oci/os_management_hub/managed_instance_group_client_composite_operations.py +182 -22
- oci/os_management_hub/management_station_client.py +284 -30
- oci/os_management_hub/management_station_client_composite_operations.py +55 -6
- oci/os_management_hub/models/__init__.py +106 -0
- oci/os_management_hub/models/add_packages_to_software_source_details.py +72 -0
- oci/os_management_hub/models/agent_event.py +184 -0
- oci/os_management_hub/models/agent_event_data.py +166 -0
- oci/os_management_hub/models/attach_managed_instances_to_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/attach_profile_to_managed_instance_details.py +76 -0
- oci/os_management_hub/models/attach_software_sources_to_managed_instance_details.py +1 -1
- oci/os_management_hub/models/attach_software_sources_to_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/autonomous_settings.py +107 -0
- oci/os_management_hub/models/available_package_collection.py +1 -1
- oci/os_management_hub/models/available_package_summary.py +1 -1
- oci/os_management_hub/models/available_software_source_collection.py +2 -1
- oci/os_management_hub/models/available_software_source_summary.py +17 -7
- oci/os_management_hub/models/available_windows_update_collection.py +72 -0
- oci/os_management_hub/models/available_windows_update_summary.py +222 -0
- oci/os_management_hub/models/change_availability_of_software_sources_details.py +4 -4
- oci/os_management_hub/models/change_event_compartment_details.py +76 -0
- oci/os_management_hub/models/change_lifecycle_environment_compartment_details.py +76 -0
- oci/os_management_hub/models/change_managed_instance_group_compartment_details.py +78 -0
- oci/os_management_hub/models/change_management_station_compartment_details.py +76 -0
- oci/os_management_hub/models/change_profile_compartment_details.py +76 -0
- oci/os_management_hub/models/change_scheduled_job_compartment_details.py +76 -0
- oci/os_management_hub/models/change_software_source_compartment_details.py +76 -0
- oci/os_management_hub/models/create_custom_software_source_details.py +98 -5
- oci/os_management_hub/models/create_entitlement_details.py +9 -5
- oci/os_management_hub/models/create_group_profile_details.py +22 -4
- oci/os_management_hub/models/create_lifecycle_environment_details.py +108 -23
- oci/os_management_hub/models/create_lifecycle_profile_details.py +22 -4
- oci/os_management_hub/models/create_lifecycle_stage_details.py +5 -7
- oci/os_management_hub/models/create_managed_instance_group_details.py +181 -24
- oci/os_management_hub/models/create_management_station_details.py +13 -9
- oci/os_management_hub/models/create_mirror_configuration_details.py +9 -9
- oci/os_management_hub/models/create_profile_details.py +86 -12
- oci/os_management_hub/models/create_proxy_configuration_details.py +9 -9
- oci/os_management_hub/models/create_scheduled_job_details.py +192 -35
- oci/os_management_hub/models/create_software_source_details.py +18 -10
- oci/os_management_hub/models/create_software_source_profile_details.py +55 -13
- oci/os_management_hub/models/create_station_profile_details.py +48 -10
- oci/os_management_hub/models/create_vendor_software_source_details.py +121 -0
- oci/os_management_hub/models/create_versioned_custom_software_source_details.py +96 -3
- oci/os_management_hub/models/custom_software_source.py +120 -10
- oci/os_management_hub/models/custom_software_source_filter.py +1 -1
- oci/os_management_hub/models/custom_software_source_summary.py +20 -5
- oci/os_management_hub/models/detach_managed_instances_from_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/detach_software_sources_from_managed_instance_details.py +1 -1
- oci/os_management_hub/models/detach_software_sources_from_managed_instance_group_details.py +8 -4
- oci/os_management_hub/models/disable_module_stream_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/disable_module_stream_on_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/enable_module_stream_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/enable_module_stream_on_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/entitlement_collection.py +3 -3
- oci/os_management_hub/models/entitlement_summary.py +9 -5
- oci/os_management_hub/models/erratum.py +60 -13
- oci/os_management_hub/models/erratum_collection.py +3 -3
- oci/os_management_hub/models/erratum_summary.py +60 -13
- oci/os_management_hub/models/event.py +714 -0
- oci/os_management_hub/models/event_collection.py +72 -0
- oci/os_management_hub/models/event_content.py +113 -0
- oci/os_management_hub/models/event_summary.py +573 -0
- oci/os_management_hub/models/exploit_attempt_additional_details.py +72 -0
- oci/os_management_hub/models/exploit_attempt_event.py +184 -0
- oci/os_management_hub/models/exploit_attempt_event_content.py +113 -0
- oci/os_management_hub/models/exploit_attempt_event_data.py +126 -0
- oci/os_management_hub/models/group_profile.py +26 -4
- oci/os_management_hub/models/id.py +9 -5
- oci/os_management_hub/models/install_all_windows_updates_on_managed_instances_in_compartment_details.py +165 -0
- oci/os_management_hub/models/install_module_stream_profile_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/install_module_stream_profile_on_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/install_packages_on_managed_instance_details.py +1 -1
- oci/os_management_hub/models/install_packages_on_managed_instance_group_details.py +1 -1
- oci/os_management_hub/models/install_windows_updates_on_managed_instance_details.py +165 -0
- oci/os_management_hub/models/install_windows_updates_on_managed_instance_group_details.py +130 -0
- oci/os_management_hub/models/installed_package_collection.py +1 -1
- oci/os_management_hub/models/installed_package_summary.py +3 -5
- oci/os_management_hub/models/installed_windows_update_collection.py +72 -0
- oci/os_management_hub/models/installed_windows_update_summary.py +160 -0
- oci/os_management_hub/models/kernel_crash_event.py +184 -0
- oci/os_management_hub/models/kernel_event_additional_details.py +68 -0
- oci/os_management_hub/models/kernel_event_content.py +183 -0
- oci/os_management_hub/models/kernel_event_data.py +219 -0
- oci/os_management_hub/models/kernel_oops_event.py +184 -0
- oci/os_management_hub/models/ksplice_update_event.py +184 -0
- oci/os_management_hub/models/ksplice_update_event_data.py +162 -0
- oci/os_management_hub/models/lifecycle_environment.py +132 -29
- oci/os_management_hub/models/lifecycle_environment_collection.py +1 -1
- oci/os_management_hub/models/lifecycle_environment_details.py +7 -3
- oci/os_management_hub/models/lifecycle_environment_summary.py +125 -26
- oci/os_management_hub/models/lifecycle_profile.py +26 -4
- oci/os_management_hub/models/lifecycle_stage.py +131 -30
- oci/os_management_hub/models/lifecycle_stage_collection.py +1 -1
- oci/os_management_hub/models/lifecycle_stage_details.py +7 -3
- oci/os_management_hub/models/lifecycle_stage_summary.py +134 -33
- oci/os_management_hub/models/manage_module_streams_on_managed_instance_details.py +16 -8
- oci/os_management_hub/models/managed_instance.py +238 -70
- oci/os_management_hub/models/managed_instance_analytic_collection.py +3 -3
- oci/os_management_hub/models/managed_instance_analytic_summary.py +19 -3
- oci/os_management_hub/models/managed_instance_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_details.py +7 -3
- oci/os_management_hub/models/managed_instance_erratum_summary.py +11 -13
- oci/os_management_hub/models/managed_instance_erratum_summary_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group.py +227 -27
- oci/os_management_hub/models/managed_instance_group_available_module_collection.py +3 -3
- oci/os_management_hub/models/managed_instance_group_available_module_summary.py +9 -5
- oci/os_management_hub/models/managed_instance_group_available_package_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group_available_package_summary.py +7 -7
- oci/os_management_hub/models/managed_instance_group_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group_details.py +9 -5
- oci/os_management_hub/models/managed_instance_group_installed_package_collection.py +1 -1
- oci/os_management_hub/models/managed_instance_group_installed_package_summary.py +1 -1
- oci/os_management_hub/models/managed_instance_group_module_collection.py +1 -2
- oci/os_management_hub/models/managed_instance_group_module_summary.py +11 -7
- oci/os_management_hub/models/managed_instance_group_summary.py +210 -22
- oci/os_management_hub/models/managed_instance_module_collection.py +1 -2
- oci/os_management_hub/models/managed_instance_module_summary.py +7 -3
- oci/os_management_hub/models/managed_instance_summary.py +169 -32
- oci/os_management_hub/models/management_station.py +74 -27
- oci/os_management_hub/models/management_station_collection.py +3 -3
- oci/os_management_hub/models/management_station_details.py +13 -5
- oci/os_management_hub/models/management_station_event.py +184 -0
- oci/os_management_hub/models/management_station_event_data.py +166 -0
- oci/os_management_hub/models/management_station_summary.py +97 -26
- oci/os_management_hub/models/mirror_configuration.py +9 -9
- oci/os_management_hub/models/mirror_summary.py +23 -3
- oci/os_management_hub/models/mirror_sync_status.py +11 -11
- oci/os_management_hub/models/module_collection.py +3 -3
- oci/os_management_hub/models/module_stream.py +7 -3
- oci/os_management_hub/models/module_stream_collection.py +3 -3
- oci/os_management_hub/models/module_stream_details.py +38 -3
- oci/os_management_hub/models/module_stream_details_body.py +1 -1
- oci/os_management_hub/models/module_stream_profile.py +1 -1
- oci/os_management_hub/models/module_stream_profile_collection.py +3 -3
- oci/os_management_hub/models/module_stream_profile_details.py +38 -3
- oci/os_management_hub/models/module_stream_profile_details_body.py +1 -1
- oci/os_management_hub/models/module_stream_profile_filter.py +3 -3
- oci/os_management_hub/models/module_stream_profile_summary.py +3 -3
- oci/os_management_hub/models/module_stream_summary.py +7 -3
- oci/os_management_hub/models/module_summary.py +7 -3
- oci/os_management_hub/models/package_filter.py +3 -3
- oci/os_management_hub/models/package_group.py +9 -9
- oci/os_management_hub/models/package_group_collection.py +1 -1
- oci/os_management_hub/models/package_group_filter.py +3 -3
- oci/os_management_hub/models/package_group_summary.py +7 -7
- oci/os_management_hub/models/package_name_summary.py +7 -7
- oci/os_management_hub/models/package_summary.py +5 -5
- oci/os_management_hub/models/profile.py +189 -24
- oci/os_management_hub/models/profile_summary.py +157 -24
- oci/os_management_hub/models/promote_software_source_to_lifecycle_stage_details.py +1 -22
- oci/os_management_hub/models/proxy_configuration.py +9 -9
- oci/os_management_hub/models/remove_module_stream_profile_from_managed_instance_details.py +1 -1
- oci/os_management_hub/models/remove_module_stream_profile_from_managed_instance_group_details.py +39 -4
- oci/os_management_hub/models/remove_packages_from_managed_instance_details.py +1 -1
- oci/os_management_hub/models/remove_packages_from_managed_instance_group_details.py +1 -1
- oci/os_management_hub/models/scheduled_job.py +216 -39
- oci/os_management_hub/models/scheduled_job_collection.py +1 -1
- oci/os_management_hub/models/scheduled_job_operation.py +73 -8
- oci/os_management_hub/models/scheduled_job_summary.py +223 -48
- oci/os_management_hub/models/search_software_source_module_streams_details.py +7 -3
- oci/os_management_hub/models/search_software_source_modules_details.py +9 -5
- oci/os_management_hub/models/search_software_source_package_groups_details.py +9 -5
- oci/os_management_hub/models/software_package.py +80 -9
- oci/os_management_hub/models/software_package_collection.py +1 -1
- oci/os_management_hub/models/software_package_dependency.py +1 -1
- oci/os_management_hub/models/software_package_file.py +2 -4
- oci/os_management_hub/models/software_package_summary.py +74 -7
- oci/os_management_hub/models/software_packages_details.py +1 -1
- oci/os_management_hub/models/software_source.py +154 -32
- oci/os_management_hub/models/software_source_availability.py +76 -11
- oci/os_management_hub/models/software_source_collection.py +3 -3
- oci/os_management_hub/models/software_source_details.py +40 -5
- oci/os_management_hub/models/software_source_event.py +184 -0
- oci/os_management_hub/models/software_source_event_data.py +190 -0
- oci/os_management_hub/models/software_source_profile.py +26 -4
- oci/os_management_hub/models/software_source_summary.py +149 -33
- oci/os_management_hub/models/software_source_vendor_collection.py +3 -3
- oci/os_management_hub/models/software_source_vendor_summary.py +35 -11
- oci/os_management_hub/models/software_update_event.py +184 -0
- oci/os_management_hub/models/software_update_event_data.py +186 -0
- oci/os_management_hub/models/station_health.py +119 -0
- oci/os_management_hub/models/station_profile.py +26 -4
- oci/os_management_hub/models/switch_module_stream_on_managed_instance_details.py +38 -3
- oci/os_management_hub/models/switch_module_stream_on_managed_instance_group_details.py +165 -0
- oci/os_management_hub/models/system_details.py +326 -0
- oci/os_management_hub/models/updatable_autonomous_settings.py +72 -0
- oci/os_management_hub/models/updatable_package_collection.py +1 -1
- oci/os_management_hub/models/updatable_package_summary.py +7 -7
- oci/os_management_hub/models/update_all_packages_on_managed_instance_group_details.py +1 -1
- oci/os_management_hub/models/update_all_packages_on_managed_instances_in_compartment_details.py +9 -5
- oci/os_management_hub/models/update_custom_software_source_details.py +38 -7
- oci/os_management_hub/models/update_event_details.py +119 -0
- oci/os_management_hub/models/update_lifecycle_environment_details.py +5 -5
- oci/os_management_hub/models/update_lifecycle_stage_details.py +9 -5
- oci/os_management_hub/models/update_managed_instance_details.py +108 -7
- oci/os_management_hub/models/update_managed_instance_group_details.py +67 -5
- oci/os_management_hub/models/update_management_station_details.py +7 -7
- oci/os_management_hub/models/update_mirror_configuration_details.py +9 -9
- oci/os_management_hub/models/update_packages_on_managed_instance_details.py +3 -3
- oci/os_management_hub/models/update_profile_details.py +35 -4
- oci/os_management_hub/models/update_proxy_configuration_details.py +9 -9
- oci/os_management_hub/models/update_scheduled_job_details.py +74 -15
- oci/os_management_hub/models/update_software_source_details.py +15 -7
- oci/os_management_hub/models/update_vendor_software_source_details.py +1 -1
- oci/os_management_hub/models/update_versioned_custom_software_source_details.py +86 -0
- oci/os_management_hub/models/update_work_request_details.py +1 -1
- oci/os_management_hub/models/vendor_software_source.py +97 -9
- oci/os_management_hub/models/vendor_software_source_summary.py +59 -8
- oci/os_management_hub/models/versioned_custom_software_source.py +116 -8
- oci/os_management_hub/models/versioned_custom_software_source_summary.py +20 -5
- oci/os_management_hub/models/vmcore_details.py +103 -0
- oci/os_management_hub/models/windows_standalone_profile.py +168 -0
- oci/os_management_hub/models/windows_update.py +362 -0
- oci/os_management_hub/models/windows_update_collection.py +73 -0
- oci/os_management_hub/models/windows_update_summary.py +222 -0
- oci/os_management_hub/models/work_request.py +348 -40
- oci/os_management_hub/models/work_request_details.py +5 -5
- oci/os_management_hub/models/work_request_error.py +6 -2
- oci/os_management_hub/models/work_request_event_data_additional_details.py +111 -0
- oci/os_management_hub/models/work_request_log_entry.py +6 -2
- oci/os_management_hub/models/work_request_management_station_details.py +2 -2
- oci/os_management_hub/models/work_request_summary.py +147 -19
- oci/os_management_hub/models/work_request_summary_collection.py +2 -2
- oci/os_management_hub/onboarding_client.py +171 -25
- oci/os_management_hub/onboarding_client_composite_operations.py +7 -3
- oci/os_management_hub/reporting_managed_instance_client.py +217 -60
- oci/os_management_hub/scheduled_job_client.py +214 -38
- oci/os_management_hub/scheduled_job_client_composite_operations.py +8 -4
- oci/os_management_hub/software_source_client.py +971 -89
- oci/os_management_hub/software_source_client_composite_operations.py +50 -2
- oci/os_management_hub/work_request_client.py +61 -18
- oci/osp_gateway/address_rule_service_client.py +1 -1
- oci/osp_gateway/address_service_client.py +2 -2
- oci/osp_gateway/invoice_service_client.py +5 -5
- oci/osp_gateway/subscription_service_client.py +5 -5
- oci/osub_billing_schedule/billing_schedule_client.py +1 -1
- oci/osub_organization_subscription/organization_subscription_client.py +1 -1
- oci/osub_subscription/commitment_client.py +2 -2
- oci/osub_subscription/ratecard_client.py +1 -1
- oci/osub_subscription/subscription_client.py +1 -1
- oci/osub_usage/computed_usage_client.py +3 -3
- oci/psql/postgresql_client.py +33 -33
- oci/queue/queue_admin_client.py +11 -11
- oci/queue/queue_client.py +8 -8
- oci/recovery/database_recovery_client.py +23 -23
- oci/redis/models/create_redis_cluster_details.py +31 -0
- oci/redis/models/redis_cluster.py +31 -0
- oci/redis/models/redis_cluster_summary.py +31 -0
- oci/redis/models/update_redis_cluster_details.py +31 -0
- oci/redis/redis_cluster_client.py +11 -11
- oci/resource_manager/resource_manager_client.py +52 -52
- oci/resource_search/resource_search_client.py +3 -3
- oci/rover/rover_bundle_client.py +8 -8
- oci/rover/rover_cluster_client.py +8 -8
- oci/rover/rover_entitlement_client.py +6 -6
- oci/rover/rover_node_client.py +15 -15
- oci/rover/shape_client.py +1 -1
- oci/rover/work_requests_client.py +5 -5
- oci/sch/connector_plugins_client.py +2 -2
- oci/sch/service_connector_client.py +12 -12
- oci/secrets/secrets_client.py +3 -3
- oci/service_catalog/service_catalog_client.py +26 -26
- oci/service_manager_proxy/service_manager_proxy_client.py +2 -2
- oci/service_mesh/service_mesh_client.py +48 -48
- oci/stack_monitoring/stack_monitoring_client.py +64 -64
- oci/streaming/stream_admin_client.py +18 -18
- oci/streaming/stream_client.py +8 -8
- oci/tenant_manager_control_plane/domain_client.py +5 -5
- oci/tenant_manager_control_plane/domain_governance_client.py +5 -5
- oci/tenant_manager_control_plane/governance_client.py +2 -2
- oci/tenant_manager_control_plane/link_client.py +3 -3
- oci/tenant_manager_control_plane/orders_client.py +2 -2
- oci/tenant_manager_control_plane/organization_client.py +10 -10
- oci/tenant_manager_control_plane/recipient_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/sender_invitation_client.py +5 -5
- oci/tenant_manager_control_plane/subscription_client.py +11 -11
- oci/tenant_manager_control_plane/work_request_client.py +4 -4
- oci/threat_intelligence/threatintel_client.py +5 -5
- oci/usage/resources_client.py +2 -2
- oci/usage/rewards_client.py +6 -6
- oci/usage/usagelimits_client.py +1 -1
- oci/usage_api/models/__init__.py +12 -0
- oci/usage_api/models/create_email_recipients_group_details.py +103 -0
- oci/usage_api/models/email_recipient.py +181 -0
- oci/usage_api/models/email_recipients_group.py +181 -0
- oci/usage_api/models/email_recipients_group_collection.py +72 -0
- oci/usage_api/models/email_recipients_group_summary.py +272 -0
- oci/usage_api/models/update_email_recipients_group_details.py +72 -0
- oci/usage_api/usageapi_client.py +656 -34
- oci/usage_api/usageapi_client_composite_operations.py +96 -0
- oci/vault/vaults_client.py +13 -13
- oci/vbs_inst/vbs_instance_client.py +10 -10
- oci/version.py +1 -1
- oci/visual_builder/vb_instance_client.py +13 -13
- oci/vn_monitoring/vn_monitoring_client.py +12 -12
- oci/vulnerability_scanning/vulnerability_scanning_client.py +58 -58
- oci/waa/waa_client.py +13 -13
- oci/waa/work_request_client.py +4 -4
- oci/waas/redirect_client.py +6 -6
- oci/waas/waas_client.py +66 -66
- oci/waf/waf_client.py +24 -24
- oci/work_requests/work_request_client.py +4 -4
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/METADATA +1 -1
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/RECORD +880 -764
- oci/application_migration/application_migration_client.py +0 -2489
- oci/application_migration/application_migration_client_composite_operations.py +0 -419
- oci/application_migration/models/__init__.py +0 -84
- oci/application_migration/models/authorization_details.py +0 -130
- oci/application_migration/models/configuration_field.py +0 -291
- oci/application_migration/models/create_migration_details.py +0 -464
- oci/application_migration/models/create_source_details.py +0 -272
- oci/application_migration/models/discovery_details.py +0 -141
- oci/application_migration/models/ics_discovery_details.py +0 -114
- oci/application_migration/models/import_manifest.py +0 -227
- oci/application_migration/models/import_source_details.py +0 -171
- oci/application_migration/models/internal_authorization_details.py +0 -113
- oci/application_migration/models/internal_source_details.py +0 -82
- oci/application_migration/models/jcs_discovery_details.py +0 -115
- oci/application_migration/models/migration.py +0 -731
- oci/application_migration/models/migration_summary.py +0 -572
- oci/application_migration/models/oac_discovery_details.py +0 -113
- oci/application_migration/models/occ_authorization_details.py +0 -113
- oci/application_migration/models/occ_source_details.py +0 -86
- oci/application_migration/models/ocic_authorization_details.py +0 -113
- oci/application_migration/models/ocic_authorization_token_details.py +0 -113
- oci/application_migration/models/ocic_source_details.py +0 -121
- oci/application_migration/models/oic_discovery_details.py +0 -114
- oci/application_migration/models/pcs_discovery_details.py +0 -114
- oci/application_migration/models/resource_field.py +0 -165
- oci/application_migration/models/soacs_discovery_details.py +0 -115
- oci/application_migration/models/source.py +0 -407
- oci/application_migration/models/source_application.py +0 -232
- oci/application_migration/models/source_application_summary.py +0 -233
- oci/application_migration/models/source_details.py +0 -137
- oci/application_migration/models/source_summary.py +0 -431
- oci/application_migration/models/update_migration_details.py +0 -309
- oci/application_migration/models/update_source_details.py +0 -232
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/LICENSE.txt +0 -0
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/THIRD_PARTY_LICENSES.txt +0 -0
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/WHEEL +0 -0
- {oci-2.125.2.dist-info → oci-2.126.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,474 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, 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: 20231130
|
6
|
+
|
7
|
+
from .base_chat_request import BaseChatRequest
|
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 GenericChatRequest(BaseChatRequest):
|
14
|
+
"""
|
15
|
+
Details for the chat request.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new GenericChatRequest object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.GenericChatRequest.api_format` attribute
|
21
|
+
of this class is ``GENERIC`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param api_format:
|
25
|
+
The value to assign to the api_format property of this GenericChatRequest.
|
26
|
+
Allowed values for this property are: "COHERE", "GENERIC"
|
27
|
+
:type api_format: str
|
28
|
+
|
29
|
+
:param messages:
|
30
|
+
The value to assign to the messages property of this GenericChatRequest.
|
31
|
+
:type messages: list[oci.generative_ai_inference.models.Message]
|
32
|
+
|
33
|
+
:param is_stream:
|
34
|
+
The value to assign to the is_stream property of this GenericChatRequest.
|
35
|
+
:type is_stream: bool
|
36
|
+
|
37
|
+
:param num_generations:
|
38
|
+
The value to assign to the num_generations property of this GenericChatRequest.
|
39
|
+
:type num_generations: int
|
40
|
+
|
41
|
+
:param is_echo:
|
42
|
+
The value to assign to the is_echo property of this GenericChatRequest.
|
43
|
+
:type is_echo: bool
|
44
|
+
|
45
|
+
:param top_k:
|
46
|
+
The value to assign to the top_k property of this GenericChatRequest.
|
47
|
+
:type top_k: int
|
48
|
+
|
49
|
+
:param top_p:
|
50
|
+
The value to assign to the top_p property of this GenericChatRequest.
|
51
|
+
:type top_p: float
|
52
|
+
|
53
|
+
:param temperature:
|
54
|
+
The value to assign to the temperature property of this GenericChatRequest.
|
55
|
+
:type temperature: float
|
56
|
+
|
57
|
+
:param frequency_penalty:
|
58
|
+
The value to assign to the frequency_penalty property of this GenericChatRequest.
|
59
|
+
:type frequency_penalty: float
|
60
|
+
|
61
|
+
:param presence_penalty:
|
62
|
+
The value to assign to the presence_penalty property of this GenericChatRequest.
|
63
|
+
:type presence_penalty: float
|
64
|
+
|
65
|
+
:param stop:
|
66
|
+
The value to assign to the stop property of this GenericChatRequest.
|
67
|
+
:type stop: list[str]
|
68
|
+
|
69
|
+
:param log_probs:
|
70
|
+
The value to assign to the log_probs property of this GenericChatRequest.
|
71
|
+
:type log_probs: int
|
72
|
+
|
73
|
+
:param max_tokens:
|
74
|
+
The value to assign to the max_tokens property of this GenericChatRequest.
|
75
|
+
:type max_tokens: int
|
76
|
+
|
77
|
+
:param logit_bias:
|
78
|
+
The value to assign to the logit_bias property of this GenericChatRequest.
|
79
|
+
:type logit_bias: object
|
80
|
+
|
81
|
+
"""
|
82
|
+
self.swagger_types = {
|
83
|
+
'api_format': 'str',
|
84
|
+
'messages': 'list[Message]',
|
85
|
+
'is_stream': 'bool',
|
86
|
+
'num_generations': 'int',
|
87
|
+
'is_echo': 'bool',
|
88
|
+
'top_k': 'int',
|
89
|
+
'top_p': 'float',
|
90
|
+
'temperature': 'float',
|
91
|
+
'frequency_penalty': 'float',
|
92
|
+
'presence_penalty': 'float',
|
93
|
+
'stop': 'list[str]',
|
94
|
+
'log_probs': 'int',
|
95
|
+
'max_tokens': 'int',
|
96
|
+
'logit_bias': 'object'
|
97
|
+
}
|
98
|
+
|
99
|
+
self.attribute_map = {
|
100
|
+
'api_format': 'apiFormat',
|
101
|
+
'messages': 'messages',
|
102
|
+
'is_stream': 'isStream',
|
103
|
+
'num_generations': 'numGenerations',
|
104
|
+
'is_echo': 'isEcho',
|
105
|
+
'top_k': 'topK',
|
106
|
+
'top_p': 'topP',
|
107
|
+
'temperature': 'temperature',
|
108
|
+
'frequency_penalty': 'frequencyPenalty',
|
109
|
+
'presence_penalty': 'presencePenalty',
|
110
|
+
'stop': 'stop',
|
111
|
+
'log_probs': 'logProbs',
|
112
|
+
'max_tokens': 'maxTokens',
|
113
|
+
'logit_bias': 'logitBias'
|
114
|
+
}
|
115
|
+
|
116
|
+
self._api_format = None
|
117
|
+
self._messages = None
|
118
|
+
self._is_stream = None
|
119
|
+
self._num_generations = None
|
120
|
+
self._is_echo = None
|
121
|
+
self._top_k = None
|
122
|
+
self._top_p = None
|
123
|
+
self._temperature = None
|
124
|
+
self._frequency_penalty = None
|
125
|
+
self._presence_penalty = None
|
126
|
+
self._stop = None
|
127
|
+
self._log_probs = None
|
128
|
+
self._max_tokens = None
|
129
|
+
self._logit_bias = None
|
130
|
+
self._api_format = 'GENERIC'
|
131
|
+
|
132
|
+
@property
|
133
|
+
def messages(self):
|
134
|
+
"""
|
135
|
+
Gets the messages of this GenericChatRequest.
|
136
|
+
The series of messages associated with this chat completion request. It should include previous messages in the conversation. Each message has a role and content.
|
137
|
+
|
138
|
+
|
139
|
+
:return: The messages of this GenericChatRequest.
|
140
|
+
:rtype: list[oci.generative_ai_inference.models.Message]
|
141
|
+
"""
|
142
|
+
return self._messages
|
143
|
+
|
144
|
+
@messages.setter
|
145
|
+
def messages(self, messages):
|
146
|
+
"""
|
147
|
+
Sets the messages of this GenericChatRequest.
|
148
|
+
The series of messages associated with this chat completion request. It should include previous messages in the conversation. Each message has a role and content.
|
149
|
+
|
150
|
+
|
151
|
+
:param messages: The messages of this GenericChatRequest.
|
152
|
+
:type: list[oci.generative_ai_inference.models.Message]
|
153
|
+
"""
|
154
|
+
self._messages = messages
|
155
|
+
|
156
|
+
@property
|
157
|
+
def is_stream(self):
|
158
|
+
"""
|
159
|
+
Gets the is_stream of this GenericChatRequest.
|
160
|
+
Whether to stream back partial progress. If set, tokens are sent as data-only server-sent events as they become available.
|
161
|
+
|
162
|
+
|
163
|
+
:return: The is_stream of this GenericChatRequest.
|
164
|
+
:rtype: bool
|
165
|
+
"""
|
166
|
+
return self._is_stream
|
167
|
+
|
168
|
+
@is_stream.setter
|
169
|
+
def is_stream(self, is_stream):
|
170
|
+
"""
|
171
|
+
Sets the is_stream of this GenericChatRequest.
|
172
|
+
Whether to stream back partial progress. If set, tokens are sent as data-only server-sent events as they become available.
|
173
|
+
|
174
|
+
|
175
|
+
:param is_stream: The is_stream of this GenericChatRequest.
|
176
|
+
:type: bool
|
177
|
+
"""
|
178
|
+
self._is_stream = is_stream
|
179
|
+
|
180
|
+
@property
|
181
|
+
def num_generations(self):
|
182
|
+
"""
|
183
|
+
Gets the num_generations of this GenericChatRequest.
|
184
|
+
The number of of generated texts that will be returned.
|
185
|
+
|
186
|
+
|
187
|
+
:return: The num_generations of this GenericChatRequest.
|
188
|
+
:rtype: int
|
189
|
+
"""
|
190
|
+
return self._num_generations
|
191
|
+
|
192
|
+
@num_generations.setter
|
193
|
+
def num_generations(self, num_generations):
|
194
|
+
"""
|
195
|
+
Sets the num_generations of this GenericChatRequest.
|
196
|
+
The number of of generated texts that will be returned.
|
197
|
+
|
198
|
+
|
199
|
+
:param num_generations: The num_generations of this GenericChatRequest.
|
200
|
+
:type: int
|
201
|
+
"""
|
202
|
+
self._num_generations = num_generations
|
203
|
+
|
204
|
+
@property
|
205
|
+
def is_echo(self):
|
206
|
+
"""
|
207
|
+
Gets the is_echo of this GenericChatRequest.
|
208
|
+
Whether or not to return the user prompt in the response. Applies only to non-stream results.
|
209
|
+
|
210
|
+
|
211
|
+
:return: The is_echo of this GenericChatRequest.
|
212
|
+
:rtype: bool
|
213
|
+
"""
|
214
|
+
return self._is_echo
|
215
|
+
|
216
|
+
@is_echo.setter
|
217
|
+
def is_echo(self, is_echo):
|
218
|
+
"""
|
219
|
+
Sets the is_echo of this GenericChatRequest.
|
220
|
+
Whether or not to return the user prompt in the response. Applies only to non-stream results.
|
221
|
+
|
222
|
+
|
223
|
+
:param is_echo: The is_echo of this GenericChatRequest.
|
224
|
+
:type: bool
|
225
|
+
"""
|
226
|
+
self._is_echo = is_echo
|
227
|
+
|
228
|
+
@property
|
229
|
+
def top_k(self):
|
230
|
+
"""
|
231
|
+
Gets the top_k of this GenericChatRequest.
|
232
|
+
An integer that sets up the model to use only the top k most likely tokens in the generated output. A higher k introduces more randomness into the output making the output text sound more natural. Default value is -1 which means to consider all tokens. Setting to 0 disables this method and considers all tokens.
|
233
|
+
|
234
|
+
If also using top p, then the model considers only the top tokens whose probabilities add up to p percent and ignores the rest of the k tokens. For example, if k is 20, but the probabilities of the top 10 add up to .75, then only the top 10 tokens are chosen.
|
235
|
+
|
236
|
+
|
237
|
+
:return: The top_k of this GenericChatRequest.
|
238
|
+
:rtype: int
|
239
|
+
"""
|
240
|
+
return self._top_k
|
241
|
+
|
242
|
+
@top_k.setter
|
243
|
+
def top_k(self, top_k):
|
244
|
+
"""
|
245
|
+
Sets the top_k of this GenericChatRequest.
|
246
|
+
An integer that sets up the model to use only the top k most likely tokens in the generated output. A higher k introduces more randomness into the output making the output text sound more natural. Default value is -1 which means to consider all tokens. Setting to 0 disables this method and considers all tokens.
|
247
|
+
|
248
|
+
If also using top p, then the model considers only the top tokens whose probabilities add up to p percent and ignores the rest of the k tokens. For example, if k is 20, but the probabilities of the top 10 add up to .75, then only the top 10 tokens are chosen.
|
249
|
+
|
250
|
+
|
251
|
+
:param top_k: The top_k of this GenericChatRequest.
|
252
|
+
:type: int
|
253
|
+
"""
|
254
|
+
self._top_k = top_k
|
255
|
+
|
256
|
+
@property
|
257
|
+
def top_p(self):
|
258
|
+
"""
|
259
|
+
Gets the top_p of this GenericChatRequest.
|
260
|
+
If set to a probability 0.0 < p < 1.0, it ensures that only the most likely tokens, with total probability mass of p, are considered for generation at each step.
|
261
|
+
|
262
|
+
To eliminate tokens with low likelihood, assign p a minimum percentage for the next token's likelihood. For example, when p is set to 0.75, the model eliminates the bottom 25 percent for the next token. Set to 1 to consider all tokens and set to 0 to disable. If both k and p are enabled, p acts after k.
|
263
|
+
|
264
|
+
|
265
|
+
:return: The top_p of this GenericChatRequest.
|
266
|
+
:rtype: float
|
267
|
+
"""
|
268
|
+
return self._top_p
|
269
|
+
|
270
|
+
@top_p.setter
|
271
|
+
def top_p(self, top_p):
|
272
|
+
"""
|
273
|
+
Sets the top_p of this GenericChatRequest.
|
274
|
+
If set to a probability 0.0 < p < 1.0, it ensures that only the most likely tokens, with total probability mass of p, are considered for generation at each step.
|
275
|
+
|
276
|
+
To eliminate tokens with low likelihood, assign p a minimum percentage for the next token's likelihood. For example, when p is set to 0.75, the model eliminates the bottom 25 percent for the next token. Set to 1 to consider all tokens and set to 0 to disable. If both k and p are enabled, p acts after k.
|
277
|
+
|
278
|
+
|
279
|
+
:param top_p: The top_p of this GenericChatRequest.
|
280
|
+
:type: float
|
281
|
+
"""
|
282
|
+
self._top_p = top_p
|
283
|
+
|
284
|
+
@property
|
285
|
+
def temperature(self):
|
286
|
+
"""
|
287
|
+
Gets the temperature of this GenericChatRequest.
|
288
|
+
A number that sets the randomness of the generated output. A lower temperature means a less random generations.
|
289
|
+
|
290
|
+
Use lower numbers for tasks with a correct answer such as question answering or summarizing. High temperatures can generate hallucinations or factually incorrect information. Start with temperatures lower than 1.0 and increase the temperature for more creative outputs, as you regenerate the prompts to refine the outputs.
|
291
|
+
|
292
|
+
|
293
|
+
:return: The temperature of this GenericChatRequest.
|
294
|
+
:rtype: float
|
295
|
+
"""
|
296
|
+
return self._temperature
|
297
|
+
|
298
|
+
@temperature.setter
|
299
|
+
def temperature(self, temperature):
|
300
|
+
"""
|
301
|
+
Sets the temperature of this GenericChatRequest.
|
302
|
+
A number that sets the randomness of the generated output. A lower temperature means a less random generations.
|
303
|
+
|
304
|
+
Use lower numbers for tasks with a correct answer such as question answering or summarizing. High temperatures can generate hallucinations or factually incorrect information. Start with temperatures lower than 1.0 and increase the temperature for more creative outputs, as you regenerate the prompts to refine the outputs.
|
305
|
+
|
306
|
+
|
307
|
+
:param temperature: The temperature of this GenericChatRequest.
|
308
|
+
:type: float
|
309
|
+
"""
|
310
|
+
self._temperature = temperature
|
311
|
+
|
312
|
+
@property
|
313
|
+
def frequency_penalty(self):
|
314
|
+
"""
|
315
|
+
Gets the frequency_penalty of this GenericChatRequest.
|
316
|
+
To reduce repetitiveness of generated tokens, this number penalizes new tokens based on their frequency in the generated text so far. Values > 0 encourage the model to use new tokens and values < 0 encourage the model to repeat tokens. Set to 0 to disable.
|
317
|
+
|
318
|
+
|
319
|
+
:return: The frequency_penalty of this GenericChatRequest.
|
320
|
+
:rtype: float
|
321
|
+
"""
|
322
|
+
return self._frequency_penalty
|
323
|
+
|
324
|
+
@frequency_penalty.setter
|
325
|
+
def frequency_penalty(self, frequency_penalty):
|
326
|
+
"""
|
327
|
+
Sets the frequency_penalty of this GenericChatRequest.
|
328
|
+
To reduce repetitiveness of generated tokens, this number penalizes new tokens based on their frequency in the generated text so far. Values > 0 encourage the model to use new tokens and values < 0 encourage the model to repeat tokens. Set to 0 to disable.
|
329
|
+
|
330
|
+
|
331
|
+
:param frequency_penalty: The frequency_penalty of this GenericChatRequest.
|
332
|
+
:type: float
|
333
|
+
"""
|
334
|
+
self._frequency_penalty = frequency_penalty
|
335
|
+
|
336
|
+
@property
|
337
|
+
def presence_penalty(self):
|
338
|
+
"""
|
339
|
+
Gets the presence_penalty of this GenericChatRequest.
|
340
|
+
To reduce repetitiveness of generated tokens, this number penalizes new tokens based on whether they've appeared in the generated text so far. Values > 0 encourage the model to use new tokens and values < 0 encourage the model to repeat tokens.
|
341
|
+
|
342
|
+
Similar to frequency penalty, a penalty is applied to previously present tokens, except that this penalty is applied equally to all tokens that have already appeared, regardless of how many times they've appeared. Set to 0 to disable.
|
343
|
+
|
344
|
+
|
345
|
+
:return: The presence_penalty of this GenericChatRequest.
|
346
|
+
:rtype: float
|
347
|
+
"""
|
348
|
+
return self._presence_penalty
|
349
|
+
|
350
|
+
@presence_penalty.setter
|
351
|
+
def presence_penalty(self, presence_penalty):
|
352
|
+
"""
|
353
|
+
Sets the presence_penalty of this GenericChatRequest.
|
354
|
+
To reduce repetitiveness of generated tokens, this number penalizes new tokens based on whether they've appeared in the generated text so far. Values > 0 encourage the model to use new tokens and values < 0 encourage the model to repeat tokens.
|
355
|
+
|
356
|
+
Similar to frequency penalty, a penalty is applied to previously present tokens, except that this penalty is applied equally to all tokens that have already appeared, regardless of how many times they've appeared. Set to 0 to disable.
|
357
|
+
|
358
|
+
|
359
|
+
:param presence_penalty: The presence_penalty of this GenericChatRequest.
|
360
|
+
:type: float
|
361
|
+
"""
|
362
|
+
self._presence_penalty = presence_penalty
|
363
|
+
|
364
|
+
@property
|
365
|
+
def stop(self):
|
366
|
+
"""
|
367
|
+
Gets the stop of this GenericChatRequest.
|
368
|
+
List of strings that stop the generation if they are generated for the response text. The returned output will not contain the stop strings.
|
369
|
+
|
370
|
+
|
371
|
+
:return: The stop of this GenericChatRequest.
|
372
|
+
:rtype: list[str]
|
373
|
+
"""
|
374
|
+
return self._stop
|
375
|
+
|
376
|
+
@stop.setter
|
377
|
+
def stop(self, stop):
|
378
|
+
"""
|
379
|
+
Sets the stop of this GenericChatRequest.
|
380
|
+
List of strings that stop the generation if they are generated for the response text. The returned output will not contain the stop strings.
|
381
|
+
|
382
|
+
|
383
|
+
:param stop: The stop of this GenericChatRequest.
|
384
|
+
:type: list[str]
|
385
|
+
"""
|
386
|
+
self._stop = stop
|
387
|
+
|
388
|
+
@property
|
389
|
+
def log_probs(self):
|
390
|
+
"""
|
391
|
+
Gets the log_probs of this GenericChatRequest.
|
392
|
+
Includes the logarithmic probabilities for the most likely output tokens and the chosen tokens.
|
393
|
+
|
394
|
+
For example, if the log probability is 5, the API returns a list of the 5 most likely tokens. The API returns the log probability of the sampled token, so there might be up to logprobs+1 elements in the response.
|
395
|
+
|
396
|
+
|
397
|
+
:return: The log_probs of this GenericChatRequest.
|
398
|
+
:rtype: int
|
399
|
+
"""
|
400
|
+
return self._log_probs
|
401
|
+
|
402
|
+
@log_probs.setter
|
403
|
+
def log_probs(self, log_probs):
|
404
|
+
"""
|
405
|
+
Sets the log_probs of this GenericChatRequest.
|
406
|
+
Includes the logarithmic probabilities for the most likely output tokens and the chosen tokens.
|
407
|
+
|
408
|
+
For example, if the log probability is 5, the API returns a list of the 5 most likely tokens. The API returns the log probability of the sampled token, so there might be up to logprobs+1 elements in the response.
|
409
|
+
|
410
|
+
|
411
|
+
:param log_probs: The log_probs of this GenericChatRequest.
|
412
|
+
:type: int
|
413
|
+
"""
|
414
|
+
self._log_probs = log_probs
|
415
|
+
|
416
|
+
@property
|
417
|
+
def max_tokens(self):
|
418
|
+
"""
|
419
|
+
Gets the max_tokens of this GenericChatRequest.
|
420
|
+
The maximum number of tokens that can be generated per output sequence. The token count of your prompt plus max_tokens cannot exceed the model's context length.
|
421
|
+
|
422
|
+
|
423
|
+
:return: The max_tokens of this GenericChatRequest.
|
424
|
+
:rtype: int
|
425
|
+
"""
|
426
|
+
return self._max_tokens
|
427
|
+
|
428
|
+
@max_tokens.setter
|
429
|
+
def max_tokens(self, max_tokens):
|
430
|
+
"""
|
431
|
+
Sets the max_tokens of this GenericChatRequest.
|
432
|
+
The maximum number of tokens that can be generated per output sequence. The token count of your prompt plus max_tokens cannot exceed the model's context length.
|
433
|
+
|
434
|
+
|
435
|
+
:param max_tokens: The max_tokens of this GenericChatRequest.
|
436
|
+
:type: int
|
437
|
+
"""
|
438
|
+
self._max_tokens = max_tokens
|
439
|
+
|
440
|
+
@property
|
441
|
+
def logit_bias(self):
|
442
|
+
"""
|
443
|
+
Gets the logit_bias of this GenericChatRequest.
|
444
|
+
Modify the likelihood of specified tokens appearing in the completion.
|
445
|
+
|
446
|
+
|
447
|
+
:return: The logit_bias of this GenericChatRequest.
|
448
|
+
:rtype: object
|
449
|
+
"""
|
450
|
+
return self._logit_bias
|
451
|
+
|
452
|
+
@logit_bias.setter
|
453
|
+
def logit_bias(self, logit_bias):
|
454
|
+
"""
|
455
|
+
Sets the logit_bias of this GenericChatRequest.
|
456
|
+
Modify the likelihood of specified tokens appearing in the completion.
|
457
|
+
|
458
|
+
|
459
|
+
:param logit_bias: The logit_bias of this GenericChatRequest.
|
460
|
+
:type: object
|
461
|
+
"""
|
462
|
+
self._logit_bias = logit_bias
|
463
|
+
|
464
|
+
def __repr__(self):
|
465
|
+
return formatted_flat_dict(self)
|
466
|
+
|
467
|
+
def __eq__(self, other):
|
468
|
+
if other is None:
|
469
|
+
return False
|
470
|
+
|
471
|
+
return self.__dict__ == other.__dict__
|
472
|
+
|
473
|
+
def __ne__(self, other):
|
474
|
+
return not self == other
|
@@ -0,0 +1,113 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
# Copyright (c) 2016, 2024, 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: 20231130
|
6
|
+
|
7
|
+
from .base_chat_response import BaseChatResponse
|
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 GenericChatResponse(BaseChatResponse):
|
14
|
+
"""
|
15
|
+
The response to the chat conversation.
|
16
|
+
"""
|
17
|
+
|
18
|
+
def __init__(self, **kwargs):
|
19
|
+
"""
|
20
|
+
Initializes a new GenericChatResponse object with values from keyword arguments. The default value of the :py:attr:`~oci.generative_ai_inference.models.GenericChatResponse.api_format` attribute
|
21
|
+
of this class is ``GENERIC`` and it should not be changed.
|
22
|
+
The following keyword arguments are supported (corresponding to the getters/setters of this class):
|
23
|
+
|
24
|
+
:param api_format:
|
25
|
+
The value to assign to the api_format property of this GenericChatResponse.
|
26
|
+
Allowed values for this property are: "COHERE", "GENERIC"
|
27
|
+
:type api_format: str
|
28
|
+
|
29
|
+
:param time_created:
|
30
|
+
The value to assign to the time_created property of this GenericChatResponse.
|
31
|
+
:type time_created: datetime
|
32
|
+
|
33
|
+
:param choices:
|
34
|
+
The value to assign to the choices property of this GenericChatResponse.
|
35
|
+
:type choices: list[oci.generative_ai_inference.models.ChatChoice]
|
36
|
+
|
37
|
+
"""
|
38
|
+
self.swagger_types = {
|
39
|
+
'api_format': 'str',
|
40
|
+
'time_created': 'datetime',
|
41
|
+
'choices': 'list[ChatChoice]'
|
42
|
+
}
|
43
|
+
|
44
|
+
self.attribute_map = {
|
45
|
+
'api_format': 'apiFormat',
|
46
|
+
'time_created': 'timeCreated',
|
47
|
+
'choices': 'choices'
|
48
|
+
}
|
49
|
+
|
50
|
+
self._api_format = None
|
51
|
+
self._time_created = None
|
52
|
+
self._choices = None
|
53
|
+
self._api_format = 'GENERIC'
|
54
|
+
|
55
|
+
@property
|
56
|
+
def time_created(self):
|
57
|
+
"""
|
58
|
+
**[Required]** Gets the time_created of this GenericChatResponse.
|
59
|
+
The Unix timestamp (in seconds) of when the generation was created.
|
60
|
+
|
61
|
+
|
62
|
+
:return: The time_created of this GenericChatResponse.
|
63
|
+
:rtype: datetime
|
64
|
+
"""
|
65
|
+
return self._time_created
|
66
|
+
|
67
|
+
@time_created.setter
|
68
|
+
def time_created(self, time_created):
|
69
|
+
"""
|
70
|
+
Sets the time_created of this GenericChatResponse.
|
71
|
+
The Unix timestamp (in seconds) of when the generation was created.
|
72
|
+
|
73
|
+
|
74
|
+
:param time_created: The time_created of this GenericChatResponse.
|
75
|
+
:type: datetime
|
76
|
+
"""
|
77
|
+
self._time_created = time_created
|
78
|
+
|
79
|
+
@property
|
80
|
+
def choices(self):
|
81
|
+
"""
|
82
|
+
**[Required]** Gets the choices of this GenericChatResponse.
|
83
|
+
A list of generated texts. Can be more than one if n is greater than 1.
|
84
|
+
|
85
|
+
|
86
|
+
:return: The choices of this GenericChatResponse.
|
87
|
+
:rtype: list[oci.generative_ai_inference.models.ChatChoice]
|
88
|
+
"""
|
89
|
+
return self._choices
|
90
|
+
|
91
|
+
@choices.setter
|
92
|
+
def choices(self, choices):
|
93
|
+
"""
|
94
|
+
Sets the choices of this GenericChatResponse.
|
95
|
+
A list of generated texts. Can be more than one if n is greater than 1.
|
96
|
+
|
97
|
+
|
98
|
+
:param choices: The choices of this GenericChatResponse.
|
99
|
+
:type: list[oci.generative_ai_inference.models.ChatChoice]
|
100
|
+
"""
|
101
|
+
self._choices = choices
|
102
|
+
|
103
|
+
def __repr__(self):
|
104
|
+
return formatted_flat_dict(self)
|
105
|
+
|
106
|
+
def __eq__(self, other):
|
107
|
+
if other is None:
|
108
|
+
return False
|
109
|
+
|
110
|
+
return self.__dict__ == other.__dict__
|
111
|
+
|
112
|
+
def __ne__(self, other):
|
113
|
+
return not self == other
|
@@ -410,7 +410,7 @@ class LlamaLlmInferenceRequest(LlmInferenceRequest):
|
|
410
410
|
def max_tokens(self):
|
411
411
|
"""
|
412
412
|
Gets the max_tokens of this LlamaLlmInferenceRequest.
|
413
|
-
The maximum number of tokens
|
413
|
+
The maximum number of tokens that can be generated per output sequence. The token count of your prompt plus max_tokens cannot exceed the model's context length.
|
414
414
|
|
415
415
|
|
416
416
|
:return: The max_tokens of this LlamaLlmInferenceRequest.
|
@@ -422,7 +422,7 @@ class LlamaLlmInferenceRequest(LlmInferenceRequest):
|
|
422
422
|
def max_tokens(self, max_tokens):
|
423
423
|
"""
|
424
424
|
Sets the max_tokens of this LlamaLlmInferenceRequest.
|
425
|
-
The maximum number of tokens
|
425
|
+
The maximum number of tokens that can be generated per output sequence. The token count of your prompt plus max_tokens cannot exceed the model's context length.
|
426
426
|
|
427
427
|
|
428
428
|
:param max_tokens: The max_tokens of this LlamaLlmInferenceRequest.
|
@@ -23,7 +23,7 @@ class LlamaLlmInferenceResponse(LlmInferenceResponse):
|
|
23
23
|
|
24
24
|
:param runtime_type:
|
25
25
|
The value to assign to the runtime_type property of this LlamaLlmInferenceResponse.
|
26
|
-
Allowed values for this property are: "COHERE", "LLAMA"
|
26
|
+
Allowed values for this property are: "COHERE", "LLAMA", "OPENAI", "DALLE3"
|
27
27
|
:type runtime_type: str
|
28
28
|
|
29
29
|
:param created:
|
@@ -23,6 +23,14 @@ class LlmInferenceResponse(object):
|
|
23
23
|
#: This constant has a value of "LLAMA"
|
24
24
|
RUNTIME_TYPE_LLAMA = "LLAMA"
|
25
25
|
|
26
|
+
#: A constant which can be used with the runtime_type property of a LlmInferenceResponse.
|
27
|
+
#: This constant has a value of "OPENAI"
|
28
|
+
RUNTIME_TYPE_OPENAI = "OPENAI"
|
29
|
+
|
30
|
+
#: A constant which can be used with the runtime_type property of a LlmInferenceResponse.
|
31
|
+
#: This constant has a value of "DALLE3"
|
32
|
+
RUNTIME_TYPE_DALLE3 = "DALLE3"
|
33
|
+
|
26
34
|
def __init__(self, **kwargs):
|
27
35
|
"""
|
28
36
|
Initializes a new LlmInferenceResponse object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
|
@@ -35,7 +43,7 @@ class LlmInferenceResponse(object):
|
|
35
43
|
|
36
44
|
:param runtime_type:
|
37
45
|
The value to assign to the runtime_type property of this LlmInferenceResponse.
|
38
|
-
Allowed values for this property are: "COHERE", "LLAMA", 'UNKNOWN_ENUM_VALUE'.
|
46
|
+
Allowed values for this property are: "COHERE", "LLAMA", "OPENAI", "DALLE3", 'UNKNOWN_ENUM_VALUE'.
|
39
47
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
40
48
|
:type runtime_type: str
|
41
49
|
|
@@ -72,7 +80,7 @@ class LlmInferenceResponse(object):
|
|
72
80
|
**[Required]** Gets the runtime_type of this LlmInferenceResponse.
|
73
81
|
The runtime of the provided model.
|
74
82
|
|
75
|
-
Allowed values for this property are: "COHERE", "LLAMA", 'UNKNOWN_ENUM_VALUE'.
|
83
|
+
Allowed values for this property are: "COHERE", "LLAMA", "OPENAI", "DALLE3", 'UNKNOWN_ENUM_VALUE'.
|
76
84
|
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
|
77
85
|
|
78
86
|
|
@@ -91,7 +99,7 @@ class LlmInferenceResponse(object):
|
|
91
99
|
:param runtime_type: The runtime_type of this LlmInferenceResponse.
|
92
100
|
:type: str
|
93
101
|
"""
|
94
|
-
allowed_values = ["COHERE", "LLAMA"]
|
102
|
+
allowed_values = ["COHERE", "LLAMA", "OPENAI", "DALLE3"]
|
95
103
|
if not value_allowed_none_or_none_sentinel(runtime_type, allowed_values):
|
96
104
|
runtime_type = 'UNKNOWN_ENUM_VALUE'
|
97
105
|
self._runtime_type = runtime_type
|