destPort

val destPort: Output<String>

The destination port of traffic access in the access control policy. Value:

  • When the protocol type is set to ICMP, the value of DestPort is null.

NOTE: When the protocol type is ICMP, access control on the destination port is not supported.

  • When the protocol type is TCP, UDP, or ANY, and the destination port type (DestPortType) IS group, the value of DestPort is null.

NOTE: When you select group (destination port address book) for the destination port type of the access control policy, you do not need to set a specific destination port number. All ports that need to be controlled by this access control policy are included in the destination port address book.

  • When the protocol type is TCP, UDP, or ANY, and the destination port type (DestPortType) is port, the value of DestPort is the destination port number.