Creates internal domain name resolution and adds resolution records.
Operation description
VPC-type internal domain name resolution can be bound only to traditional dedicated instances. A-type resolution can be bound only to VPC integration dedicated instances.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:CreatePrivateDNS |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| IntranetDomain |
string |
Yes |
The internal domain name. |
api.demo.com |
| Type |
string |
Yes |
The internal domain name resolution type. Valid values:
Valid values:
|
A |
| Records |
array<object> |
No |
The resolution records. This parameter is valid only when Type is set to A. |
|
|
object |
No |
The resolution record details. |
||
| Record |
string |
No |
The resolution record. |
192.168.0.1 |
| Weight |
integer |
No |
The weight of the record. |
100 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
CEF72CEB-54B6-4AE8-B225-F876FF7BZ015 |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BZ015"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.