UpdateAgentRuntimeInput

更新时间:
复制 MD 格式

名称

类型

描述

示例值

object

更新智能体运行时输入

agentRuntimeName

string

智能体运行时名称

my-agent-runtime

description

string

描述

更新后的智能体运行时描述

artifactType

string

制品类型

Code

codeConfiguration CodeConfiguration

代码配置

{}

containerConfiguration ContainerConfiguration

容器配置

{}

credentialName

string

用于访问智能体的凭证名称,访问智能体运行时将使用此凭证进行身份验证

my-credential

externalAgentEndpointUrl

string

外部注册类型的智能体访问端点地址,用于连接已部署在外部的智能体服务

https://external-agent.example.com/api

networkConfiguration NetworkConfiguration

网络配置

{}

protocolConfiguration ProtocolConfiguration

协议配置

{}

executionRoleArn

string

为智能体运行时提供访问云服务权限的执行角色 ARN

acs:ram::1760720386195983:role/AgentRunExecutionRole

cpu

number

CPU 配置

1.0

memory

integer

内存配置

1024

diskSize

integer

磁盘大小

port

integer

端口

8080

sessionConcurrencyLimitPerInstance

integer

每个运行时实例允许的最大并发会话数

100

logConfiguration LogConfiguration

SLS(简单日志服务)配置

{}

sessionIdleTimeoutSeconds

integer

会话的空闲超时时间,单位为秒。实例没有会话请求后处于空闲状态,空闲态为闲置计费模式,超过此超时时间后会话自动过期,不可继续使用

3600

enableSessionIsolation

boolean

是否启用会话隔离,启用后每个会话将在独立的环境中运行

false

disableOndemand

boolean

是否禁用按需弹性能力。默认为 false,设置为 true 时关闭按需弹性

false

disableSessionAffinity

boolean

是否禁用会话亲和性。默认为 false(即默认启用会话亲和),设置为 true 时关闭会话亲和

false

sessionAffinityType

string

会话亲和模式。NONE 表示关闭会话亲和;HEADER_FIELD 表示基于请求头的会话亲和;GENERATED_COOKIE 表示由 FC 生成 Cookie 进行会话亲和;COOKIE 为兼容别名,服务端会归一为 GENERATED_COOKIE

GENERATED_COOKIE

headerFieldName

string

当 sessionAffinityType 为 HEADER_FIELD 时用于会话亲和的请求头名称

x-agentrun-session-id

forceEvictInstances

boolean

更新运行时配置后是否尽力驱逐当前活跃 FC 会话,使新配置尽快生效

true

healthCheckConfiguration HealthCheckConfiguration

智能体运行时的健康检查配置,用于监控运行时实例的健康状态

{}

armsConfiguration ArmsConfiguration

应用实时监控服务(ARMS)的配置信息

{}

nasConfig NASConfig

文件存储 NAS 的配置信息,用于挂载 NAS 文件系统到智能体运行时

{}

ossMountConfig OSSMountConfig

对象存储 OSS 的挂载配置信息,用于挂载 OSS 存储桶到智能体运行时

{}

workspaceId

string

environmentVariables

object

环境变量

ENV_VAR1=value1,ENV_VAR2=value2

string

systemTags

array

智能体运行时的系统标签信息,用于系统级别的资源分类和管理

system-tag-1,system-tag-2

string

agentIdentityEnabled

boolean

agentIdentityConfig RuntimeAgentIdentityConfig

edition

string