Share via


IUpdateDefinition<ParentT> Interface

Definition

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

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IBlank<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithDestinationAddressOrSecurityGroup<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithDestinationPort<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithDirectionAccess<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithProtocol<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithSourceAddressOrSecurityGroup<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.UpdateDefinition.IWithSourcePort<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithDirectionAccess<'ParentT>
    interface IWithSourceAddressOrSecurityGroup<'ParentT>
    interface IWithSourcePort<'ParentT>
    interface IWithDestinationAddressOrSecurityGroup<'ParentT>
    interface IWithDestinationPort<'ParentT>
    interface IWithProtocol<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInUpdate<'ParentT>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInUpdate(Of ParentT), IWithAttach(Of ParentT), IWithDestinationAddressOrSecurityGroup(Of ParentT), IWithDestinationPort(Of ParentT), IWithDirectionAccess(Of ParentT), IWithProtocol(Of ParentT), IWithSourceAddressOrSecurityGroup(Of ParentT), IWithSourcePort(Of ParentT)

Type Parameters

ParentT

The return type of the final UpdateDefinitionStages.WithAttach.attach().

Implements

Methods

AllowInbound()

Allows inbound traffic.

(Inherited from IWithDirectionAccess<ParentT>)
AllowOutbound()

Allows outbound traffic.

(Inherited from IWithDirectionAccess<ParentT>)
Attach() (Inherited from IInUpdate<ParentT>)
DenyInbound()

Blocks inbound traffic.

(Inherited from IWithDirectionAccess<ParentT>)
DenyOutbound()

Blocks outbound traffic.

(Inherited from IWithDirectionAccess<ParentT>)
FromAddress(String)

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

(Inherited from IWithSourceAddressOrSecurityGroup<ParentT>)
FromAddresses(String[])

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

(Inherited from IWithSourceAddressOrSecurityGroup<ParentT>)
FromAnyAddress()

Specifies that the rule applies to any traffic source address.

(Inherited from IWithSourceAddressOrSecurityGroup<ParentT>)
FromAnyPort()

Makes this rule apply to any source port.

(Inherited from IWithSourcePort<ParentT>)
FromPort(Int32)

Specifies the source port to which this rule applies.

(Inherited from IWithSourcePort<ParentT>)
FromPortRange(Int32, Int32)

Specifies the source port range to which this rule applies.

(Inherited from IWithSourcePort<ParentT>)
FromPortRanges(String[])

Specifies the source port ranges to which this rule applies.

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

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

(Inherited from IWithDestinationAddressOrSecurityGroup<ParentT>)
ToAddresses(String[])

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

(Inherited from IWithDestinationAddressOrSecurityGroup<ParentT>)
ToAnyAddress()

Makes the rule apply to any traffic destination address.

(Inherited from IWithDestinationAddressOrSecurityGroup<ParentT>)
ToAnyPort()

Makes this rule apply to any destination port.

(Inherited from IWithDestinationPort<ParentT>)
ToPort(Int32)

Specifies the destination port to which this rule applies.

(Inherited from IWithDestinationPort<ParentT>)
ToPortRange(Int32, Int32)

Specifies the destination port range to which this rule applies.

(Inherited from IWithDestinationPort<ParentT>)
ToPortRanges(String[])

Specifies the destination port ranges to which this rule applies.

(Inherited from IWithDestinationPort<ParentT>)
WithAnyProtocol()

Makes this rule apply to any supported protocol.

(Inherited from IWithProtocol<ParentT>)
WithDescription(String)

Specifies a description for this security rule.

(Inherited from IWithAttach<ParentT>)
WithDestinationApplicationSecurityGroup(String)

Sets the application security group specified as destination.

(Inherited from IWithDestinationAddressOrSecurityGroup<ParentT>)
WithPriority(Int32)

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

(Inherited from IWithAttach<ParentT>)
WithProtocol(SecurityRuleProtocol)

Specifies the protocol that this rule applies to.

(Inherited from IWithProtocol<ParentT>)
WithSourceApplicationSecurityGroup(String)

Sets the application security group specified as source.

(Inherited from IWithSourceAddressOrSecurityGroup<ParentT>)

Applies to