文档

DescribeContainerApp - 查询单个容器应用信息

更新时间:

调用DescribeContainerApp查询指定容器应用信息。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
ContainerIdstring

容器应用 ID。

您可以通过调用 ListContainerApps 获取容器应用 ID。

ehpc-container-ABDUGSkjs****

返回参数

名称类型描述示例值
object
RequestIdstring

请求 ID。

04F0F334-1335-436C-A1D7-6C044FE7****
ContainerAppInfoobject

容器应用信息。

Typestring

容器应用类型。固定值:singularity

singularity
Descriptionstring

容器应用描述。

ExampleDescription
CreateTimestring

创建容器应用时间。

2018-07-18T17:46:47
Repositorystring

仓库名。

busybox
ImageTagstring

镜像标签。

latest
Namestring

容器应用名称。

ExampleName
Idstring

容器应用 ID。

ehpc-container-ABDUGSkjs****

示例

正常返回示例

JSON格式

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
  "ContainerAppInfo": {
    "Type": "singularity",
    "Description": "ExampleDescription",
    "CreateTime": "2018-07-18T17:46:47",
    "Repository": "busybox",
    "ImageTag": "latest",
    "Name": "ExampleName",
    "Id": "ehpc-container-ABDUGSkjs****"
  }
}

JSON格式

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE7****",
  "ContainerAppInfo": {
    "Type": "singularity",
    "Description": "ExampleDescription",
    "CreateTime": "2018-07-18T17:46:47",
    "Repository": "busybox",
    "ImageTag": "latest",
    "Name": "ExampleName",
    "Id": "ehpc-container-ABDUGSkjs****"
  }
}

错误码

HTTP status code错误码错误信息描述
400InvalidParamsInvalid param: %s-
404ContainerNotFound指定的容器应用不存在
406DbError数据库请求失败
407NotAuthorized此请求未获得RAM授权
500UnknownError未知错误
503ServiceUnavailableThe request has failed due to a temporary failure of the server请求失败,服务暂时不可用

访问错误中心查看更多错误码。

  • 本页导读 (1)
文档反馈