Queries the custom domain name of an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cr:GetInstanceCustomizedDomain |
get |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
cri-kmsiwlxxdcva**** |
| ModuleName |
string |
Yes |
The custom module name. |
Registry |
| Domain |
string |
Yes |
The custom domain name. |
registry.ugnas.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| ModuleName |
string |
The custom module name. |
Chart |
| Domain |
string |
The custom domain name. |
docker-images.qu-in.club |
| CreateTime |
integer |
The creation time. The value is a UNIX timestamp in milliseconds. |
1571926439000 |
| IsSuccess |
boolean |
Indicates whether the operation is successful. |
true |
| InstanceId |
string |
The instance ID. |
cri-4ec5xvj4j0l**** |
| CertId |
string |
The certificate ID. |
24858802 |
| EndpointType |
string |
The custom endpoint type. |
internet |
| RegionId |
string |
The region ID. |
cn-shanghai |
| RequestId |
string |
The request ID. |
4CE1F661-75DD-4EBD-A4AD-057B26834ABB |
| ModifiedTime |
integer |
The modification time. The value is a UNIX timestamp in milliseconds. |
1638259914000 |
| Code |
string |
The return code. |
success |
| DomainType |
string |
The domain type. |
USER |
Examples
Success response
JSON format
{
"ModuleName": "Chart",
"Domain": "docker-images.qu-in.club",
"CreateTime": 1571926439000,
"IsSuccess": true,
"InstanceId": "cri-4ec5xvj4j0l****",
"CertId": "24858802",
"EndpointType": "internet",
"RegionId": "cn-shanghai",
"RequestId": "4CE1F661-75DD-4EBD-A4AD-057B26834ABB",
"ModifiedTime": 1638259914000,
"Code": "success",
"DomainType": "USER"
}
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.