检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
exceptions from huaweicloudsdkfunctiongraph.v2 import * if __name__ == "__main__": # 该示例仅为测试使用,在生产环境中请勿硬编码ak sk 信息在代码中 ak = "<YOUR AK>"
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
serverless.yml # Contains 4 functions that do Users CRUD operations and the Users database posts/ serverless.yml # Contains 4 functions that
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
方法说明 getName() 获取用户名。(同一账号可以创建多个子用户) getId() 获取用户ID。 getDomain() 获取账号信息。 表20 Domain方法说明 方法名 方法说明 getName() 获取账号名称。 getId() 获取账号ID。 Kafka触发器相关方法说明
函数访问文件系统中文件时所使用的目录路径,路径须以“/”开头,且最多设置为两级,建议配置为/mnt或/home开头的二级目录。 不能使用系统已存在的目录,否则会报“failed to mount exist system path”错误。 例如,共享目录路径为“/a”,其下有文件“/a/b”和“/a/c/d
配置函数 能否在函数环境变量中存储敏感信息? FunctionGraph的函数如何读写上传的文件? 为函数挂载文件系统时,报“failed to mount exist system path” FunctionGraph如何实现域名解析? FunctionGraph如何通过域名访问专享版APIG中注册的接口?
可查询 url = 'https://functiongraph.{region_id}.{external_global_domain_name}/v2/%s/fgs/functions/%s/invocations' % (project_id,urn) headers
产品功能 函数管理 提供控制台管理函数。 函数支持Node.js、Java、Python、Go、PHP、Cangjie等多种运行时语言,同时支持用户自定义运行时,说明如表1所示。 建议使用相关语言的最新版本。 表1 运行时语言说明 运行时语言 支持版本 Node.js 6.10、8
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
eLists根据实际情况选择添加或者不添加,whiteLists为需开机/关机的ecs服务器ID,以逗号分隔。 {region}.{domain}组成ECS的终端节点Endpoint,如:cn-north-4.myhuaweicloud.com,具体Endpoint信息,请参考地区和终端节点。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
配置函数流的开始控制器组件 函数流的开始控制器组件是用于标识流程的开始。 约束与限制 通过数据工坊DWR服务创建的函数流,在函数工作流控制台只能查看,不能编辑和删除,相关操作请在DWR服务中执行。 每个函数流必须以“开始节点”作为流程开始且只能有一个“开始节点”,同时以“结束节点”作为流程结束。