检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
loudTable 使用FunctionGraph函数实现通过API方式上传文件 使用FunctionGraph函数对IoTDA中的设备坐标数据进行转换 使用FunctionGraph函数对OBS中的文件进行加解密 使用FunctionGraph函数识别LTS中的异常业务日志并存储到OBS
name String 应用名称 status String 应用状态 last_modified_time Long 最后修改时间 description String 应用描述 状态码: 400 表6 响应Body参数 参数 参数类型 描述 error_code String 错误码
ListVersionAliasResult 参数 参数类型 描述 name String 要获取的别名名称。 version String 别名对应的版本名称。 description String 别名描述信息。 last_modified String 别名最后修改时间。 alias_urn String 版本别名唯一标识。
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
y API发送订阅请求,订阅后,FunctionGraph会自动将所有遥测数据发送到您的扩展,您可以对数据进行处理,例如存储到OBS、写入文件中或转发给其他可观测性工具。 扩展可以使用遥测 API 订阅三种不同的遥测流: 平台遥测:日志、指标和跟踪,描述与执行环境运行时生命周期、
前只支持defaultversion当前只支持latest name String 流程定义名称 最小长度:1 最大长度:64 description String 流程定义描述 最小长度:0 最大长度:512 created_time String 流程创建时间,格式:yyyy
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
以同步执行函数为例,提供封装后的SDK。为了保证您成功使用以下示例代码,您需要先添加对应语言的SDK依赖。 表1 Python SDK信息说明 SDK信息 说明 安装 pip install huaweicloudsdkfunctiongraph 相关链接 SDK依赖包地址 Python SDK使用说明 S
例,介绍函数的创建及测试过程,供您快速体验FunctionGraph函数的基本功能。 准备工作 注册华为账号并实名认证。 在创建函数前,请先注册华为账号并实名认证,具体步骤请参考注册华为账号并开通华为云和实名认证介绍。 如果您已有一个华为账号并实名认证,请跳过此步骤。 免费额度。
序号 步骤 说明 1 准备工作 使用FunctionGraph配置函数访问Redis数据前需进行的前期准备。 2 创建依赖包 创建一个redis-py的依赖包。 3 创建函数 创建实现Redis数据访问的函数并进行配置。请参考示例代码连接实例。 4 FunctionGraph监控告警
自定义标签配置上报标签到云日志服务(LTS),用户可以通过标签对日志进行过滤筛选。(最多添加10个标签) 说明: 当前仅支持华北-北京一、华东-上海一、华东-上海二、华南-广州、中东-利雅得、拉美-墨西哥城二。 配置完成后单击“创建函数”,页面跳转至代码配置页面,各配置项操作请参见配置函数。
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
函数计算平台默认提供的按量GPU实例使用方式,会自动管理GPU计算资源。根据业务的请求数量,自动弹性GPU实例,最低0个实例,最大可配置实例数量。 规格最优 函数计算平台提供的GPU实例规格,根据业务需求,选择卡型并配置使用的显存和内存的大小,为您提供最贴合业务的实例规格。 成本最优 函数计算平台提供的按量付费能力
great security risks. It is recommended that the AK and SK be stored in ciphertext in configuration files or environment variables and decrypted
应用示例 示例1:创建函数和Timer触发器实现定时从OBS桶中下载文件 示例2:创建函数和APIG触发器获取静态页面 示例3:上传代码到OBS桶,并使用OBS链接创建函数 示例4:函数互调
} } 一般不建议在函数代码内捕获异常,其会导致创建的错误次数告警配置不生效。但是FunctionGraph实现了与云日志服务(LTS)的对接,支持在LTS服务中配置告警,LTS支持日志告警实时监控函数日志中出现的异常信息。 父主题: 使用FunctionGraph函数访问Redis数据
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