All Products
Search
Document Center

Elastic High Performance Computing:DescribeImageGatewayConfig

Last Updated:Apr 09, 2024

Queries the image gateway configuration file of a shifter container in a specified cluster.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ClusterIdstringYes

The ID of the cluster.

ehpc-hz-FYUr32****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

04F0F334-1335-436C-A1D7-6C044FE73368
Imagegwobject

The information about the image gateway configuration file.

UpdateDateTimestring

The time when the file was updated.

2018-07-18T17:46:47
ImageExpirationTimeoutstring

The time when the image expires.

90:00:00
MongoDBURIstring

The information about the image gateway database.

mongodb://localhost
DefaultImageLocationstring

The default address of the image repository.

registry-1.docker.io
PullUpdateTimeoutlong

The timeout period for pulling images.

300
Locationsobject []

An array of the image repository addresses.

URLstring

The URL of the image repository.

https://regi****.docker-cn.com
RemoteTypestring

The type of the image repository.

dockerv2
Locationstring

The source address of the image repository.

regi****.docker.io
Authenticationstring

The authentication method of the image repository. Valid values:

  • http
  • https
https

Examples

Sample success responses

JSONformat

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368",
  "Imagegw": {
    "UpdateDateTime": "2018-07-18T17:46:47",
    "ImageExpirationTimeout": "90:00:00",
    "MongoDBURI": "mongodb://localhost",
    "DefaultImageLocation": "registry-1.docker.io",
    "PullUpdateTimeout": 300,
    "Locations": {
      "LocationInfo": [
        {
          "URL": "https://regi****.docker-cn.com",
          "RemoteType": "dockerv2",
          "Location": "regi****.docker.io",
          "Authentication": "https"
        }
      ]
    }
  }
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsInvalid param: %s-
404LoginNotFoundThe specified login node does not exist.
406AliyunErrorFailed to request other cloud service APIs.
406DbErrorDatabase request failed.
406AgentError.Image.DescribeImagegwFailed-
407NotAuthorizedThe request is not authorized by RAM.
500UnknownErrorAn unknown error occurred.
503ServiceUnavailableThe request has failed due to a temporary failure of the serverThe request has failed due to a temporary failure of the server.

For a list of error codes, visit the Service error codes.