|
名称 |
类型 |
描述 |
示例值 |
|---|---|---|---|
|
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::123456789012:role/AgentRunExecutionRole |
| cpu |
number |
CPU 配置 |
1.0 |
| memory |
integer |
内存配置 |
1024 |
| diskSize |
integer |
磁盘大小 |
10240 |
| 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 挂载配置。 |
{} |
| ossMountConfig | OSSMountConfig |
OSS 挂载配置。 |
{} |
| workspaceId |
string |
资源所属的工作空间 ID。 |
ws-1234567890abcdef |
| environmentVariables |
object |
环境变量 |
ENV_VAR1=value1,ENV_VAR2=value2 |
|
string |
智能体运行时环境变量。 |
ENV_VAR1=value1,ENV_VAR2=value2 |
|
| systemTags |
array |
智能体运行时系统标签。 |
system-tag-1,system-tag-2 |
|
string |
智能体运行时系统标签。 |
system-tag-1,system-tag-2 |
|
| agentIdentityEnabled |
boolean |
是否启用智能体身份能力。 |
|
| agentIdentityConfig | RuntimeAgentIdentityConfig |
智能体身份配置。 |
|
| edition |
string |
运行时版本规格。 |
standard |
UpdateAgentRuntimeInput
更新时间:
复制 MD 格式
该文章对您有帮助吗?