All Products
Search
Document Center

Elastic High Performance Computing:ModifyImageGatewayConfig

Last Updated:Apr 09, 2024

Modifies the gateway configuration file of an image 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****
DBTypestringNo

The type of the database. Set the value to mongodb.

mongodb
DBUsernamestringNo

The username of the account that is used to log on to the database.

root
DBPasswordstringNo

The password that is used to log on to the database instance.

13****
DBServerInfostringNo

The URI of the database.

dds-uf6628e4287716b433270.mongodb.rds.aliyuncs.com:3717/admin
DefaultRepoLocationstringNo

The default repository service. Set the value to registry-1.docker.io.

registry-1.docker.io
PullUpdateTimeoutintegerNo

The timeout period for pulling images. Unit: seconds.

300
ImageExpirationTimeoutstringNo

The timeout period for deleting images.

12:00:00
Repoobject []No

The information about the repository.

AuthstringNo

The authentication method of the repository. Valid values:

  • http
  • https

Default value: http.

http
URLstringNo

The URL of the repository. The URL is required to add a repository address.

https://registry.docker-cn.com
LocationstringNo

The address of the repository N.

registry.docker-cn.com

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

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

Examples

Sample success responses

JSONformat

{
  "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParamsThe specified parameter %s is invalid.The specified parameter %s is invalid.
400NotEnabledYou have not enabled this serviceYou have not enabled this service
400InDebtYour account has overdue payments.Your account has overdue payments.
404ClusterNotFoundThe specified cluster does not exist.The specified instance does not exist.
404LoginNotFoundThe specified login node does not exist.The specified login node does not exist.
406AliyunErrorAn Alibaba Cloud product error occurred.An Alibaba Cloud product error occurred.
406DbErrorA database service error occurred.Database request failed.
406AgentErrorThe agent service request failed.-
407NotAuthorizedYou are not authorized by RAM for this request.The request is not authorized by RAM.
500UnknownErrorAn unknown error occurred.An 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.