CreateApplication_边缘节点服务 ENS_API文档

插件下载了解更多
VS Code 插件
安装插件之前,确保已安装 VS Code安装插件之前,确保已安装 VS Code
Alibaba Cloud Developer Toolkit is a collection of extensions that can help access Alibaba Cloud services in Visual Studio Code.
JetBrains 插件
安装插件之前,确保已安装 JetBrains IDE安装插件之前,确保已安装 JetBrains IDE
The Alibaba Cloud Developer Toolkit for JetBrains makes it easier to access Alibaba Cloud services.

流控信息

请求速率为50/1(s)。

授权信息

当前云产品暂无权限信息透出。

请求参数

字段名称字段详情
Templatestring

边缘应用模版,Json 格式的字符串,包含:展开详情

示例值:{\"appMetaData\":{ \"appName\":\"nginx\", \"clusterName\":\"poc\", \"appType\":\"Common\", \"description\":\"测试服务\" }, \"resourceAttribute\":{ \"resourceType\":\"\", \"instanceSpec\":\"ens.sn1.tiny\", \"systemDiskSize\":20, \"dataDiskSize\":0, \"bandwithOut\":10, \"areaLevel\":\"National\", \"netSecurityStrategy\":null, \"initConfig\":null }, \"resourceSelector\":[ { \"count\":1 } ], \"workload\":[ { \"podCount\":1, \"serviceConfig\":null, \"name\":\"nginx\", \"podSpec\":{ \"containers\":[ { \"name\":\"android\", \"image\":\"edge-registry.alicdn.com/test/nginx\" } ] }, \"count\":1 } ]}
Timeoutinteger<int32>

异步处理的超时时间。单位秒,默认 1800。

示例值:1800

返回参数

字段名称字段详情
AppIdstring

创建成功生成的应用 ID,是用户边缘应用服务的唯一标识。

示例值:d0639abf-789a-4527-b420-031d2cd9ad9b
RequestIdstring

请求 ID。

示例值:CEF72CEB-54B6-4AE8-B225-F876FF7BA984

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
MissingParameter
The input parameter that is mandatory for processing this request is not supplied.诊断
400
NoPermission
Permission denied.诊断
400
InvalidParameter.%s
The specified field %s invalid. Please check it again.诊断
400
InvalidParameter
The errorMessage is %s. Please check it again.诊断
400
ens.interface.error
An error occurred while calling the API.诊断
400
CallInterface
Call Interface Happen Error.诊断

变更历史

变更时间变更内容概要操作
2023-12-21
变更错误码400

相关示例