IWithDestinationPort<ParentT>.ToPort(Int32) Method

Definition

Specifies the destination port to which this rule applies.

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

Parameters

port
System.Int32

The destination port number.

Returns

IWithProtocol<ParentT>

Applies to