Allocates a public endpoint to an instance.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:AllocatePublicNetworkAddress |
update |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The ID of the instance Note
If you set this parameter to the ID of a sharded cluster instance, you must also specify the NodeId parameter. |
dds-bp11483712c1**** |
| NodeId |
string |
No |
The ID of the mongos, shard, or Configserver node in the sharded cluster instance. You can call the DescribeDBInstanceAttribute operation to view the ID of the mongos, shard, or Configserver node. Note
This parameter is required only when you specify the DBInstanceId parameter to the ID of a sharded cluster instance. |
s-bp18e6d84ae3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
8AA45036-497F-52E7-B951-F9C7B239**** |
Examples
Success response
JSON format
{
"RequestId": "8AA45036-497F-52E7-B951-F9C7B239****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.