Udostępnij za pośrednictwem


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.IWithDestinationAddressOrSecurityGroup<ParentT> FromPortRange (int from, int to);
abstract member FromPortRange : int * int -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDestinationAddressOrSecurityGroup<'ParentT>
Public Function FromPortRange (from As Integer, to As Integer) As IWithDestinationAddressOrSecurityGroup(Of ParentT)

Parameters

from
Int32

The starting port number.

to
Int32

The ending port number.

Returns

Applies to