IDefinition<ParentT> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The entirety of a network security rule definition.
public interface IDefinition<ParentT> : Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IBlank<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDescription<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDestinationAddressOrSecurityGroup<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDestinationPort<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDirectionAccess<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithPriority<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithProtocol<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithSourceAddressOrSecurityGroup<ParentT>, Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithSourcePort<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IDefinition<'ParentT> = interface
interface IBlank<'ParentT>
interface IWithDirectionAccess<'ParentT>
interface IWithAttach<'ParentT>
interface IInDefinition<'ParentT>
interface IWithPriority<'ParentT>
interface IWithDescription<'ParentT>
interface IWithSourceAddressOrSecurityGroup<'ParentT>
interface IWithSourcePort<'ParentT>
interface IWithDestinationAddressOrSecurityGroup<'ParentT>
interface IWithDestinationPort<'ParentT>
interface IWithProtocol<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithDescription(Of ParentT), IWithDestinationAddressOrSecurityGroup(Of ParentT), IWithDestinationPort(Of ParentT), IWithDirectionAccess(Of ParentT), IWithPriority(Of ParentT), IWithProtocol(Of ParentT), IWithSourceAddressOrSecurityGroup(Of ParentT), IWithSourcePort(Of ParentT)
Type Parameters
- ParentT
The return type of the final Attachable.attach().
- Implements
-
IBlank<ParentT> IWithAttach<ParentT> IWithDescription<ParentT> IWithDestinationAddressOrSecurityGroup<ParentT> IWithDestinationPort<ParentT> IWithDirectionAccess<ParentT> IWithPriority<ParentT> IWithProtocol<ParentT> IWithSourceAddressOrSecurityGroup<ParentT> IWithSourcePort<ParentT> IInDefinition<ParentT>
Methods
AllowInbound() |
Allows inbound traffic. (Inherited from IWithDirectionAccess<ParentT>) |
AllowOutbound() |
Allows outbound traffic. (Inherited from IWithDirectionAccess<ParentT>) |
Attach() | (Inherited from IInDefinition<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 IWithDescription<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 IWithPriority<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>) |