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

IUpdate 接口

定义

作为网络安全组更新的一部分的完整安全规则更新。

public interface IUpdate : Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IWithDestinationAddressOrSecurityGroup, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IWithDestinationPort, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IWithDirectionAccess, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IWithProtocol, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IWithSourceAddressOrSecurityGroup, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Update.IWithSourcePort, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResourceActions.ISettable<Microsoft.Azure.Management.Network.Fluent.NetworkSecurityGroup.Update.IUpdate>
type IUpdate = interface
    interface IWithDirectionAccess
    interface IWithSourceAddressOrSecurityGroup
    interface IWithSourcePort
    interface IWithDestinationAddressOrSecurityGroup
    interface IWithDestinationPort
    interface IWithProtocol
    interface ISettable<IUpdate>
Public Interface IUpdate
Implements ISettable(Of IUpdate), IWithDestinationAddressOrSecurityGroup, IWithDestinationPort, IWithDirectionAccess, IWithProtocol, IWithSourceAddressOrSecurityGroup, IWithSourcePort
实现

方法

AllowInbound()

允许入站流量。

(继承自 IWithDirectionAccess)
AllowOutbound()

允许出站流量。

(继承自 IWithDirectionAccess)
DenyInbound()

阻止入站流量。

(继承自 IWithDirectionAccess)
DenyOutbound()

阻止出站流量。

(继承自 IWithDirectionAccess)
FromAddress(String)

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

(继承自 IWithSourceAddressOrSecurityGroup)
FromAddresses(String[])

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

(继承自 IWithSourceAddressOrSecurityGroup)
FromAnyAddress()

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

(继承自 IWithSourceAddressOrSecurityGroup)
FromAnyPort()

使此规则应用于任何源端口。

(继承自 IWithSourcePort)
FromPort(Int32)

指定此规则应用于的源端口。

(继承自 IWithSourcePort)
FromPortRange(Int32, Int32)

指定应用此规则的源端口范围。

(继承自 IWithSourcePort)
FromPortRanges(String[])

指定此规则适用的源端口范围。

(继承自 IWithSourcePort)
Parent()

作为网络安全组更新的一部分的完整安全规则更新。

(继承自 ISettable<ParentT>)
ToAddress(String)

指定应用此规则的流量目标地址范围。

(继承自 IWithDestinationAddressOrSecurityGroup)
ToAddresses(String[])

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

(继承自 IWithDestinationAddressOrSecurityGroup)
ToAnyAddress()

使规则应用于任何流量目标地址。

(继承自 IWithDestinationAddressOrSecurityGroup)
ToAnyPort()

使此规则应用于任何目标端口。

(继承自 IWithDestinationPort)
ToPort(Int32)

指定应用此规则的目标端口。

(继承自 IWithDestinationPort)
ToPortRange(Int32, Int32)

指定此规则应用于的目标端口范围。

(继承自 IWithDestinationPort)
ToPortRanges(String[])

指定此规则应用于的目标端口范围。

(继承自 IWithDestinationPort)
WithAnyProtocol()

使此规则适用于任何受支持的协议。

(继承自 IWithProtocol)
WithDescription(String)

指定此安全规则的说明。

WithDestinationApplicationSecurityGroup(String)

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

(继承自 IWithDestinationAddressOrSecurityGroup)
WithPriority(Int32)

指定要分配给此安全规则的优先级。 安全规则按其分配的优先级顺序应用。

WithProtocol(SecurityRuleProtocol)

指定此规则适用的协议。

(继承自 IWithProtocol)
WithSourceApplicationSecurityGroup(String)

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

(继承自 IWithSourceAddressOrSecurityGroup)

适用于