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

IWithSourceAddressOrSecurityGroup<ParentT> 接口

定义

允许指定源地址的网络规则定义的阶段。 注意:网络安全规则必须为以下其中一个指定非空值:SourceAddressPrefixes、SourceAddressPrefix、SourceApplicationSecurityGroups。

public interface IWithSourceAddressOrSecurityGroup<ParentT>
type IWithSourceAddressOrSecurityGroup<'ParentT> = interface
Public Interface IWithSourceAddressOrSecurityGroup(Of ParentT)

类型参数

ParentT

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

派生

方法

FromAddress(String)

指定应用此规则的流量源地址前缀。

FromAddresses(String[])

指定应用此规则的流量源地址前缀。

FromAnyAddress()

指定规则应用于任何流量源地址。

WithSourceApplicationSecurityGroup(String)

设置指定为源的应用程序安全组。

适用于