检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
名为“fss_examples_nodejs.zip”。 图1 打包 创建FunctionGraph函数,上传程序包 登录FunctionGraph控制台,创建Node.js函数,上传fss_examples_nodejs.zip文件。如图2所示。 图2 上传程序包 函数设置中,
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
云监控支持的函数监控指标请参考监控配置。 虚拟私有云(VPC) 函数支持用户创建虚拟私有云(VPC)并访问自己VPC内的资源,同时支持通过SNAT方式绑定EIP访问外网。相关内容请参考虚拟私有云用户指南。
其中releaseVersion设置为流水线参数。 图10 releaseVersion参数设置 单击“保存”,保存部署任务。 在“基础信息”页签下,更新流水线名称为pipeline-update-function-deploy,并单击“保存”流水线。 执行流水线 运行时参数配置releaseVersion为1
下载示例代码fss_examples_image_thumbnail.zip。 在“代码”页签,选择“上传自Zip文件”,添加下载的“fss_examples_image_thumbnail_eg.zip”文件,单击“确定”,代码自动部署。 单击页面最底部的“添加依赖包”,添加公共依赖包“pillow-7
注意:需要有个外网IP。 执行以下命令设置NFS共享,更多的命令解释请参考https://github.com/winnfsd/winnfsd。 WinNFSd.exe -addr IP地址 F:\nfs /nfs IP地址为Windows系统的本机IP地址192.168.x
getRequestId() 获取此次API请求的requestId。 getStage() 获取发布环境名称。 getSourceIp() 获取APIG自定义认证信息中的源IP。 APIGTriggerResponse相关方法说明 表4 APIGTriggerResponse构造方法说明 方法名
"version": "1.0.0", "description": "An example of a custom container http function", "main": "main.js", "scripts": {}, "keywords": [],
"version": "1.0.0", "description": "An example of a custom container event function", "main": "main.js", "scripts": {}, "keywords": [],
"test_func_rf" app = "default" agency = "function-admin" description = "function test" handler = "index.handler" memory_size =
使用KooCLI配置网络代理 设置网络代理命令如下: export HTTP_PROXY="http://user:password@proxyIp:proxyPort" 详情请参考:https://www.cyberciti.biz/faq/unix-linux-export-var
et') if obs_address is None: obs_address = '{obs_address_ip}' if outputBucket is None: outputBucket = 'casebucket-out'
URI-scheme:表示用于传输请求的协议,当前所有API均采用HTTPS协议。 Endpoint:指定承载REST服务端点的服务器域名或IP,不同服务不同区域的Endpoint不同,您可以从地区和终端节点中获取。例如IAM服务在“华北-北京一”区域的Endpoint为“iam.cn-north-1
allowed limit (2 KB). 环境变量总大小超过限制(2K) 检查环境变量的总大小 400 FSS.1019 The description exceeds the maximum allowed limit (512 characters). 描述信息长度超过限制(512
阶段 相关文档 1 函数支持访问VPC资源 函数新增支持用户创建虚拟私有云(VPC)并访问自己VPC内的资源,同时支持通过SNAT方式绑定EIP访问外网。在编辑函数时,您可以通过配置,为函数增加VPC网络的访问能力。 商用 函数配置VPC 2019年2月 序号 功能名称 功能描述 阶段
部署C#工程到FunctionGraph服务 用ssh工具将编译后的文件拷贝并打包,如图2所示。 图2 打包文件 创建函数并上传上一步的zip包。 执行函数,函数执行结果分为三部分,分别为函数返回(由callback返回)、执行摘要、日志输出(由Console.WriteLine()方法输出)。