UpdateOutboundInternetAddress
Updates the outbound internet addresses configured for a specified MaxCompute project. New entries must comply with the outbound internet access rules of the project.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
odps:UpdateOutboundInternetAddress |
update |
*Project
|
None | None |
Request syntax
POST /api/v1/projects/{projectName}/outboundInternetAddress HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| projectName |
string |
Yes |
The name of the MaxCompute project. |
example_project |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
string |
No |
The JSON request body. The oldAddressList parameter specifies the list of addresses before the update, which can be obtained by calling ListOutboundInternetAddress. The newAddressList parameter specifies the list of addresses after the update. Addresses can include ports. |
{"oldAddressList":[],"newAddressList":["data.example.com:443"]} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
PopResult |
||
| requestId |
string |
The unique identifier of the API request. You can provide this identifier when troubleshooting API call issues. |
0be3e0aa16667684362147582e038f |
| httpCode |
integer |
The HTTP status code of the request. |
200 |
| errorCode |
string |
The error code returned when the request fails. |
InvalidArgument |
| errorMsg |
string |
The error message returned when the request fails. |
The specified parameter is invalid. |
| data |
string |
The result returned when the operation is successful. The value is success. |
success |
Examples
Success response
JSON format
{
"requestId": "0be3e0aa16667684362147582e038f",
"httpCode": 200,
"errorCode": "InvalidArgument",
"errorMsg": "The specified parameter is invalid.",
"data": "success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.