PublishEdgeContainerAppVersion_边缘安全加速_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.

流控信息

当前云产品API请求速率暂未透出。

授权信息

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

请求参数

字段名称字段详情
AppIdstring

应用 ID。

示例值:app-88068867578379****字符长度 <= 64字符长度 >= 20
VersionIdstring

版本 ID。

示例值:ver-87962637161651****参考取值来源:
    ListEdgeContainerAppVersions
    CreateEdgeContainerAppVersion
字符长度 <= 64字符长度 >= 20
PublishEnvstring

发布的环境,取值如下:展开详情

示例值:prod
Percentageinteger<int32>

发布比例。取值:1~100,默认值:100

示例值:100取值 <= 100
StartTimestring

开始进行发布的时间,不写则默认为当前时间。展开详情

示例值:2023-06-05T16:00:00Z
Remarksstring

备注信息,默认为空。

示例值:test publish app字符长度 <= 1024
PublishTypestring

发布类型,支持如下两种:展开详情

示例值:percentage枚举值:percentageregion
Regionsarray<string>

发布区域列表。

FullReleaseboolean

是否全量发布。该字段仅当 PublishType 设置为 region 时生效。

示例值:true

返回参数

字段名称字段详情
RequestIdstring

请求 ID。

示例值:04F0F334-1335-436C-A1D7-6C044FE73368

返回示例

错误码

全局错误码
HTTP 状态码错误码错误信息操作
400
InvalidParameter.PublishEnv
The specified PublishEnv is invalid. Please check the PublishEnv parameter. It may not be set to either "prod" or "staging." Please make the necessary changes and call the interface again.诊断
400
InvalidParameter.Percentage
The Percentage parameter is invalid. Please check the Percentage parameter, which should be in the range of 1-100. Modify it accordingly and call the interface again.诊断
400
InvalidParameter
Invalid parameter. Check the parameter configuration.诊断
400
InvalidParameter.appid
The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID.诊断
400
InternalException
Failed to call the service. Try again later or contact technical support.诊断
400
InvalidParameter.VersionId
The specified VersionId is invalid.  Please check the VersionId parameter. You may not have entered the parameter or the parameter does not start with ver-string. Please modify it and call the interface again.诊断
404
InvalidApp.NotFound
The application does not exist. Check whether the application ID you specified is correct and try again.诊断
500
InternalError
Failed to call the service. Try again later or contact technical support.诊断

变更历史

暂无变更历史

相关示例