IWithSourcePort<ParentT>.FromPortRange(Int32, Int32) Method

Definition

Specifies the source port range to which this rule applies.

public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDestinationAddress<ParentT> FromPortRange (int from, int to);
abstract member FromPortRange : int * int -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDestinationAddress<'ParentT>
Public Function FromPortRange (from As Integer, to As Integer) As IWithDestinationAddress(Of ParentT)

Parameters

from
Int32

The starting port number.

to
Int32

The ending port number.

Returns

IWithDestinationAddress<ParentT>

Applies to