共用方式為


IWithSourcePort<ParentT>.FromPortRanges(String[]) Method

Definition

Specifies the source port ranges to which this rule applies.

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

Parameters

ranges
String[]

The starting port ranges.

Returns

Applies to