Creates CreateInstanceInternetAddress public IP address for a DRDS instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | CreateInstanceInternetAddress |
Required parameter. Value: CreateInstanceInternetAddress. |
DrdsInstanceId | String | Yes | drds**************** |
The ID of the DRDS instance. |
RegionId | String | No | cn-hangzhou |
The ID of the region to which the DRDS instance belongs. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Code | Integer | 404 |
The error code returned when the activity fails. Note This parameter appears only when an error occurs during the API call.
|
Data | Boolean | True |
Indicates whether the public IP address was created. |
RequestId | String | 1DF6052F-15E2-4E69-9628-D6BCC3****** |
The ID of the request. |
Success | Boolean | True |
Indicates whether the request was successful. |
Examples
Sample requests
http(s)://drds.aliyuncs.com/? Action=CreateInstanceInternetAddress
&DrdsInstanceId=drds****************
&RegionId=cn-hangzhou
&<Common request parameters>
Sample success responses
XML
format
<Data>true</Data>
<RequestId>1DF6052F-15E2-4E69-9628-D6BCC3******</RequestId>
<Success>true</Success>
JSON
format
{
"Data": true,
"RequestId": "1DF6052F-15E2-4E69-9628-D6BCC3******",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.