检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
********** ? Please create alias for key pair. If not, please enter to skip default 命令式配置 可以通过命令式直接进行密钥的添加: $ s config add --AccessKeyID ****** --SecretAccessKey
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
口 打包: $ zip fss_examples_go1.x.zip handler 创建函数 登录FunctionGraph控制台,创建Go1.x函数,上传代码包fss_examples_go1.x.zip。 对于Go runtime,必须在编译之后打zip包,编译后的文件名称
依赖包唯一标志(MD5校验值) size Long 依赖包大小 name String 依赖包名 file_name String 依赖包文件名 description String 依赖包描述。 version Long 依赖包版本号 last_modified Long 依赖包更新时间 dep_id
linux可执行的二进制文件。 在本地开发程序之后打包,必须是ZIP包(Java、Node.js、Python、Go)或者JAR包(Java),上传至FunctionGraph即可运行,无需其它的部署操作。制作ZIP包的时候,单函数入口文件必须在根目录,保证解压后,直接出现函数执行入口文件,才能正常运行。
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
runtime: Node.js14.18 package: default codeType: zip code: codeUri: ./code trigger: triggerTypeCode:
模板id type Integer 模板类型 title String 模板标题 template_name String 模板名称 description String 模板描述 runtime String 模板执行运行时 handler String 模板函数执行入口 code_type
aliasName: pre versionId: 1 description: test publish version lastModifiedTime: 2021-11-08T06:54:02Z
keras.optimizers.SGD(LEARNING_RATE) optimizer.apply_gradients(zip(grads, model.variables)) print('Epoch [{}/{}], loss [{:.3f}]'
"test_func_rf" app = "default" agency = "function-admin" description = "function test" handler = "index.handler" memory_size =
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
文件内容中的version为项目属性中的目标框架的版本号,2.0则为2.0.0 ,2.1则为2.1.0。 将文件打包为netcoreapp2.0.zip压缩包。 压缩包文件名称可随意,但是一定为.zip格式。 测试示例 在华为云FunctionGraph控制台新建一个C#(.NET 2.1)函数,上传打包完成的代码包,如图11所示。
对接EP使用的租户子网ID 响应参数 状态码: 200 表4 响应Body参数 参数 参数类型 描述 endpoints Array of strings Ip列表 address String 域名地址 状态码: 400 表5 响应Body参数 参数 参数类型 描述 error_code String