Copies one or more network ACL entries.

Debug

Use API Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes CopyNetworkAclEntries

The name of this action. Value: CopyNetworkAclEntries.

NetworkAclId String Yes nacl-a2do9e413e0spxxxxxxxx

The ID of the network ACL.

RegionId String Yes cn-hangzhou

The region to which the network ACL belongs.

To query the region ID, call DescribeRegions.

SourceNetworkAclId String Yes nacl-ghuo9ehg3e0spxxxxxxxx

The ID of the copied network ACL.

Response parameters

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

The ID of the request.

Examples

Request example


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

Response example

XML format

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

JSON format

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

Error codes

HTTP status code Error code Error message Description
500 InternalError The request processing has failed due to some unknown error. An error occurred while the request was being processed.

See common error codes