Updates the IP address whitelist of an image repository.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:UpdateWhiteList |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegistryId |
integer |
Yes |
The image repository ID. Note
You can call the PageImageRegistry operation to obtain this parameter. |
19882 |
| WhiteList |
string |
Yes |
The whitelist. Separate multiple whitelisted addresses with commas (,). |
192.168.XXX.XXX,192.180.XXX.XXX |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Data |
boolean |
The processing result. |
true |
| RequestId |
string |
The request ID, which is a unique identifier generated by Alibaba Cloud for the request. You can use the ID to troubleshoot issues. |
576EF709-71CE-500F-95FC-7F7A297D**** |
Examples
Success response
JSON format
{
"Data": true,
"RequestId": "576EF709-71CE-500F-95FC-7F7A297D****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.