共用方式為


IUpdate Interface

Definition

The entirety of a security rule update as part of a network security group update.

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
Implements

Methods

AllowInbound()

Allows inbound traffic.

(Inherited from IWithDirectionAccess)
AllowOutbound()

Allows outbound traffic.

(Inherited from IWithDirectionAccess)
DenyInbound()

Blocks inbound traffic.

(Inherited from IWithDirectionAccess)
DenyOutbound()

Blocks outbound traffic.

(Inherited from IWithDirectionAccess)
FromAddress(String)

Specifies the traffic source address prefix to which this rule applies.

(Inherited from IWithSourceAddressOrSecurityGroup)
FromAddresses(String[])

Specifies the traffic source address prefixes to which this rule applies.

(Inherited from IWithSourceAddressOrSecurityGroup)
FromAnyAddress()

Specifies that the rule applies to any traffic source address.

(Inherited from IWithSourceAddressOrSecurityGroup)
FromAnyPort()

Makes this rule apply to any source port.

(Inherited from IWithSourcePort)
FromPort(Int32)

Specifies the source port to which this rule applies.

(Inherited from IWithSourcePort)
FromPortRange(Int32, Int32)

Specifies the source port range to which this rule applies.

(Inherited from IWithSourcePort)
FromPortRanges(String[])

Specifies the source port ranges to which this rule applies.

(Inherited from IWithSourcePort)
Parent() (Inherited from ISettable<ParentT>)
ToAddress(String)

Specifies the traffic destination address range to which this rule applies.

(Inherited from IWithDestinationAddressOrSecurityGroup)
ToAddresses(String[])

Specifies the traffic destination address prefixes to which this rule applies.

(Inherited from IWithDestinationAddressOrSecurityGroup)
ToAnyAddress()

Makes the rule apply to any traffic destination address.

(Inherited from IWithDestinationAddressOrSecurityGroup)
ToAnyPort()

Makes this rule apply to any destination port.

(Inherited from IWithDestinationPort)
ToPort(Int32)

Specifies the destination port to which this rule applies.

(Inherited from IWithDestinationPort)
ToPortRange(Int32, Int32)

Specifies the destination port range to which this rule applies.

(Inherited from IWithDestinationPort)
ToPortRanges(String[])

Specifies the destination port ranges to which this rule applies.

(Inherited from IWithDestinationPort)
WithAnyProtocol()

Makes this rule apply to any supported protocol.

(Inherited from IWithProtocol)
WithDescription(String)

Specifies a description for this security rule.

WithDestinationApplicationSecurityGroup(String)

Sets the application security group specified as destination.

(Inherited from IWithDestinationAddressOrSecurityGroup)
WithPriority(Int32)

Specifies the priority to assign to this security rule. Security rules are applied in the order of their assigned priority.

WithProtocol(SecurityRuleProtocol)

Specifies the protocol that this rule applies to.

(Inherited from IWithProtocol)
WithSourceApplicationSecurityGroup(String)

Sets the application security group specified as source.

(Inherited from IWithSourceAddressOrSecurityGroup)

Applies to