NetworkSecurityRule.UpdateStages.WithDestinationPort 接口

定义

The stage of the network rule description allowing the destination port(s) to be specified.

public interface WithDestinationPort

方法

toAnyPort()

Makes this rule apply to any destination port.

toPort(int port)

Specifies the destination port to which this rule applies.

toPortRange(int from, int to)

Specifies the destination port range to which this rule applies.

适用于