Delen via


IWithSourcePort<ParentT>.FromPort(Int32) Method

Definition

Specifies the source port to which this rule applies.

public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDestinationAddressOrSecurityGroup<ParentT> FromPort (int port);
abstract member FromPort : int -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithDestinationAddressOrSecurityGroup<'ParentT>
Public Function FromPort (port As Integer) As IWithDestinationAddressOrSecurityGroup(Of ParentT)

Parameters

port
Int32

The source port number.

Returns

Applies to