Delen via


IWithDestinationPort<ParentT>.WithDestinationPorts Method

Definition

Sets the destination ports of firewall rule in Azure firewall.

public ParentT WithDestinationPorts (System.Collections.Generic.IList<string> destinationPorts);
abstract member WithDestinationPorts : System.Collections.Generic.IList<string> -> 'ParentT
Public Function WithDestinationPorts (destinationPorts As IList(Of String)) As ParentT

Parameters

destinationPorts
IList<String>

The value of destination ports.

Returns

ParentT

Applies to