你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkSecurityRule.UpdateStages.WithDirectionAccess 接口

public interface WithDirectionAccess

允许指定方向和访问类型的网络规则说明阶段。

方法摘要

修饰符和类型 方法和描述
NetworkSecurityRule.Update allowInbound()

允许入站流量。

NetworkSecurityRule.Update allowOutbound()

允许出站流量。

NetworkSecurityRule.Update denyInbound()

阻止入站流量。

NetworkSecurityRule.Update denyOutbound()

阻止出站流量。

方法详细信息

allowInbound

public Update allowInbound()

允许入站流量。

Returns:

定义的下一阶段

allowOutbound

public Update allowOutbound()

允许出站流量。

Returns:

定义的下一阶段

denyInbound

public Update denyInbound()

阻止入站流量。

Returns:

定义的下一阶段

denyOutbound

public Update denyOutbound()

阻止出站流量。

Returns:

定义的下一阶段

适用于