Creates a network access control list (ACL).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ens:CreateNetworkAcl |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NetworkAclName |
string |
No |
Enter a name for the network ACL. The name must be 1 to 128 characters in length and cannot start with http:// or https://. |
acl-1 |
| Description |
string |
No |
The description of the network ACL. The description must be 1 to 256 characters in length and cannot start with http:// or https://. |
This is my NetworkAcl. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The ID of the request. |
CEF72CEB-54B6-4AE8-B225-F876FF7BA984 |
| NetworkAclId |
string |
The ID of the network ACL. |
nacl-5p1fg655nh68xyz9i**** |
Examples
Success response
JSON format
{
"RequestId": "CEF72CEB-54B6-4AE8-B225-F876FF7BA984",
"NetworkAclId": "nacl-5p1fg655nh68xyz9i****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The errorMessage is %s. Please check it again. | |
| 400 | ens.interface.error | An error occurred while calling the API. | |
| 400 | NoPermission | Permission denied. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.