检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
果调用时error不为空,则函数将返回HandledInitializationError,由于屏蔽了初始化函数的返回值,所以data中的数据是无效的,可以参考上文的示例设置为空。 SDK接口 Context类中提供了许多上下文方法供用户使用,其声明和功能如表1所示。 getTo
M)和对象存储服务(OBS)的最小权限集。 SWR Admin 容器镜像服务(SWR)管理员,拥有该服务下的所有权限。 DIS User 数据接入服务(DIS)通道使用权限。 创建默认委托的3种方式: 方式一:首次登录自动弹出创建提示 首次登录函数工作流控制台,函数数量为0且无默
None: 无认证模式,所有用户均可访问。 None 请求协议 必选参数。 API的请求协议分为两种类型: HTTP:数据在传输过程中不被加密。 HTTPS:数据在传输过程中被加密。 HTTPS 后端超时(毫秒) 必选参数。 设置API的后端超时时间,单位为毫秒,设置范围为1~60000毫秒。
successfully { "name" : "AI Drawing Stable-Diffusion", "description" : "AI Drawing", "runtime" : "http", "category" : "AI", "params" : "",
函数同步调用响应正文有效负载大小 6MB 返回的字符串或返回体序列化后的JSON字符串默认不大于6MB。具体数据大小会随FunctionGraph系统后台设置产生变化,因为系统后台判断的是序列化之后的数据大小,所以会存在字节级别的误差,误差范围为6MB±100bytes。 函数异步调用请求正文有效负载大小
keys) Alibaba Cloud (alibaba) AWS (aws) Azure (azure) Baidu Cloud (baidu) Google Cloud (google) > Huawei Cloud (huawei) Tencent
最小长度:1 最大长度:32 node_execution_details Array of NodeExecutionDetail objects 节点执行信息 数组长度:0 - 200 表4 NodeExecutionDetail 参数 参数类型 描述 node_id String 流程节点ID
"code_type" : "inline", "func_code" : { "file" : "UEsDBAoAAAAIAPQ1M1gNImPLrAAAAAEBAAAIAAAAaW5kZXgucHlNjtEOgjAMRd/5igVfxDAlxhjDo0S/wB+YrMgMdMvWG
对象前缀目录:输入对象前缀目录,以筛选通知消息要存放的对象文件。 对象过期时间(天):过期后的对象会被OBS服务端自动清理。单位:天,取值范围:0-365,0表示不过期。 数据接入服务(DIS) 目标通道:选择接收通知消息的目标通道。 消息通知服务(SMN) 主题名称:选择接收通知消息的主题。 失败时通知 目标服
Result 参数 参数类型 描述 resource_id String 资源ID resource_detail ListEnterpriseResourceDetail object tags Array of KvItem objects 标签列表 sys_tags Array
update(jv['header']) plaintext = cipher.decrypt_and_verify(jv['ciphertext'], jv['tag']) return plaintext.decode() except (ValueError
描述 type 否 String 指标类型,默认值为failcount。 start_time 否 String 起始时间。 end_time 否 String 结束时间。 limit 否 String 指标类型,默认值为failcount。 请求参数 表3 请求Header参数 参数
最大长度:64 枚举值: success fail timeout output Object 工作流的执行结果,JSON格式,仅在status为success时有值 errors Array of SyncExecutionNodeErrorDetail objects 流程执行错误信息,仅在status为fail时有值
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
需要给函数配置委托。 String Token 获取用户委托的Token(有效期24小时),使用该方法需要给函数配置委托。 Int RemainingTimeInMilliSeconds 函数剩余运行时间 String GetUserData(string key,string defvalue="