Copies rules of a network ACL.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CopyNetworkAclEntries

The operation that you want to perform. Set the value to CopyNetworkAclEntries.

NetworkAclId String Yes nacl-a2do9e413e0spxxxxxxxx

The ID of the network ACL.

RegionId String Yes cn-hangzhou

The region where the network ACL is deployed. You can call the DescribeRegions operation to query the region IDs.

SourceNetworkAclId String Yes nacl-ghuo9ehg3e0spxxxxxxxx

The ID of the network ACL whose rules are copied.

Response parameters

Parameter Type Example Description
RequestId String 6608E72F-F276-440F-ABEF-419971CEC4D1

The ID of the request.

Examples

Sample requests


https://vpc.aliyuncs.com/?Action=CopyNetworkAclEntries
&NetworkAclId=nacl-a2do9e413e0spxxxxxxxx
&RegionId=cn-hangzhou
&SourceNetworkAclId=nacl-ghuo9ehg3e0spxxxxxxxx
&<Common request parameters>

Sample success responses

XML format

<CopyNetworkAclEntriesResponse>
     <RequestId>6608E72F-F276-440F-ABEF-419971CEC4D1</RequestId>
</CopyNetworkAclEntriesResponse>

JSON format

{
	"RequestId":"6608E72F-F276-440F-ABEF-419971CEC4D1"
}

Error codes

HttpCode Error code Error message Description
500 InternalError The request processing has failed due to some unknown error. The error message returned because unknown errors have occurred.

For a list of error codes, visit the API Error Center.