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

NetworkSecurityRule.UpdateDefinitionStages.WithDirectionAccess<ParentT> 接口

类型参数

ParentT

附加此定义后要返回到的父定义的阶段

public interface WithDirectionAccess

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

方法摘要

修饰符和类型 方法和描述
NetworkSecurityRule.UpdateDefinitionStages.WithSourceAddress<ParentT> allowInbound()

允许入站流量。

NetworkSecurityRule.UpdateDefinitionStages.WithSourceAddress<ParentT> allowOutbound()

允许出站流量。

NetworkSecurityRule.UpdateDefinitionStages.WithSourceAddress<ParentT> denyInbound()

阻止入站流量。

NetworkSecurityRule.UpdateDefinitionStages.WithSourceAddress<ParentT> denyOutbound()

阻止出站流量。

方法详细信息

allowInbound

public WithSourceAddress allowInbound()

允许入站流量。

Returns:

定义的下一阶段

allowOutbound

public WithSourceAddress allowOutbound()

允许出站流量。

Returns:

定义的下一阶段

denyInbound

public WithSourceAddress denyInbound()

阻止入站流量。

Returns:

定义的下一阶段

denyOutbound

public WithSourceAddress denyOutbound()

阻止出站流量。

Returns:

定义的下一阶段

适用于