alibabacloud-agentrun20250910 5.0.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 -0
- alibabacloud_agentrun20250910/client.py +3712 -0
- alibabacloud_agentrun20250910/models/__init__.py +579 -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 +92 -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_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 +106 -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_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/_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_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/_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_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/_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/_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_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/_version_weight.py +43 -0
- alibabacloud_agentrun20250910/models/_view_port_configuration.py +47 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/LICENSE +13 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/METADATA +69 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/RECORD +282 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/WHEEL +5 -0
- alibabacloud_agentrun20250910-5.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,62 @@
|
|
|
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 UpdateAgentRuntimeEndpointInput(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
agent_runtime_endpoint_name: str = None,
|
|
12
|
+
description: str = None,
|
|
13
|
+
routing_configuration: main_models.RoutingConfiguration = None,
|
|
14
|
+
target_version: str = None,
|
|
15
|
+
):
|
|
16
|
+
self.agent_runtime_endpoint_name = agent_runtime_endpoint_name
|
|
17
|
+
self.description = description
|
|
18
|
+
# 智能体运行时端点的路由配置,支持多版本权重分配
|
|
19
|
+
self.routing_configuration = routing_configuration
|
|
20
|
+
# 智能体运行时的目标版本
|
|
21
|
+
self.target_version = target_version
|
|
22
|
+
|
|
23
|
+
def validate(self):
|
|
24
|
+
if self.routing_configuration:
|
|
25
|
+
self.routing_configuration.validate()
|
|
26
|
+
|
|
27
|
+
def to_map(self):
|
|
28
|
+
result = dict()
|
|
29
|
+
_map = super().to_map()
|
|
30
|
+
if _map is not None:
|
|
31
|
+
result = _map
|
|
32
|
+
if self.agent_runtime_endpoint_name is not None:
|
|
33
|
+
result['agentRuntimeEndpointName'] = self.agent_runtime_endpoint_name
|
|
34
|
+
|
|
35
|
+
if self.description is not None:
|
|
36
|
+
result['description'] = self.description
|
|
37
|
+
|
|
38
|
+
if self.routing_configuration is not None:
|
|
39
|
+
result['routingConfiguration'] = self.routing_configuration.to_map()
|
|
40
|
+
|
|
41
|
+
if self.target_version is not None:
|
|
42
|
+
result['targetVersion'] = self.target_version
|
|
43
|
+
|
|
44
|
+
return result
|
|
45
|
+
|
|
46
|
+
def from_map(self, m: dict = None):
|
|
47
|
+
m = m or dict()
|
|
48
|
+
if m.get('agentRuntimeEndpointName') is not None:
|
|
49
|
+
self.agent_runtime_endpoint_name = m.get('agentRuntimeEndpointName')
|
|
50
|
+
|
|
51
|
+
if m.get('description') is not None:
|
|
52
|
+
self.description = m.get('description')
|
|
53
|
+
|
|
54
|
+
if m.get('routingConfiguration') is not None:
|
|
55
|
+
temp_model = main_models.RoutingConfiguration()
|
|
56
|
+
self.routing_configuration = temp_model.from_map(m.get('routingConfiguration'))
|
|
57
|
+
|
|
58
|
+
if m.get('targetVersion') is not None:
|
|
59
|
+
self.target_version = m.get('targetVersion')
|
|
60
|
+
|
|
61
|
+
return self
|
|
62
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
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 UpdateAgentRuntimeEndpointRequest(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
body: main_models.UpdateAgentRuntimeEndpointInput = None,
|
|
12
|
+
):
|
|
13
|
+
# 包含要更新的智能体运行时端点配置信息的请求体
|
|
14
|
+
#
|
|
15
|
+
# This parameter is required.
|
|
16
|
+
self.body = body
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
if self.body:
|
|
20
|
+
self.body.validate()
|
|
21
|
+
|
|
22
|
+
def to_map(self):
|
|
23
|
+
result = dict()
|
|
24
|
+
_map = super().to_map()
|
|
25
|
+
if _map is not None:
|
|
26
|
+
result = _map
|
|
27
|
+
if self.body is not None:
|
|
28
|
+
result['body'] = self.body.to_map()
|
|
29
|
+
|
|
30
|
+
return result
|
|
31
|
+
|
|
32
|
+
def from_map(self, m: dict = None):
|
|
33
|
+
m = m or dict()
|
|
34
|
+
if m.get('body') is not None:
|
|
35
|
+
temp_model = main_models.UpdateAgentRuntimeEndpointInput()
|
|
36
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
37
|
+
|
|
38
|
+
return self
|
|
39
|
+
|
|
@@ -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 UpdateAgentRuntimeEndpointResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.AgentRuntimeEndpointResult = 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.AgentRuntimeEndpointResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,193 @@
|
|
|
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 UpdateAgentRuntimeInput(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
agent_runtime_name: str = None,
|
|
14
|
+
artifact_type: str = None,
|
|
15
|
+
code_configuration: main_models.CodeConfiguration = None,
|
|
16
|
+
container_configuration: main_models.ContainerConfiguration = None,
|
|
17
|
+
cpu: float = None,
|
|
18
|
+
credential_name: str = None,
|
|
19
|
+
description: str = None,
|
|
20
|
+
environment_variables: Dict[str, str] = None,
|
|
21
|
+
execution_role_arn: str = None,
|
|
22
|
+
health_check_configuration: main_models.HealthCheckConfiguration = None,
|
|
23
|
+
log_configuration: main_models.LogConfiguration = None,
|
|
24
|
+
memory: int = None,
|
|
25
|
+
network_configuration: main_models.NetworkConfiguration = None,
|
|
26
|
+
port: int = None,
|
|
27
|
+
protocol_configuration: main_models.ProtocolConfiguration = None,
|
|
28
|
+
session_concurrency_limit_per_instance: int = None,
|
|
29
|
+
session_idle_timeout_seconds: int = None,
|
|
30
|
+
):
|
|
31
|
+
self.agent_runtime_name = agent_runtime_name
|
|
32
|
+
self.artifact_type = artifact_type
|
|
33
|
+
# 当artifactType为Code时的代码配置信息,包括代码源、入口文件等
|
|
34
|
+
self.code_configuration = code_configuration
|
|
35
|
+
# 当artifactType为Container时的容器配置信息,包括镜像地址、启动命令等
|
|
36
|
+
self.container_configuration = container_configuration
|
|
37
|
+
# This parameter is required.
|
|
38
|
+
self.cpu = cpu
|
|
39
|
+
# 用于访问智能体的凭证名称,访问智能体运行时将使用此凭证进行身份验证
|
|
40
|
+
self.credential_name = credential_name
|
|
41
|
+
self.description = description
|
|
42
|
+
# 智能体运行时的环境变量配置,用于在运行时传递配置参数
|
|
43
|
+
self.environment_variables = environment_variables
|
|
44
|
+
# 为智能体运行时提供访问云服务权限的执行角色ARN
|
|
45
|
+
self.execution_role_arn = execution_role_arn
|
|
46
|
+
# 智能体运行时的健康检查配置,用于监控运行时实例的健康状态
|
|
47
|
+
self.health_check_configuration = health_check_configuration
|
|
48
|
+
# SLS(简单日志服务)配置
|
|
49
|
+
self.log_configuration = log_configuration
|
|
50
|
+
self.memory = memory
|
|
51
|
+
# 智能体运行时的网络配置,包括VPC、安全组等网络访问设置
|
|
52
|
+
self.network_configuration = network_configuration
|
|
53
|
+
self.port = port
|
|
54
|
+
# 智能体运行时的通信协议配置,定义运行时如何与外部系统交互
|
|
55
|
+
self.protocol_configuration = protocol_configuration
|
|
56
|
+
# 每个运行时实例允许的最大并发会话数
|
|
57
|
+
self.session_concurrency_limit_per_instance = session_concurrency_limit_per_instance
|
|
58
|
+
# 会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用
|
|
59
|
+
self.session_idle_timeout_seconds = session_idle_timeout_seconds
|
|
60
|
+
|
|
61
|
+
def validate(self):
|
|
62
|
+
if self.code_configuration:
|
|
63
|
+
self.code_configuration.validate()
|
|
64
|
+
if self.container_configuration:
|
|
65
|
+
self.container_configuration.validate()
|
|
66
|
+
if self.health_check_configuration:
|
|
67
|
+
self.health_check_configuration.validate()
|
|
68
|
+
if self.log_configuration:
|
|
69
|
+
self.log_configuration.validate()
|
|
70
|
+
if self.network_configuration:
|
|
71
|
+
self.network_configuration.validate()
|
|
72
|
+
if self.protocol_configuration:
|
|
73
|
+
self.protocol_configuration.validate()
|
|
74
|
+
|
|
75
|
+
def to_map(self):
|
|
76
|
+
result = dict()
|
|
77
|
+
_map = super().to_map()
|
|
78
|
+
if _map is not None:
|
|
79
|
+
result = _map
|
|
80
|
+
if self.agent_runtime_name is not None:
|
|
81
|
+
result['agentRuntimeName'] = self.agent_runtime_name
|
|
82
|
+
|
|
83
|
+
if self.artifact_type is not None:
|
|
84
|
+
result['artifactType'] = self.artifact_type
|
|
85
|
+
|
|
86
|
+
if self.code_configuration is not None:
|
|
87
|
+
result['codeConfiguration'] = self.code_configuration.to_map()
|
|
88
|
+
|
|
89
|
+
if self.container_configuration is not None:
|
|
90
|
+
result['containerConfiguration'] = self.container_configuration.to_map()
|
|
91
|
+
|
|
92
|
+
if self.cpu is not None:
|
|
93
|
+
result['cpu'] = self.cpu
|
|
94
|
+
|
|
95
|
+
if self.credential_name is not None:
|
|
96
|
+
result['credentialName'] = self.credential_name
|
|
97
|
+
|
|
98
|
+
if self.description is not None:
|
|
99
|
+
result['description'] = self.description
|
|
100
|
+
|
|
101
|
+
if self.environment_variables is not None:
|
|
102
|
+
result['environmentVariables'] = self.environment_variables
|
|
103
|
+
|
|
104
|
+
if self.execution_role_arn is not None:
|
|
105
|
+
result['executionRoleArn'] = self.execution_role_arn
|
|
106
|
+
|
|
107
|
+
if self.health_check_configuration is not None:
|
|
108
|
+
result['healthCheckConfiguration'] = self.health_check_configuration.to_map()
|
|
109
|
+
|
|
110
|
+
if self.log_configuration is not None:
|
|
111
|
+
result['logConfiguration'] = self.log_configuration.to_map()
|
|
112
|
+
|
|
113
|
+
if self.memory is not None:
|
|
114
|
+
result['memory'] = self.memory
|
|
115
|
+
|
|
116
|
+
if self.network_configuration is not None:
|
|
117
|
+
result['networkConfiguration'] = self.network_configuration.to_map()
|
|
118
|
+
|
|
119
|
+
if self.port is not None:
|
|
120
|
+
result['port'] = self.port
|
|
121
|
+
|
|
122
|
+
if self.protocol_configuration is not None:
|
|
123
|
+
result['protocolConfiguration'] = self.protocol_configuration.to_map()
|
|
124
|
+
|
|
125
|
+
if self.session_concurrency_limit_per_instance is not None:
|
|
126
|
+
result['sessionConcurrencyLimitPerInstance'] = self.session_concurrency_limit_per_instance
|
|
127
|
+
|
|
128
|
+
if self.session_idle_timeout_seconds is not None:
|
|
129
|
+
result['sessionIdleTimeoutSeconds'] = self.session_idle_timeout_seconds
|
|
130
|
+
|
|
131
|
+
return result
|
|
132
|
+
|
|
133
|
+
def from_map(self, m: dict = None):
|
|
134
|
+
m = m or dict()
|
|
135
|
+
if m.get('agentRuntimeName') is not None:
|
|
136
|
+
self.agent_runtime_name = m.get('agentRuntimeName')
|
|
137
|
+
|
|
138
|
+
if m.get('artifactType') is not None:
|
|
139
|
+
self.artifact_type = m.get('artifactType')
|
|
140
|
+
|
|
141
|
+
if m.get('codeConfiguration') is not None:
|
|
142
|
+
temp_model = main_models.CodeConfiguration()
|
|
143
|
+
self.code_configuration = temp_model.from_map(m.get('codeConfiguration'))
|
|
144
|
+
|
|
145
|
+
if m.get('containerConfiguration') is not None:
|
|
146
|
+
temp_model = main_models.ContainerConfiguration()
|
|
147
|
+
self.container_configuration = temp_model.from_map(m.get('containerConfiguration'))
|
|
148
|
+
|
|
149
|
+
if m.get('cpu') is not None:
|
|
150
|
+
self.cpu = m.get('cpu')
|
|
151
|
+
|
|
152
|
+
if m.get('credentialName') is not None:
|
|
153
|
+
self.credential_name = m.get('credentialName')
|
|
154
|
+
|
|
155
|
+
if m.get('description') is not None:
|
|
156
|
+
self.description = m.get('description')
|
|
157
|
+
|
|
158
|
+
if m.get('environmentVariables') is not None:
|
|
159
|
+
self.environment_variables = m.get('environmentVariables')
|
|
160
|
+
|
|
161
|
+
if m.get('executionRoleArn') is not None:
|
|
162
|
+
self.execution_role_arn = m.get('executionRoleArn')
|
|
163
|
+
|
|
164
|
+
if m.get('healthCheckConfiguration') is not None:
|
|
165
|
+
temp_model = main_models.HealthCheckConfiguration()
|
|
166
|
+
self.health_check_configuration = temp_model.from_map(m.get('healthCheckConfiguration'))
|
|
167
|
+
|
|
168
|
+
if m.get('logConfiguration') is not None:
|
|
169
|
+
temp_model = main_models.LogConfiguration()
|
|
170
|
+
self.log_configuration = temp_model.from_map(m.get('logConfiguration'))
|
|
171
|
+
|
|
172
|
+
if m.get('memory') is not None:
|
|
173
|
+
self.memory = m.get('memory')
|
|
174
|
+
|
|
175
|
+
if m.get('networkConfiguration') is not None:
|
|
176
|
+
temp_model = main_models.NetworkConfiguration()
|
|
177
|
+
self.network_configuration = temp_model.from_map(m.get('networkConfiguration'))
|
|
178
|
+
|
|
179
|
+
if m.get('port') is not None:
|
|
180
|
+
self.port = m.get('port')
|
|
181
|
+
|
|
182
|
+
if m.get('protocolConfiguration') is not None:
|
|
183
|
+
temp_model = main_models.ProtocolConfiguration()
|
|
184
|
+
self.protocol_configuration = temp_model.from_map(m.get('protocolConfiguration'))
|
|
185
|
+
|
|
186
|
+
if m.get('sessionConcurrencyLimitPerInstance') is not None:
|
|
187
|
+
self.session_concurrency_limit_per_instance = m.get('sessionConcurrencyLimitPerInstance')
|
|
188
|
+
|
|
189
|
+
if m.get('sessionIdleTimeoutSeconds') is not None:
|
|
190
|
+
self.session_idle_timeout_seconds = m.get('sessionIdleTimeoutSeconds')
|
|
191
|
+
|
|
192
|
+
return self
|
|
193
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
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 UpdateAgentRuntimeRequest(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
body: main_models.UpdateAgentRuntimeInput = None,
|
|
12
|
+
):
|
|
13
|
+
# 包含要更新的智能体运行时配置信息的请求体
|
|
14
|
+
#
|
|
15
|
+
# This parameter is required.
|
|
16
|
+
self.body = body
|
|
17
|
+
|
|
18
|
+
def validate(self):
|
|
19
|
+
if self.body:
|
|
20
|
+
self.body.validate()
|
|
21
|
+
|
|
22
|
+
def to_map(self):
|
|
23
|
+
result = dict()
|
|
24
|
+
_map = super().to_map()
|
|
25
|
+
if _map is not None:
|
|
26
|
+
result = _map
|
|
27
|
+
if self.body is not None:
|
|
28
|
+
result['body'] = self.body.to_map()
|
|
29
|
+
|
|
30
|
+
return result
|
|
31
|
+
|
|
32
|
+
def from_map(self, m: dict = None):
|
|
33
|
+
m = m or dict()
|
|
34
|
+
if m.get('body') is not None:
|
|
35
|
+
temp_model = main_models.UpdateAgentRuntimeInput()
|
|
36
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
37
|
+
|
|
38
|
+
return self
|
|
39
|
+
|
|
@@ -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 UpdateAgentRuntimeResponse(DaraModel):
|
|
11
|
+
def __init__(
|
|
12
|
+
self,
|
|
13
|
+
headers: Dict[str, str] = None,
|
|
14
|
+
status_code: int = None,
|
|
15
|
+
body: main_models.AgentRuntimeResult = 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.AgentRuntimeResult()
|
|
51
|
+
self.body = temp_model.from_map(m.get('body'))
|
|
52
|
+
|
|
53
|
+
return self
|
|
54
|
+
|
|
@@ -0,0 +1,83 @@
|
|
|
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 darabonba.model import DaraModel
|
|
8
|
+
|
|
9
|
+
class UpdateApigLLMModelInput(DaraModel):
|
|
10
|
+
def __init__(
|
|
11
|
+
self,
|
|
12
|
+
address: str = None,
|
|
13
|
+
api_key: str = None,
|
|
14
|
+
desc: str = None,
|
|
15
|
+
models: List[str] = None,
|
|
16
|
+
name: str = None,
|
|
17
|
+
provider: str = None,
|
|
18
|
+
type: str = None,
|
|
19
|
+
):
|
|
20
|
+
self.address = address
|
|
21
|
+
self.api_key = api_key
|
|
22
|
+
self.desc = desc
|
|
23
|
+
self.models = models
|
|
24
|
+
self.name = name
|
|
25
|
+
self.provider = provider
|
|
26
|
+
self.type = type
|
|
27
|
+
|
|
28
|
+
def validate(self):
|
|
29
|
+
pass
|
|
30
|
+
|
|
31
|
+
def to_map(self):
|
|
32
|
+
result = dict()
|
|
33
|
+
_map = super().to_map()
|
|
34
|
+
if _map is not None:
|
|
35
|
+
result = _map
|
|
36
|
+
if self.address is not None:
|
|
37
|
+
result['address'] = self.address
|
|
38
|
+
|
|
39
|
+
if self.api_key is not None:
|
|
40
|
+
result['apiKey'] = self.api_key
|
|
41
|
+
|
|
42
|
+
if self.desc is not None:
|
|
43
|
+
result['desc'] = self.desc
|
|
44
|
+
|
|
45
|
+
if self.models is not None:
|
|
46
|
+
result['models'] = self.models
|
|
47
|
+
|
|
48
|
+
if self.name is not None:
|
|
49
|
+
result['name'] = self.name
|
|
50
|
+
|
|
51
|
+
if self.provider is not None:
|
|
52
|
+
result['provider'] = self.provider
|
|
53
|
+
|
|
54
|
+
if self.type is not None:
|
|
55
|
+
result['type'] = self.type
|
|
56
|
+
|
|
57
|
+
return result
|
|
58
|
+
|
|
59
|
+
def from_map(self, m: dict = None):
|
|
60
|
+
m = m or dict()
|
|
61
|
+
if m.get('address') is not None:
|
|
62
|
+
self.address = m.get('address')
|
|
63
|
+
|
|
64
|
+
if m.get('apiKey') is not None:
|
|
65
|
+
self.api_key = m.get('apiKey')
|
|
66
|
+
|
|
67
|
+
if m.get('desc') is not None:
|
|
68
|
+
self.desc = m.get('desc')
|
|
69
|
+
|
|
70
|
+
if m.get('models') is not None:
|
|
71
|
+
self.models = m.get('models')
|
|
72
|
+
|
|
73
|
+
if m.get('name') is not None:
|
|
74
|
+
self.name = m.get('name')
|
|
75
|
+
|
|
76
|
+
if m.get('provider') is not None:
|
|
77
|
+
self.provider = m.get('provider')
|
|
78
|
+
|
|
79
|
+
if m.get('type') is not None:
|
|
80
|
+
self.type = m.get('type')
|
|
81
|
+
|
|
82
|
+
return self
|
|
83
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
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 UpdateCredentialInput(DaraModel):
|
|
9
|
+
def __init__(
|
|
10
|
+
self,
|
|
11
|
+
credential_public_config: main_models.CredentialPublicConfig = None,
|
|
12
|
+
credential_secret: str = None,
|
|
13
|
+
description: str = None,
|
|
14
|
+
enabled: bool = None,
|
|
15
|
+
):
|
|
16
|
+
self.credential_public_config = credential_public_config
|
|
17
|
+
self.credential_secret = credential_secret
|
|
18
|
+
self.description = description
|
|
19
|
+
self.enabled = enabled
|
|
20
|
+
|
|
21
|
+
def validate(self):
|
|
22
|
+
if self.credential_public_config:
|
|
23
|
+
self.credential_public_config.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.credential_public_config is not None:
|
|
31
|
+
result['credentialPublicConfig'] = self.credential_public_config.to_map()
|
|
32
|
+
|
|
33
|
+
if self.credential_secret is not None:
|
|
34
|
+
result['credentialSecret'] = self.credential_secret
|
|
35
|
+
|
|
36
|
+
if self.description is not None:
|
|
37
|
+
result['description'] = self.description
|
|
38
|
+
|
|
39
|
+
if self.enabled is not None:
|
|
40
|
+
result['enabled'] = self.enabled
|
|
41
|
+
|
|
42
|
+
return result
|
|
43
|
+
|
|
44
|
+
def from_map(self, m: dict = None):
|
|
45
|
+
m = m or dict()
|
|
46
|
+
if m.get('credentialPublicConfig') is not None:
|
|
47
|
+
temp_model = main_models.CredentialPublicConfig()
|
|
48
|
+
self.credential_public_config = temp_model.from_map(m.get('credentialPublicConfig'))
|
|
49
|
+
|
|
50
|
+
if m.get('credentialSecret') is not None:
|
|
51
|
+
self.credential_secret = m.get('credentialSecret')
|
|
52
|
+
|
|
53
|
+
if m.get('description') is not None:
|
|
54
|
+
self.description = m.get('description')
|
|
55
|
+
|
|
56
|
+
if m.get('enabled') is not None:
|
|
57
|
+
self.enabled = m.get('enabled')
|
|
58
|
+
|
|
59
|
+
return self
|
|
60
|
+
|