Queries the details of a Container Registry instance.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the Container Registry instance. |
cri-xkx6vujuhay0**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ModifiedTime |
integer |
The time when the instance was last modified. |
1571926560000 |
| RequestId |
string |
The request ID. |
6EF34B18-4228-470C-860C-D28597CF010E |
| CreateTime |
integer |
The time when the instance was created. |
1571926439000 |
| InstanceName |
string |
The name of the instance. |
shanghai-instance1 |
| InstanceSpecification |
string |
The edition of the instance. Valid values: Enterprise_Basic (Basic Edition), Enterprise_Standard (Standard Edition), and Enterprise_Advanced (Advanced Edition). |
Enterprise_Basic |
| Code |
string |
The return code. |
success |
| InstanceStatus |
string |
The status of the instance. Valid values:
|
RUNNING |
| InstanceId |
string |
The ID of the Container Registry instance. |
cri-xkx6vujuhay0**** |
| IsSuccess |
boolean |
Indicates whether the request is successful. Valid values:
|
true |
| ResourceGroupId |
string |
The ID of the resource group to which the instance belongs. |
rg-acfmv36i4isx**** |
| InstanceIssue |
string |
The issues on the instance. |
Instance issues. Valid values: OSS_TOO_MANY_BUCKETS: The number of OSS buckets exceeds the limit. OSS_BUCKET_ALREADY_EXISTS: An OSS bucket with the same name already exists. OSS_SERVICE_ROLE_UNAUTHORIZED: OSS service role not authorized. USER_NOT_REGISTERED_BY_REAL_NAME: The China site OSS bucket cannot be purchased because the international site account has not completed real-name verification. |
| Tags |
array<object> |
The tags of the instance. |
|
|
object |
The tag of the instance. |
||
| TagKey |
string |
The tag key. |
test_key |
| TagValue |
string |
The tag value. |
test_value |
Examples
Success response
JSON format
{
"ModifiedTime": 1571926560000,
"RequestId": "6EF34B18-4228-470C-860C-D28597CF010E",
"CreateTime": 1571926439000,
"InstanceName": "shanghai-instance1",
"InstanceSpecification": "Enterprise_Basic",
"Code": "success",
"InstanceStatus": "RUNNING",
"InstanceId": "cri-xkx6vujuhay0****",
"IsSuccess": true,
"ResourceGroupId": "rg-acfmv36i4isx****",
"InstanceIssue": "实例问题,取值:\nOSS_TOO_MANY_BUCKETS:OSS Bucket 数量超限\n\nOSS_BUCKET_ALREADY_EXISTS:同名 OSS Bucket 已存在\n\nOSS_SERVICE_ROLE_UNAUTHORIZED:OSS 权限未授权\n\nUSER_NOT_REGISTERED_BY_REAL_NAME:国际站账号在购买中国站 OSS Bucket 时未进行实名认证",
"Tags": [
{
"TagKey": "test_key",
"TagValue": "test_value"
}
]
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | SystemError | Unknown error. | |
| 403 | NoPrivilege | Access denied for this user. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.