检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
单击函数的名称,进入函数详情页。 在“设置”页签下选择“高级设置”。 开启“类隔离”开关,单击“保存”类隔离配置。 配置Java函数的预停止 登录函数工作流控制台,在左侧导航栏选择“函数 > 函数列表”。 单击函数的名称,进入函数详情页。 在“设置”页签下选择“生命周期”。 开启“预停止配置”开关,并配置相关参数。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
条件为“in”时,可以设置多个值,并用英文逗号(,)隔开,表示Header参数的值满足其中一个值即满足条件。 例如,规则1中“参数”为“aaa”,“条件”设置为“=”,“值”设置为“123”,规则2中“参数”为“bbb”,“条件”设置为“in”,“值”设置为“111,222,33
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
单击刚才创建好的函数mfa-service-serverless,在设置->权限中配置,选择刚才创建好的serverless-trust,如图6所示,单击“保存”确认。 图6 设置权限 配置VPC。 在函数设置页面中,选择网络配置菜单,用户需要选择和后端服务相同的VPC和子网,如图7所示,单击“保存”确认。
函数列表”,单击已开启调用链的函数,进入函数详情页面。 在“监控”页签下,选择“调用链”。 在左侧设置查询条件,完成后单击“查询Trace”。 图3 设置查询条件 时间:设置查询时间,注意起止查询时间间隔不能超过24小时。 响应时间:设置响应时间。 执行结果:选择“全部/执行成功/执行失败”。 Trace
单击右上方的“创建函数”,进入“创建函数”页面。 创建方式选择“容器镜像”,具体创建详情请参见使用容器镜像创建函数。 容器镜像函数创建完成后,在函数代码配置页面,选择“设置->常规设置”,单击“启用GPU”,配置GPU参数。 表1 GPU参数说明 参数名称 说明 GPU卡型 当前仅支持NVIDIA-T4。 GPU规格(GB)
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
region - 选填 必填 地区 function-name - 选填 必填 函数名 version-name - 选填 选填 指定版本,不设置默认为latest版本 trigger-type - 选填 必填 触发器类型 trigger-name - 选填 必填 触发器名,APIG
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
3]},则可在“遍历数组路径”填入$.arr获取该数组。 迭代变量名称 在遍历循环数组时作为数组中每一个元素的临时变量来承载循环的值,例如使用item作为临时变量,则设置为$.item。 结果输出路径 通过JSONPath表达式将结果指定输出到一个json中,例如在“结果输出路径”填入$.result,则输出{"result":[2
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
异常处理参数配置 参数 说明 是否重试 默认关闭。 重试条件(JSONPath) 当开启“是否重试”后,需要配置此项。该参数用以判断满足重试条件时,则按照设置的重试间隔和最大重试次数进行重试。当最大重试次数执行完后仍满足重试条件,则执行其后继节点;在最大重试次数执行期间或达到最大执行次数后不满足重试条件时,执行其他分支节点。