Share via


IWithDestinationPort<ParentT>.ToPortRanges(String[]) Method

Definition

Specifies the destination port ranges to which this rule applies.

public Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithProtocol<ParentT> ToPortRanges (params string[] ranges);
abstract member ToPortRanges : string[] -> Microsoft.Azure.Management.Network.Fluent.NetworkSecurityRule.Definition.IWithProtocol<'ParentT>
Public Function ToPortRanges (ParamArray ranges As String()) As IWithProtocol(Of ParentT)

Parameters

ranges
String[]

The destination port ranges.

Returns

Applies to