TrafficMarkingPolicyTrafficMatchRuleArgs

data class TrafficMarkingPolicyTrafficMatchRuleArgs(val addressFamily: Output<String>? = null, val dstCidr: Output<String>? = null, val dstPortRanges: Output<List<Int>>? = null, val matchDscp: Output<Int>? = null, val protocol: Output<String>? = null, val srcCidr: Output<String>? = null, val srcPortRanges: Output<List<Int>>? = null, val trafficMatchRuleDescription: Output<String>? = null, val trafficMatchRuleName: Output<String>? = null) : ConvertibleToJava<TrafficMarkingPolicyTrafficMatchRuleArgs>

Constructors

Link copied to clipboard
constructor(addressFamily: Output<String>? = null, dstCidr: Output<String>? = null, dstPortRanges: Output<List<Int>>? = null, matchDscp: Output<Int>? = null, protocol: Output<String>? = null, srcCidr: Output<String>? = null, srcPortRanges: Output<List<Int>>? = null, trafficMatchRuleDescription: Output<String>? = null, trafficMatchRuleName: Output<String>? = null)

Properties

Link copied to clipboard
val addressFamily: Output<String>? = null

IP Address Family

Link copied to clipboard
val dstCidr: Output<String>? = null

The destination network segment of the traffic message. The flow classification matches the traffic of the destination IP address in the destination network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination IP address.

Link copied to clipboard
val dstPortRanges: Output<List<Int>>? = null

The destination port of the traffic message. Valid values: -1, 1 to 65535. The flow classification rule matches the traffic of the destination port number in the destination port range. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any destination port number. The current parameter supports a maximum of 2 port numbers. The input format is described as follows:

Link copied to clipboard
val matchDscp: Output<Int>? = null

The DSCP value of the traffic message. Valid values: 0 to **63 * *. The flow classification rule matches the flow with the specified DSCP value. If the flow classification rule is not set, it means that the flow classification rule matches the flow with any DSCP value.

Link copied to clipboard
val protocol: Output<String>? = null

The protocol type of the traffic message. Stream classification rules can match traffic of multiple protocol types, such as HTTP, HTTPS, TCP, UDP, SSH, and **Telnet. For more protocol types, please log on to the Cloud Enterprise Network Management Console to view.

Link copied to clipboard
val srcCidr: Output<String>? = null

The source network segment of the traffic message. The flow classification rule matches the traffic of the source IP address in the source network segment. If the flow classification rule is not set, it means that the flow classification rule matches the traffic of any source IP address.

Link copied to clipboard
val srcPortRanges: Output<List<Int>>? = null

The source port of the traffic message. Valid values: -1, 1 to 65535. The flow classification rule matches the traffic of the source port number in the source port range. If it is not set, it means that the flow classification rule matches the traffic of any source port number. The current parameter supports entering up to two port numbers. The input format is described as follows:

Link copied to clipboard
val trafficMatchRuleDescription: Output<String>? = null

The description information of the stream classification rule. The description must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).

Link copied to clipboard
val trafficMatchRuleName: Output<String>? = null

The name of the stream classification rule. The name must be 2 to 128 characters in length and can contain numbers, dashes (-), and underscores (_).

Functions

Link copied to clipboard
open override fun toJava(): TrafficMarkingPolicyTrafficMatchRuleArgs