检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
POST /v2/{project_id}/fgs/functions API文档详情请参见:创建函数 请求示例 POST https://{Endpoint}/v2/{project_id}/fgs/functions { "code_filename": "index.zip
definition WorkflowCreateBody object 创建函数流的body体 表3 WorkflowCreateBody 参数 参数类型 描述 name String 函数流名称 最小长度:1 最大长度:64 description String 函数流描述 最小长度
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
函数工程创建以后,可以得到以下目录,选中工程所有文件,打包命名为“fss_examples_nodejs.zip”。
把项目文件和bootstrap文件打包成zip包。以koa框架为例: 父主题: Node.js
虚拟私有云(VPC) 函数支持用户创建虚拟私有云(VPC)并访问自己VPC内的资源,同时支持通过SNAT方式绑定EIP访问外网。相关内容请参考虚拟私有云用户指南。
在“基础信息”页签下,更新流水线名称为pipeline-update-function-deploy,并单击“保存”流水线。 执行流水线 运行时参数配置releaseVersion为1.0.0,单击“执行”。 图11 运行时参数配置 图12 流水线 deploy脚本发布成功。
It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted during use to ensure
下载示例代码 fss_examples_image_thumbnail_eg.zip。 在“代码”页签,选择“上传自Zip文件”,添加下载的“fss_examples_image_thumbnail_eg.zip”文件,单击“确定”,代码自动部署。
WinNFSd.exe -addr IP地址 F:\nfs /nfs IP地址为Windows系统的本机IP地址192.168.x.x,F:\nfs为nfs文件夹的实际路径。
getSourceIp() 获取APIG自定义认证信息中的源IP。
{ "name": "custom-container-http-example", "version": "1.0.0", "description": "An example of a custom container http function", "main
": "main.js", "scripts": {}, "keywords": [], "author": "", "license": "ISC", "dependencies": { "express": "^4.17.1" } } name
huaweicloud_fgs_function" "fgs_function" { name = "test_func_rf" app = "default" agency = "function-admin" description
vpc:ports:get(查询端口) vpc:ports:create(创建端口) vpc:vpcs:get(查询VPC) vpc:subnets:get(查询子网) vpc:vips:delete(虚IP解绑VM) vpc:securityGroups:get(查询安全组列表或详情
('obs_address') outputBucket = context.getUserData('obs_output_bucket') if obs_address is None: obs_address = '{obs_address_ip