检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
响应Body参数 参数 参数类型 描述 name String 要获取的别名名称。 version String 别名对应的版本名称。 description String 别名描述信息。 last_modified String 别名最后修改时间。 alias_urn String 版本别名唯一标识。
参数 是否必选 参数类型 描述 name 是 String 别名名称。 version 是 String 别名对应的版本名称。 description 否 String 别名描述信息。 additional_version_weights 否 Map<String,Integer>
表3 WorkflowCreateBody 参数 参数类型 描述 name String 函数流名称 最小长度:1 最大长度:64 description String 函数流描述 最小长度:1 最大长度:512 start String 流程开始节点ID 最小长度:1 最大长度:256
前只支持defaultversion当前只支持latest name String 流程定义名称 最小长度:1 最大长度:64 description String 流程定义描述 最小长度:0 最大长度:512 created_time String 流程创建时间,格式:yyyy
的描述。 表2 Query参数 参数 是否必选 参数类型 描述 requests 否 String 需要查询的异步请求ID, 多个请求id使用','分隔, 最大支持10个请求id查询。如果不指定,默认查询所有异步调用记录 最小长度:0 最大长度:640 marker 否 String
对于获取用户Token接口,返回如图1所示的消息头,其中“x-subject-token”就是需要获取的用户Token。有了Token之后,您就可以使用Token认证调用其他API。 图1 获取用户Token响应消息头 响应消息体 响应消息体通常以结构化格式返回,与响应消息头中Conte
计费FAQ 函数计费中的调用次数,是某一账号下在不同region的所有函数的调用次数总和吗? 详情请参见函数计费中的调用次数。
欠费后,您无法创建、执行函数及对资源执行任何操作。 避免和处理欠费 您在欠费后需要及时充值,详细操作请参见账户充值。 若相关函数或函数流不再使用,您可以将它们删除,避免不必要的扣费。 您可以在“费用中心 > 总览”页面设置“可用额度预警”功能。当可用额度、通用代金券和现金券的总额度低于预警阈值时,系统自动发送短信和邮件提醒。
依赖包唯一标志(MD5校验值) size Long 依赖包大小 name String 依赖包名 file_name String 依赖包文件名 description String 依赖包描述。 version Long 依赖包版本号 last_modified Long 依赖包更新时间 dep_id
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
数如图2所示,可自行选择函数所在区域,其他参数保持默认。 图2 配置参数 在“代码”页签,复制以下示例代码到代码编辑区,替换字段后单击“部署代码”。字段说明请参考表1。 import json import requests def handler (event, context):
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
调用 serverless invoke命令 调用已部署的函数。您可以发送事件数据、读取日志和查看函数调用的其他重要信息。 serverless invoke --function functionName 选项 --function或-f:要调用的服务中函数的名称,必填。 --data或-d:传递给函数的数据。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
FunctionGraph支持的监控指标 功能说明 本节定义了FunctionGraph上报云监控服务的监控指标的命名空间,监控指标列表和维度定义,用户可以通过云监控服务提供管理控制台或API接口来检索FunctionGraph产生的监控指标和告警信息。 命名空间 SYS.FunctionGraph
用户在函数的“监控”页签,开启调用链能力。开启后可以在函数”监控 > 调用链“页面或跳转至APM服务”应用监控 > 调用链"页面,查看函数调用链信息。当前仅支持Java8和Java11函数。 前提条件 调用链只支持512MB内存以上的函数,若函数内存低于512MB,无法使用调用链功能,请在“设置 >
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