Share via


MobileNetworkServiceDataFlowTemplate Constructor

Definition

Initializes a new instance of MobileNetworkServiceDataFlowTemplate.

public MobileNetworkServiceDataFlowTemplate (string templateName, Azure.ResourceManager.MobileNetwork.Models.MobileNetworkSdfDirectionS direction, System.Collections.Generic.IEnumerable<string> protocol, System.Collections.Generic.IEnumerable<string> remoteIPList);
new Azure.ResourceManager.MobileNetwork.Models.MobileNetworkServiceDataFlowTemplate : string * Azure.ResourceManager.MobileNetwork.Models.MobileNetworkSdfDirectionS * seq<string> * seq<string> -> Azure.ResourceManager.MobileNetwork.Models.MobileNetworkServiceDataFlowTemplate
Public Sub New (templateName As String, direction As MobileNetworkSdfDirectionS, protocol As IEnumerable(Of String), remoteIPList As IEnumerable(Of String))

Parameters

templateName
String

The name of the data flow template. This must be unique within the parent data flow policy rule. You must not use any of the following reserved strings - default, requested or service.

direction
MobileNetworkSdfDirectionS

The direction of this flow.

protocol
IEnumerable<String>

A list of the allowed protocol(s) for this flow. If you want this flow to be able to use any protocol within the internet protocol suite, use the value ip. If you only want to allow a selection of protocols, you must use the corresponding IANA Assigned Internet Protocol Number for each protocol, as described in https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml. For example, for UDP, you must use 17. If you use the value ip then you must leave the field port unspecified.

remoteIPList
IEnumerable<String>

The remote IP address(es) to which UEs will connect for this flow. If you want to allow connections on any IP address, use the value any. Otherwise, you must provide each of the remote IP addresses to which the packet core instance will connect for this flow. You must provide each IP address in CIDR notation, including the netmask (for example, 192.0.2.54/24).

Exceptions

templateName, protocol or remoteIPList is null.

Applies to