检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
handler: index.handler memorySize: 128 timeout: 30 runtime: Node.js14.18 package: default codeType: zip
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
直接上传函数代码:直接上传本地开发完成的zip文件或jar文件,适用于代码包不超过40MB的场景使用。 从OBS上传函数代码:通过输入OBS桶地址,上传OBS桶中的zip文件或jar文件,适用于代码包不超过300MB的场景使用。
EP时使用的租户委托名称 vpc_id 是 String 对接EP使用的租户VPCID subnet_id 是 String 对接EP使用的租户子网ID 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 endpoints Array of strings Ip
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
-4 --function-name fg-test --access xxxx 上述命令的执行结果示例: fg-test: - aliasName: pre versionId: 1 description
zip: 函数代码为zip包。 obs: 函数代码来源于obs存储。 jar: 函数代码为jar包,主要针对Java函数。 Custom-Image-Swr: 函数代码来源于SWR自定义镜像。
将文件打包为netcoreapp2.0.zip压缩包。(压缩包文件名称可随意,但是一定为.zip格式。) 测试示例 在华为云FunctionGraph控制台新建一个C#(.NET 2.1)函数,上传打包完成的代码包,如图11所示。 图11 上传代码包 配置一个测试事件。
例如s cli fgs version list --region cn-north-4 --function-name fg-test --access xxxx 上述命令的执行结果示例: fg-test: - version: 1 description
function-name fg-test --alias-name pre --access xxxx 上述命令的执行结果示例: fg-test: aliasName: pre versionId: 1 description
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
subnetId: xxx-xxx # 子网编号 concurrency: 10 # 单函数最大实例数 concurrentNum: 10 # 单实例最大并发数 codeType: zip