alibabacloud-agentrun20250910 4.0.4__py3-none-any.whl → 5.1.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.
- alibabacloud_agentrun20250910/__init__.py +1 -1
- alibabacloud_agentrun20250910/client.py +2641 -5033
- alibabacloud_agentrun20250910/models/__init__.py +633 -0
- alibabacloud_agentrun20250910/models/_activate_template_mcprequest.py +43 -0
- alibabacloud_agentrun20250910/models/_activate_template_mcpresponse.py +54 -0
- alibabacloud_agentrun20250910/models/_agent_runtime.py +261 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_endpoint.py +110 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_endpoint_result.py +55 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_result.py +55 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_version.py +79 -0
- alibabacloud_agentrun20250910/models/_agent_runtime_version_result.py +55 -0
- alibabacloud_agentrun20250910/models/_ai_fallback_config.py +44 -0
- alibabacloud_agentrun20250910/models/_ai_fallback_service_config.py +49 -0
- alibabacloud_agentrun20250910/models/_ai_service_config.py +67 -0
- alibabacloud_agentrun20250910/models/_apig_llmmodel.py +137 -0
- alibabacloud_agentrun20250910/models/_arms_configuration.py +43 -0
- alibabacloud_agentrun20250910/models/_attach_policy_config.py +49 -0
- alibabacloud_agentrun20250910/models/_browser.py +145 -0
- alibabacloud_agentrun20250910/models/_browser_automation_stream.py +41 -0
- alibabacloud_agentrun20250910/models/_browser_configuration.py +73 -0
- alibabacloud_agentrun20250910/models/_browser_live_view_stream.py +33 -0
- alibabacloud_agentrun20250910/models/_browser_oss_location.py +41 -0
- alibabacloud_agentrun20250910/models/_browser_recording_configuration.py +44 -0
- alibabacloud_agentrun20250910/models/_browser_result.py +55 -0
- alibabacloud_agentrun20250910/models/_browser_session_list_out.py +68 -0
- alibabacloud_agentrun20250910/models/_browser_session_out.py +83 -0
- alibabacloud_agentrun20250910/models/_browser_streams.py +47 -0
- alibabacloud_agentrun20250910/models/_browser_view_port.py +41 -0
- alibabacloud_agentrun20250910/models/_capconfig.py +49 -0
- alibabacloud_agentrun20250910/models/_cert_config.py +52 -0
- alibabacloud_agentrun20250910/models/_code_configuration.py +79 -0
- alibabacloud_agentrun20250910/models/_code_info.py +41 -0
- alibabacloud_agentrun20250910/models/_code_interpreter.py +134 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_result.py +55 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_config.py +54 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_list_out.py +68 -0
- alibabacloud_agentrun20250910/models/_code_interpreter_session_out.py +94 -0
- alibabacloud_agentrun20250910/models/_common_result.py +54 -0
- alibabacloud_agentrun20250910/models/_container_configuration.py +62 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_input.py +62 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_input.py +219 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_agent_runtime_version_input.py +34 -0
- alibabacloud_agentrun20250910/models/_create_apig_llmmodel_input.py +83 -0
- alibabacloud_agentrun20250910/models/_create_browser_input.py +101 -0
- alibabacloud_agentrun20250910/models/_create_browser_request.py +37 -0
- alibabacloud_agentrun20250910/models/_create_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_input.py +107 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_request.py +37 -0
- alibabacloud_agentrun20250910/models/_create_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_credential_input.py +87 -0
- alibabacloud_agentrun20250910/models/_create_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_create_credential_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_custom_domain_input.py +100 -0
- alibabacloud_agentrun20250910/models/_create_domain_input.py +49 -0
- alibabacloud_agentrun20250910/models/_create_gateway_input.py +60 -0
- alibabacloud_agentrun20250910/models/_create_gateway_target_input.py +52 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_input.py +78 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_memory_collection_input.py +101 -0
- alibabacloud_agentrun20250910/models/_create_model_input.py +83 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_input.py +154 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_model_service_input.py +110 -0
- alibabacloud_agentrun20250910/models/_create_model_service_request.py +36 -0
- alibabacloud_agentrun20250910/models/_create_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_input.py +75 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_template_input.py +210 -0
- alibabacloud_agentrun20250910/models/_create_template_request.py +39 -0
- alibabacloud_agentrun20250910/models/_create_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_create_tool_data.py +65 -0
- alibabacloud_agentrun20250910/models/_create_tool_input.py +80 -0
- alibabacloud_agentrun20250910/models/_create_tool_output.py +52 -0
- alibabacloud_agentrun20250910/models/_credential.py +124 -0
- alibabacloud_agentrun20250910/models/_credential_configuration.py +34 -0
- alibabacloud_agentrun20250910/models/_credential_list_item.py +89 -0
- alibabacloud_agentrun20250910/models/_credential_public_config.py +167 -0
- alibabacloud_agentrun20250910/models/_credential_result.py +52 -0
- alibabacloud_agentrun20250910/models/_custom_domain.py +114 -0
- alibabacloud_agentrun20250910/models/_custom_domain_result.py +55 -0
- alibabacloud_agentrun20250910/models/_custom_runtime_config.py +51 -0
- alibabacloud_agentrun20250910/models/_delete_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_browser_out.py +49 -0
- alibabacloud_agentrun20250910/models/_delete_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_browser_result.py +55 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_out.py +49 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_code_interpreter_result.py +55 -0
- alibabacloud_agentrun20250910/models/_delete_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_knowledge_base_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_model_proxy_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_model_service_result.py +52 -0
- alibabacloud_agentrun20250910/models/_delete_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_sandbox_result.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_delete_template_result.py +54 -0
- alibabacloud_agentrun20250910/models/_deregister_service_input.py +36 -0
- alibabacloud_agentrun20250910/models/_domain_info.py +57 -0
- alibabacloud_agentrun20250910/models/_embedder_config.py +71 -0
- alibabacloud_agentrun20250910/models/_error_result.py +52 -0
- alibabacloud_agentrun20250910/models/_fclink_config.py +41 -0
- alibabacloud_agentrun20250910/models/_gateway.py +81 -0
- alibabacloud_agentrun20250910/models/_gateway_network_configuration.py +51 -0
- alibabacloud_agentrun20250910/models/_get_access_token_request.py +49 -0
- alibabacloud_agentrun20250910/models/_get_access_token_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_access_token_response_body.py +79 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_request.py +34 -0
- alibabacloud_agentrun20250910/models/_get_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_browser_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_get_code_interpreter_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_get_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_get_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_get_tool_output.py +44 -0
- alibabacloud_agentrun20250910/models/_gray_traffic_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_health_check_config.py +79 -0
- alibabacloud_agentrun20250910/models/_health_check_configuration.py +79 -0
- alibabacloud_agentrun20250910/models/_knowledge_base.py +99 -0
- alibabacloud_agentrun20250910/models/_knowledge_base_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_input.py +63 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_request.py +61 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_endpoints_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_input.py +43 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_request.py +43 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtime_versions_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_input.py +63 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_request.py +70 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_agent_runtimes_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_list_browsers_input.py +50 -0
- alibabacloud_agentrun20250910/models/_list_browsers_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_browsers_request.py +61 -0
- alibabacloud_agentrun20250910/models/_list_browsers_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_browsers_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_input.py +50 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_request.py +52 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_code_interpreters_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_credentials_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_credentials_request.py +84 -0
- alibabacloud_agentrun20250910/models/_list_credentials_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_credentials_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_custom_domains_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_domains_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_gateways_output.py +60 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_request.py +49 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_knowledge_bases_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_memory_collections_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_memory_collections_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_request.py +65 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_providers_response_body.py +176 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_request.py +58 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_proxies_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_model_services_output.py +68 -0
- alibabacloud_agentrun20250910/models/_list_model_services_request.py +66 -0
- alibabacloud_agentrun20250910/models/_list_model_services_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_model_services_result.py +52 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_output.py +53 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_request.py +67 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_sandboxes_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_templates_output.py +72 -0
- alibabacloud_agentrun20250910/models/_list_templates_request.py +68 -0
- alibabacloud_agentrun20250910/models/_list_templates_response.py +54 -0
- alibabacloud_agentrun20250910/models/_list_templates_result.py +55 -0
- alibabacloud_agentrun20250910/models/_list_tools_output.py +68 -0
- alibabacloud_agentrun20250910/models/_llmapiconfiguration.py +101 -0
- alibabacloud_agentrun20250910/models/_llmconfig.py +71 -0
- alibabacloud_agentrun20250910/models/_llmdeploy_config.py +93 -0
- alibabacloud_agentrun20250910/models/_log_configuration.py +43 -0
- alibabacloud_agentrun20250910/models/_mcpapi.py +95 -0
- alibabacloud_agentrun20250910/models/_mcpapiconfiguration.py +65 -0
- alibabacloud_agentrun20250910/models/_mcpbackend_config.py +52 -0
- alibabacloud_agentrun20250910/models/_mcpmatch.py +36 -0
- alibabacloud_agentrun20250910/models/_mcppath_match.py +41 -0
- alibabacloud_agentrun20250910/models/_mcpserver_config.py +49 -0
- alibabacloud_agentrun20250910/models/_mcpservice_config.py +33 -0
- alibabacloud_agentrun20250910/models/_memory_collection.py +117 -0
- alibabacloud_agentrun20250910/models/_memory_collection_result.py +52 -0
- alibabacloud_agentrun20250910/models/_model.py +137 -0
- alibabacloud_agentrun20250910/models/_model_features.py +65 -0
- alibabacloud_agentrun20250910/models/_model_info_config.py +74 -0
- alibabacloud_agentrun20250910/models/_model_parameter_rule.py +75 -0
- alibabacloud_agentrun20250910/models/_model_properties.py +33 -0
- alibabacloud_agentrun20250910/models/_model_proxy.py +194 -0
- alibabacloud_agentrun20250910/models/_model_proxy_result.py +52 -0
- alibabacloud_agentrun20250910/models/_model_service.py +146 -0
- alibabacloud_agentrun20250910/models/_model_service_result.py +52 -0
- alibabacloud_agentrun20250910/models/_nasconfig.py +60 -0
- alibabacloud_agentrun20250910/models/_nasmount_config.py +49 -0
- alibabacloud_agentrun20250910/models/_network_configuration.py +59 -0
- alibabacloud_agentrun20250910/models/_oss_configuration.py +68 -0
- alibabacloud_agentrun20250910/models/_ossmount_config.py +44 -0
- alibabacloud_agentrun20250910/models/_ossmount_point.py +65 -0
- alibabacloud_agentrun20250910/models/_pagination_info.py +57 -0
- alibabacloud_agentrun20250910/models/_path_config.py +72 -0
- alibabacloud_agentrun20250910/models/_polar_fs_config.py +60 -0
- alibabacloud_agentrun20250910/models/_polar_fs_mount_config.py +49 -0
- alibabacloud_agentrun20250910/models/_policy_config.py +52 -0
- alibabacloud_agentrun20250910/models/_protocol_configuration.py +33 -0
- alibabacloud_agentrun20250910/models/_provider_settings.py +51 -0
- alibabacloud_agentrun20250910/models/_proxy_config.py +372 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_input.py +43 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_request.py +36 -0
- alibabacloud_agentrun20250910/models/_publish_runtime_version_response.py +54 -0
- alibabacloud_agentrun20250910/models/_recording_configuration.py +47 -0
- alibabacloud_agentrun20250910/models/_register_service_input.py +98 -0
- alibabacloud_agentrun20250910/models/_related_resource.py +49 -0
- alibabacloud_agentrun20250910/models/_related_workload.py +49 -0
- alibabacloud_agentrun20250910/models/_route_config.py +45 -0
- alibabacloud_agentrun20250910/models/_routing_configuration.py +45 -0
- alibabacloud_agentrun20250910/models/_sandbox.py +123 -0
- alibabacloud_agentrun20250910/models/_sandbox_health_check_out.py +36 -0
- alibabacloud_agentrun20250910/models/_sandbox_health_check_result.py +54 -0
- alibabacloud_agentrun20250910/models/_sandbox_result.py +57 -0
- alibabacloud_agentrun20250910/models/_service_config.py +44 -0
- alibabacloud_agentrun20250910/models/_service_result.py +54 -0
- alibabacloud_agentrun20250910/models/_start_browser_session_input.py +33 -0
- alibabacloud_agentrun20250910/models/_start_browser_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_start_code_interpreter_session_input.py +34 -0
- alibabacloud_agentrun20250910/models/_start_code_interpreter_session_result.py +53 -0
- alibabacloud_agentrun20250910/models/_stop_code_interpreter_session_result.py +42 -0
- alibabacloud_agentrun20250910/models/_stop_sandbox_response.py +54 -0
- alibabacloud_agentrun20250910/models/_stop_sandbox_result.py +52 -0
- alibabacloud_agentrun20250910/models/_stop_template_mcpresponse.py +54 -0
- alibabacloud_agentrun20250910/models/_target.py +55 -0
- alibabacloud_agentrun20250910/models/_target_configuration.py +55 -0
- alibabacloud_agentrun20250910/models/_target_service_config.py +57 -0
- alibabacloud_agentrun20250910/models/_template.py +352 -0
- alibabacloud_agentrun20250910/models/_template_result.py +57 -0
- alibabacloud_agentrun20250910/models/_tlsconfig.py +54 -0
- alibabacloud_agentrun20250910/models/_tool_info.py +100 -0
- alibabacloud_agentrun20250910/models/_tool_list_item.py +100 -0
- alibabacloud_agentrun20250910/models/_trigger_config.py +43 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_input.py +62 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_request.py +39 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_endpoint_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_input.py +193 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_request.py +39 -0
- alibabacloud_agentrun20250910/models/_update_agent_runtime_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_apig_llmmodel_input.py +83 -0
- alibabacloud_agentrun20250910/models/_update_credential_input.py +60 -0
- alibabacloud_agentrun20250910/models/_update_credential_output.py +124 -0
- alibabacloud_agentrun20250910/models/_update_credential_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_credential_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_custom_domain_input.py +79 -0
- alibabacloud_agentrun20250910/models/_update_domain_input.py +41 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_input.py +59 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_knowledge_base_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_memory_collection_input.py +85 -0
- alibabacloud_agentrun20250910/models/_update_model_input.py +83 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_input.py +93 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_model_proxy_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_model_service_input.py +98 -0
- alibabacloud_agentrun20250910/models/_update_model_service_request.py +36 -0
- alibabacloud_agentrun20250910/models/_update_model_service_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_target_configuration_input.py +44 -0
- alibabacloud_agentrun20250910/models/_update_template_input.py +177 -0
- alibabacloud_agentrun20250910/models/_update_template_request.py +48 -0
- alibabacloud_agentrun20250910/models/_update_template_response.py +54 -0
- alibabacloud_agentrun20250910/models/_update_tool_data.py +65 -0
- alibabacloud_agentrun20250910/models/_update_tool_input.py +49 -0
- alibabacloud_agentrun20250910/models/_update_tool_output.py +52 -0
- alibabacloud_agentrun20250910/models/_vector_store_config.py +95 -0
- alibabacloud_agentrun20250910/models/_version_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_view_port_configuration.py +47 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/METADATA +7 -7
- alibabacloud_agentrun20250910-5.1.0.dist-info/RECORD +306 -0
- alibabacloud_agentrun20250910/models.py +0 -15270
- alibabacloud_agentrun20250910-4.0.4.dist-info/RECORD +0 -8
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_agentrun20250910-4.0.4.dist-info → alibabacloud_agentrun20250910-5.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class UpdateModelProxyInput(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
arms_configuration: main_models.ArmsConfiguration = None,
|
|
12
|
+
credential_name: str = None,
|
|
13
|
+
description: str = None,
|
|
14
|
+
execution_role_arn: str = None,
|
|
15
|
+
log_configuration: main_models.LogConfiguration = None,
|
|
16
|
+
network_configuration: main_models.NetworkConfiguration = None,
|
|
17
|
+
proxy_config: main_models.ProxyConfig = None,
|
|
18
|
+
):
|
|
19
|
+
self.arms_configuration = arms_configuration
|
|
20
|
+
self.credential_name = credential_name
|
|
21
|
+
self.description = description
|
|
22
|
+
self.execution_role_arn = execution_role_arn
|
|
23
|
+
self.log_configuration = log_configuration
|
|
24
|
+
self.network_configuration = network_configuration
|
|
25
|
+
self.proxy_config = proxy_config
|
|
26
|
+
|
|
27
|
+
def validate(self):
|
|
28
|
+
if self.arms_configuration:
|
|
29
|
+
self.arms_configuration.validate()
|
|
30
|
+
if self.log_configuration:
|
|
31
|
+
self.log_configuration.validate()
|
|
32
|
+
if self.network_configuration:
|
|
33
|
+
self.network_configuration.validate()
|
|
34
|
+
if self.proxy_config:
|
|
35
|
+
self.proxy_config.validate()
|
|
36
|
+
|
|
37
|
+
def to_map(self):
|
|
38
|
+
result = dict()
|
|
39
|
+
_map = super().to_map()
|
|
40
|
+
if _map is not None:
|
|
41
|
+
result = _map
|
|
42
|
+
if self.arms_configuration is not None:
|
|
43
|
+
result['armsConfiguration'] = self.arms_configuration.to_map()
|
|
44
|
+
|
|
45
|
+
if self.credential_name is not None:
|
|
46
|
+
result['credentialName'] = self.credential_name
|
|
47
|
+
|
|
48
|
+
if self.description is not None:
|
|
49
|
+
result['description'] = self.description
|
|
50
|
+
|
|
51
|
+
if self.execution_role_arn is not None:
|
|
52
|
+
result['executionRoleArn'] = self.execution_role_arn
|
|
53
|
+
|
|
54
|
+
if self.log_configuration is not None:
|
|
55
|
+
result['logConfiguration'] = self.log_configuration.to_map()
|
|
56
|
+
|
|
57
|
+
if self.network_configuration is not None:
|
|
58
|
+
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
59
|
+
|
|
60
|
+
if self.proxy_config is not None:
|
|
61
|
+
result['proxyConfig'] = self.proxy_config.to_map()
|
|
62
|
+
|
|
63
|
+
return result
|
|
64
|
+
|
|
65
|
+
def from_map(self, m: dict = None):
|
|
66
|
+
m = m or dict()
|
|
67
|
+
if m.get('armsConfiguration') is not None:
|
|
68
|
+
temp_model = main_models.ArmsConfiguration()
|
|
69
|
+
self.arms_configuration = temp_model.from_map(m.get('armsConfiguration'))
|
|
70
|
+
|
|
71
|
+
if m.get('credentialName') is not None:
|
|
72
|
+
self.credential_name = m.get('credentialName')
|
|
73
|
+
|
|
74
|
+
if m.get('description') is not None:
|
|
75
|
+
self.description = m.get('description')
|
|
76
|
+
|
|
77
|
+
if m.get('executionRoleArn') is not None:
|
|
78
|
+
self.execution_role_arn = m.get('executionRoleArn')
|
|
79
|
+
|
|
80
|
+
if m.get('logConfiguration') is not None:
|
|
81
|
+
temp_model = main_models.LogConfiguration()
|
|
82
|
+
self.log_configuration = temp_model.from_map(m.get('logConfiguration'))
|
|
83
|
+
|
|
84
|
+
if m.get('networkConfiguration') is not None:
|
|
85
|
+
temp_model = main_models.NetworkConfiguration()
|
|
86
|
+
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
87
|
+
|
|
88
|
+
if m.get('proxyConfig') is not None:
|
|
89
|
+
temp_model = main_models.ProxyConfig()
|
|
90
|
+
self.proxy_config = temp_model.from_map(m.get('proxyConfig'))
|
|
91
|
+
|
|
92
|
+
return self
|
|
93
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class UpdateModelProxyRequest(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
body: main_models.UpdateModelProxyInput = None,
|
|
12
|
+
):
|
|
13
|
+
self.body = body
|
|
14
|
+
|
|
15
|
+
def validate(self):
|
|
16
|
+
if self.body:
|
|
17
|
+
self.body.validate()
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
result = dict()
|
|
21
|
+
_map = super().to_map()
|
|
22
|
+
if _map is not None:
|
|
23
|
+
result = _map
|
|
24
|
+
if self.body is not None:
|
|
25
|
+
result['body'] = self.body.to_map()
|
|
26
|
+
|
|
27
|
+
return result
|
|
28
|
+
|
|
29
|
+
def from_map(self, m: dict = None):
|
|
30
|
+
m = m or dict()
|
|
31
|
+
if m.get('body') is not None:
|
|
32
|
+
temp_model = main_models.UpdateModelProxyInput()
|
|
33
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
34
|
+
|
|
35
|
+
return self
|
|
36
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class UpdateModelProxyResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.ModelProxyResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.ModelProxyResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import List
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class UpdateModelServiceInput(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
credential_name: str = None,
|
|
14
|
+
description: str = None,
|
|
15
|
+
model_info_configs: List[main_models.ModelInfoConfig] = None,
|
|
16
|
+
network_configuration: main_models.NetworkConfiguration = None,
|
|
17
|
+
provider_settings: main_models.ProviderSettings = None,
|
|
18
|
+
status: str = None,
|
|
19
|
+
status_reason: str = None,
|
|
20
|
+
):
|
|
21
|
+
self.credential_name = credential_name
|
|
22
|
+
self.description = description
|
|
23
|
+
self.model_info_configs = model_info_configs
|
|
24
|
+
self.network_configuration = network_configuration
|
|
25
|
+
self.provider_settings = provider_settings
|
|
26
|
+
self.status = status
|
|
27
|
+
self.status_reason = status_reason
|
|
28
|
+
|
|
29
|
+
def validate(self):
|
|
30
|
+
if self.model_info_configs:
|
|
31
|
+
for v1 in self.model_info_configs:
|
|
32
|
+
if v1:
|
|
33
|
+
v1.validate()
|
|
34
|
+
if self.network_configuration:
|
|
35
|
+
self.network_configuration.validate()
|
|
36
|
+
if self.provider_settings:
|
|
37
|
+
self.provider_settings.validate()
|
|
38
|
+
|
|
39
|
+
def to_map(self):
|
|
40
|
+
result = dict()
|
|
41
|
+
_map = super().to_map()
|
|
42
|
+
if _map is not None:
|
|
43
|
+
result = _map
|
|
44
|
+
if self.credential_name is not None:
|
|
45
|
+
result['credentialName'] = self.credential_name
|
|
46
|
+
|
|
47
|
+
if self.description is not None:
|
|
48
|
+
result['description'] = self.description
|
|
49
|
+
|
|
50
|
+
result['modelInfoConfigs'] = []
|
|
51
|
+
if self.model_info_configs is not None:
|
|
52
|
+
for k1 in self.model_info_configs:
|
|
53
|
+
result['modelInfoConfigs'].append(k1.to_map() if k1 else None)
|
|
54
|
+
|
|
55
|
+
if self.network_configuration is not None:
|
|
56
|
+
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
57
|
+
|
|
58
|
+
if self.provider_settings is not None:
|
|
59
|
+
result['providerSettings'] = self.provider_settings.to_map()
|
|
60
|
+
|
|
61
|
+
if self.status is not None:
|
|
62
|
+
result['status'] = self.status
|
|
63
|
+
|
|
64
|
+
if self.status_reason is not None:
|
|
65
|
+
result['statusReason'] = self.status_reason
|
|
66
|
+
|
|
67
|
+
return result
|
|
68
|
+
|
|
69
|
+
def from_map(self, m: dict = None):
|
|
70
|
+
m = m or dict()
|
|
71
|
+
if m.get('credentialName') is not None:
|
|
72
|
+
self.credential_name = m.get('credentialName')
|
|
73
|
+
|
|
74
|
+
if m.get('description') is not None:
|
|
75
|
+
self.description = m.get('description')
|
|
76
|
+
|
|
77
|
+
self.model_info_configs = []
|
|
78
|
+
if m.get('modelInfoConfigs') is not None:
|
|
79
|
+
for k1 in m.get('modelInfoConfigs'):
|
|
80
|
+
temp_model = main_models.ModelInfoConfig()
|
|
81
|
+
self.model_info_configs.append(temp_model.from_map(k1))
|
|
82
|
+
|
|
83
|
+
if m.get('networkConfiguration') is not None:
|
|
84
|
+
temp_model = main_models.NetworkConfiguration()
|
|
85
|
+
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
86
|
+
|
|
87
|
+
if m.get('providerSettings') is not None:
|
|
88
|
+
temp_model = main_models.ProviderSettings()
|
|
89
|
+
self.provider_settings = temp_model.from_map(m.get('providerSettings'))
|
|
90
|
+
|
|
91
|
+
if m.get('status') is not None:
|
|
92
|
+
self.status = m.get('status')
|
|
93
|
+
|
|
94
|
+
if m.get('statusReason') is not None:
|
|
95
|
+
self.status_reason = m.get('statusReason')
|
|
96
|
+
|
|
97
|
+
return self
|
|
98
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class UpdateModelServiceRequest(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
body: main_models.UpdateModelServiceInput = None,
|
|
12
|
+
):
|
|
13
|
+
self.body = body
|
|
14
|
+
|
|
15
|
+
def validate(self):
|
|
16
|
+
if self.body:
|
|
17
|
+
self.body.validate()
|
|
18
|
+
|
|
19
|
+
def to_map(self):
|
|
20
|
+
result = dict()
|
|
21
|
+
_map = super().to_map()
|
|
22
|
+
if _map is not None:
|
|
23
|
+
result = _map
|
|
24
|
+
if self.body is not None:
|
|
25
|
+
result['body'] = self.body.to_map()
|
|
26
|
+
|
|
27
|
+
return result
|
|
28
|
+
|
|
29
|
+
def from_map(self, m: dict = None):
|
|
30
|
+
m = m or dict()
|
|
31
|
+
if m.get('body') is not None:
|
|
32
|
+
temp_model = main_models.UpdateModelServiceInput()
|
|
33
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
34
|
+
|
|
35
|
+
return self
|
|
36
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class UpdateModelServiceResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.ModelServiceResult = None,
|
|
16
|
+
):
|
|
17
|
+
self.headers = headers
|
|
18
|
+
self.status_code = status_code
|
|
19
|
+
self.body = body
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.headers is not None:
|
|
31
|
+
result['headers'] = self.headers
|
|
32
|
+
|
|
33
|
+
if self.status_code is not None:
|
|
34
|
+
result['statusCode'] = self.status_code
|
|
35
|
+
|
|
36
|
+
if self.body is not None:
|
|
37
|
+
result['body'] = self.body.to_map()
|
|
38
|
+
|
|
39
|
+
return result
|
|
40
|
+
|
|
41
|
+
def from_map(self, m: dict = None):
|
|
42
|
+
m = m or dict()
|
|
43
|
+
if m.get('headers') is not None:
|
|
44
|
+
self.headers = m.get('headers')
|
|
45
|
+
|
|
46
|
+
if m.get('statusCode') is not None:
|
|
47
|
+
self.status_code = m.get('statusCode')
|
|
48
|
+
|
|
49
|
+
if m.get('body') is not None:
|
|
50
|
+
temp_model = main_models.ModelServiceResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class UpdateTargetConfigurationInput(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
domain_id: str = None,
|
|
12
|
+
target_configuration: main_models.TargetConfiguration = None,
|
|
13
|
+
):
|
|
14
|
+
self.domain_id = domain_id
|
|
15
|
+
self.target_configuration = target_configuration
|
|
16
|
+
|
|
17
|
+
def validate(self):
|
|
18
|
+
if self.target_configuration:
|
|
19
|
+
self.target_configuration.validate()
|
|
20
|
+
|
|
21
|
+
def to_map(self):
|
|
22
|
+
result = dict()
|
|
23
|
+
_map = super().to_map()
|
|
24
|
+
if _map is not None:
|
|
25
|
+
result = _map
|
|
26
|
+
if self.domain_id is not None:
|
|
27
|
+
result['domainId'] = self.domain_id
|
|
28
|
+
|
|
29
|
+
if self.target_configuration is not None:
|
|
30
|
+
result['targetConfiguration'] = self.target_configuration.to_map()
|
|
31
|
+
|
|
32
|
+
return result
|
|
33
|
+
|
|
34
|
+
def from_map(self, m: dict = None):
|
|
35
|
+
m = m or dict()
|
|
36
|
+
if m.get('domainId') is not None:
|
|
37
|
+
self.domain_id = m.get('domainId')
|
|
38
|
+
|
|
39
|
+
if m.get('targetConfiguration') is not None:
|
|
40
|
+
temp_model = main_models.TargetConfiguration()
|
|
41
|
+
self.target_configuration = temp_model.from_map(m.get('targetConfiguration'))
|
|
42
|
+
|
|
43
|
+
return self
|
|
44
|
+
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from typing import Dict, List, Any
|
|
6
|
+
|
|
7
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
8
|
+
from darabonba.model import DaraModel
|
|
9
|
+
|
|
10
|
+
class UpdateTemplateInput(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
allow_anonymous_manage: bool = None,
|
|
14
|
+
arms_configuration: main_models.ArmsConfiguration = None,
|
|
15
|
+
container_configuration: main_models.ContainerConfiguration = None,
|
|
16
|
+
cpu: float = None,
|
|
17
|
+
credential_configuration: main_models.CredentialConfiguration = None,
|
|
18
|
+
description: str = None,
|
|
19
|
+
environment_variables: Dict[str, str] = None,
|
|
20
|
+
execution_role_arn: str = None,
|
|
21
|
+
log_configuration: main_models.LogConfiguration = None,
|
|
22
|
+
memory: int = None,
|
|
23
|
+
network_configuration: main_models.NetworkConfiguration = None,
|
|
24
|
+
oss_configuration: List[main_models.OssConfiguration] = None,
|
|
25
|
+
sandbox_idle_timeout_in_seconds: int = None,
|
|
26
|
+
sandbox_ttlin_seconds: int = None,
|
|
27
|
+
template_configuration: Dict[str, Any] = None,
|
|
28
|
+
):
|
|
29
|
+
self.allow_anonymous_manage = allow_anonymous_manage
|
|
30
|
+
self.arms_configuration = arms_configuration
|
|
31
|
+
# 容器配置(内置的不可改)
|
|
32
|
+
self.container_configuration = container_configuration
|
|
33
|
+
# CPU资源配置(单位:核心)
|
|
34
|
+
self.cpu = cpu
|
|
35
|
+
self.credential_configuration = credential_configuration
|
|
36
|
+
self.description = description
|
|
37
|
+
self.environment_variables = environment_variables
|
|
38
|
+
self.execution_role_arn = execution_role_arn
|
|
39
|
+
self.log_configuration = log_configuration
|
|
40
|
+
# 内存资源配置(单位:MB)
|
|
41
|
+
self.memory = memory
|
|
42
|
+
self.network_configuration = network_configuration
|
|
43
|
+
self.oss_configuration = oss_configuration
|
|
44
|
+
# 沙箱空闲超时时间(秒)
|
|
45
|
+
self.sandbox_idle_timeout_in_seconds = sandbox_idle_timeout_in_seconds
|
|
46
|
+
# 沙箱存活时间(秒)
|
|
47
|
+
self.sandbox_ttlin_seconds = sandbox_ttlin_seconds
|
|
48
|
+
# 模板配置(灵活的对象结构,根据 templateType 不同而不同)
|
|
49
|
+
self.template_configuration = template_configuration
|
|
50
|
+
|
|
51
|
+
def validate(self):
|
|
52
|
+
if self.arms_configuration:
|
|
53
|
+
self.arms_configuration.validate()
|
|
54
|
+
if self.container_configuration:
|
|
55
|
+
self.container_configuration.validate()
|
|
56
|
+
if self.credential_configuration:
|
|
57
|
+
self.credential_configuration.validate()
|
|
58
|
+
if self.log_configuration:
|
|
59
|
+
self.log_configuration.validate()
|
|
60
|
+
if self.network_configuration:
|
|
61
|
+
self.network_configuration.validate()
|
|
62
|
+
if self.oss_configuration:
|
|
63
|
+
for v1 in self.oss_configuration:
|
|
64
|
+
if v1:
|
|
65
|
+
v1.validate()
|
|
66
|
+
|
|
67
|
+
def to_map(self):
|
|
68
|
+
result = dict()
|
|
69
|
+
_map = super().to_map()
|
|
70
|
+
if _map is not None:
|
|
71
|
+
result = _map
|
|
72
|
+
if self.allow_anonymous_manage is not None:
|
|
73
|
+
result['allowAnonymousManage'] = self.allow_anonymous_manage
|
|
74
|
+
|
|
75
|
+
if self.arms_configuration is not None:
|
|
76
|
+
result['armsConfiguration'] = self.arms_configuration.to_map()
|
|
77
|
+
|
|
78
|
+
if self.container_configuration is not None:
|
|
79
|
+
result['containerConfiguration'] = self.container_configuration.to_map()
|
|
80
|
+
|
|
81
|
+
if self.cpu is not None:
|
|
82
|
+
result['cpu'] = self.cpu
|
|
83
|
+
|
|
84
|
+
if self.credential_configuration is not None:
|
|
85
|
+
result['credentialConfiguration'] = self.credential_configuration.to_map()
|
|
86
|
+
|
|
87
|
+
if self.description is not None:
|
|
88
|
+
result['description'] = self.description
|
|
89
|
+
|
|
90
|
+
if self.environment_variables is not None:
|
|
91
|
+
result['environmentVariables'] = self.environment_variables
|
|
92
|
+
|
|
93
|
+
if self.execution_role_arn is not None:
|
|
94
|
+
result['executionRoleArn'] = self.execution_role_arn
|
|
95
|
+
|
|
96
|
+
if self.log_configuration is not None:
|
|
97
|
+
result['logConfiguration'] = self.log_configuration.to_map()
|
|
98
|
+
|
|
99
|
+
if self.memory is not None:
|
|
100
|
+
result['memory'] = self.memory
|
|
101
|
+
|
|
102
|
+
if self.network_configuration is not None:
|
|
103
|
+
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
104
|
+
|
|
105
|
+
result['ossConfiguration'] = []
|
|
106
|
+
if self.oss_configuration is not None:
|
|
107
|
+
for k1 in self.oss_configuration:
|
|
108
|
+
result['ossConfiguration'].append(k1.to_map() if k1 else None)
|
|
109
|
+
|
|
110
|
+
if self.sandbox_idle_timeout_in_seconds is not None:
|
|
111
|
+
result['sandboxIdleTimeoutInSeconds'] = self.sandbox_idle_timeout_in_seconds
|
|
112
|
+
|
|
113
|
+
if self.sandbox_ttlin_seconds is not None:
|
|
114
|
+
result['sandboxTTLInSeconds'] = self.sandbox_ttlin_seconds
|
|
115
|
+
|
|
116
|
+
if self.template_configuration is not None:
|
|
117
|
+
result['templateConfiguration'] = self.template_configuration
|
|
118
|
+
|
|
119
|
+
return result
|
|
120
|
+
|
|
121
|
+
def from_map(self, m: dict = None):
|
|
122
|
+
m = m or dict()
|
|
123
|
+
if m.get('allowAnonymousManage') is not None:
|
|
124
|
+
self.allow_anonymous_manage = m.get('allowAnonymousManage')
|
|
125
|
+
|
|
126
|
+
if m.get('armsConfiguration') is not None:
|
|
127
|
+
temp_model = main_models.ArmsConfiguration()
|
|
128
|
+
self.arms_configuration = temp_model.from_map(m.get('armsConfiguration'))
|
|
129
|
+
|
|
130
|
+
if m.get('containerConfiguration') is not None:
|
|
131
|
+
temp_model = main_models.ContainerConfiguration()
|
|
132
|
+
self.container_configuration = temp_model.from_map(m.get('containerConfiguration'))
|
|
133
|
+
|
|
134
|
+
if m.get('cpu') is not None:
|
|
135
|
+
self.cpu = m.get('cpu')
|
|
136
|
+
|
|
137
|
+
if m.get('credentialConfiguration') is not None:
|
|
138
|
+
temp_model = main_models.CredentialConfiguration()
|
|
139
|
+
self.credential_configuration = temp_model.from_map(m.get('credentialConfiguration'))
|
|
140
|
+
|
|
141
|
+
if m.get('description') is not None:
|
|
142
|
+
self.description = m.get('description')
|
|
143
|
+
|
|
144
|
+
if m.get('environmentVariables') is not None:
|
|
145
|
+
self.environment_variables = m.get('environmentVariables')
|
|
146
|
+
|
|
147
|
+
if m.get('executionRoleArn') is not None:
|
|
148
|
+
self.execution_role_arn = m.get('executionRoleArn')
|
|
149
|
+
|
|
150
|
+
if m.get('logConfiguration') is not None:
|
|
151
|
+
temp_model = main_models.LogConfiguration()
|
|
152
|
+
self.log_configuration = temp_model.from_map(m.get('logConfiguration'))
|
|
153
|
+
|
|
154
|
+
if m.get('memory') is not None:
|
|
155
|
+
self.memory = m.get('memory')
|
|
156
|
+
|
|
157
|
+
if m.get('networkConfiguration') is not None:
|
|
158
|
+
temp_model = main_models.NetworkConfiguration()
|
|
159
|
+
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
160
|
+
|
|
161
|
+
self.oss_configuration = []
|
|
162
|
+
if m.get('ossConfiguration') is not None:
|
|
163
|
+
for k1 in m.get('ossConfiguration'):
|
|
164
|
+
temp_model = main_models.OssConfiguration()
|
|
165
|
+
self.oss_configuration.append(temp_model.from_map(k1))
|
|
166
|
+
|
|
167
|
+
if m.get('sandboxIdleTimeoutInSeconds') is not None:
|
|
168
|
+
self.sandbox_idle_timeout_in_seconds = m.get('sandboxIdleTimeoutInSeconds')
|
|
169
|
+
|
|
170
|
+
if m.get('sandboxTTLInSeconds') is not None:
|
|
171
|
+
self.sandbox_ttlin_seconds = m.get('sandboxTTLInSeconds')
|
|
172
|
+
|
|
173
|
+
if m.get('templateConfiguration') is not None:
|
|
174
|
+
self.template_configuration = m.get('templateConfiguration')
|
|
175
|
+
|
|
176
|
+
return self
|
|
177
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# This file is auto-generated, don't edit it. Thanks.
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from alibabacloud_agentrun20250910 import models as main_models
|
|
6
|
+
from darabonba.model import DaraModel
|
|
7
|
+
|
|
8
|
+
class UpdateTemplateRequest(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
body: main_models.UpdateTemplateInput = None,
|
|
12
|
+
client_token: str = None,
|
|
13
|
+
):
|
|
14
|
+
# 更新模板所需的配置信息
|
|
15
|
+
#
|
|
16
|
+
# This parameter is required.
|
|
17
|
+
self.body = body
|
|
18
|
+
# 用于确保请求幂等性的唯一标识符
|
|
19
|
+
self.client_token = client_token
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.body:
|
|
23
|
+
self.body.validate()
|
|
24
|
+
|
|
25
|
+
def to_map(self):
|
|
26
|
+
result = dict()
|
|
27
|
+
_map = super().to_map()
|
|
28
|
+
if _map is not None:
|
|
29
|
+
result = _map
|
|
30
|
+
if self.body is not None:
|
|
31
|
+
result['body'] = self.body.to_map()
|
|
32
|
+
|
|
33
|
+
if self.client_token is not None:
|
|
34
|
+
result['clientToken'] = self.client_token
|
|
35
|
+
|
|
36
|
+
return result
|
|
37
|
+
|
|
38
|
+
def from_map(self, m: dict = None):
|
|
39
|
+
m = m or dict()
|
|
40
|
+
if m.get('body') is not None:
|
|
41
|
+
temp_model = main_models.UpdateTemplateInput()
|
|
42
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
43
|
+
|
|
44
|
+
if m.get('clientToken') is not None:
|
|
45
|
+
self.client_token = m.get('clientToken')
|
|
46
|
+
|
|
47
|
+
return self
|
|
48
|
+
|