Creates a public IP address for a Distributed Relational Database Service (DRDS) instance by calling the CreateInstanceInternetAddress operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:CreateInstanceInternetAddress |
create |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID of the DRDS instance. |
drds**************** |
| RegionId |
string |
No |
The ID of the region in which the DRDS instance resides. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
integer |
The error code. Note
This parameter is returned only when the API call fails. |
404 |
| Data |
boolean |
Indicates whether the public IP address was created. |
true |
| RequestId |
string |
The request ID. |
1DF6052F-15E2-4E69-9628-D6BCC3****** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"Code": 404,
"Data": true,
"RequestId": "1DF6052F-15E2-4E69-9628-D6BCC3******",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. 默认错误码 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.