All Products
Search
Document Center

Container Registry:CreateStorageDomainRoutingRule

Last Updated:Aug 28, 2026

Creates a storage domain name routing rule for a Container Registry instance.

Operation description

此 API 白名单开放,请提交工单获取支持。

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The instance ID

cri-xkx6vujuhay0****

Routes

array

Yes

The route list

RouteItem

No

The routing rule entries

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID

C8E90AB5-0A96-5D12-9E59-11EE463*****

RuleId

string

The rule ID.

crsdr-n6pbhgjx*****

Success

boolean

Indicates whether the request was successful.

true

Code

string

The HTTP status code.

success

Examples

Success response

JSON format

{
  "RequestId": "C8E90AB5-0A96-5D12-9E59-11EE463*****",
  "RuleId": "crsdr-n6pbhgjx*****",
  "Success": true,
  "Code": "success"
}

Error codes

HTTP status code

Error code

Error message

Description

403 AuthenticationFailed Authentication failed. Authentication failed.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.