published on Thursday, Sep 3, 2026 by Volcengine
published on Thursday, Sep 3, 2026 by Volcengine
The marking rule of the transit router’s flow marking policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcenginecc from "@volcengine/pulumi-volcenginecc";
const example = new volcenginecc.transitrouter.TransitRouterTrafficQosMarkingEntry("example", {
transitRouterTrafficQosMarkingPolicyId: "tr-qos-marking-policy-xxxxxxxx",
transitRouterTrafficQosMarkingEntryName: "ccapi-qos-marking-entry-full",
priority: 20,
protocol: "tcp",
sourceCidrBlock: "10.0.0.0/24",
destinationCidrBlock: "172.16.0.0/24",
sourcePortStart: 1000,
sourcePortEnd: 2000,
destinationPortStart: 3000,
destinationPortEnd: 4000,
matchDscp: 10,
remarkingDscp: 50,
description: "traffic qos marking entry full fields",
});
import pulumi
import pulumi_volcenginecc as volcenginecc
example = volcenginecc.transitrouter.TransitRouterTrafficQosMarkingEntry("example",
transit_router_traffic_qos_marking_policy_id="tr-qos-marking-policy-xxxxxxxx",
transit_router_traffic_qos_marking_entry_name="ccapi-qos-marking-entry-full",
priority=20,
protocol="tcp",
source_cidr_block="10.0.0.0/24",
destination_cidr_block="172.16.0.0/24",
source_port_start=1000,
source_port_end=2000,
destination_port_start=3000,
destination_port_end=4000,
match_dscp=10,
remarking_dscp=50,
description="traffic qos marking entry full fields")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcenginecc/sdk/go/volcenginecc/transitrouter"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := transitrouter.NewTransitRouterTrafficQosMarkingEntry(ctx, "example", &transitrouter.TransitRouterTrafficQosMarkingEntryArgs{
TransitRouterTrafficQosMarkingPolicyId: pulumi.String("tr-qos-marking-policy-xxxxxxxx"),
TransitRouterTrafficQosMarkingEntryName: pulumi.String("ccapi-qos-marking-entry-full"),
Priority: pulumi.Int(20),
Protocol: pulumi.String("tcp"),
SourceCidrBlock: pulumi.String("10.0.0.0/24"),
DestinationCidrBlock: pulumi.String("172.16.0.0/24"),
SourcePortStart: pulumi.Int(1000),
SourcePortEnd: pulumi.Int(2000),
DestinationPortStart: pulumi.Int(3000),
DestinationPortEnd: pulumi.Int(4000),
MatchDscp: pulumi.Int(10),
RemarkingDscp: pulumi.Int(50),
Description: pulumi.String("traffic qos marking entry full fields"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcenginecc = Volcengine.Pulumi.Volcenginecc;
return await Deployment.RunAsync(() =>
{
var example = new Volcenginecc.Transitrouter.TransitRouterTrafficQosMarkingEntry("example", new()
{
TransitRouterTrafficQosMarkingPolicyId = "tr-qos-marking-policy-xxxxxxxx",
TransitRouterTrafficQosMarkingEntryName = "ccapi-qos-marking-entry-full",
Priority = 20,
Protocol = "tcp",
SourceCidrBlock = "10.0.0.0/24",
DestinationCidrBlock = "172.16.0.0/24",
SourcePortStart = 1000,
SourcePortEnd = 2000,
DestinationPortStart = 3000,
DestinationPortEnd = 4000,
MatchDscp = 10,
RemarkingDscp = 50,
Description = "traffic qos marking entry full fields",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.volcengine.volcenginecc.transitrouter.TransitRouterTrafficQosMarkingEntry;
import com.volcengine.volcenginecc.transitrouter.TransitRouterTrafficQosMarkingEntryArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new TransitRouterTrafficQosMarkingEntry("example", TransitRouterTrafficQosMarkingEntryArgs.builder()
.transitRouterTrafficQosMarkingPolicyId("tr-qos-marking-policy-xxxxxxxx")
.transitRouterTrafficQosMarkingEntryName("ccapi-qos-marking-entry-full")
.priority(20)
.protocol("tcp")
.sourceCidrBlock("10.0.0.0/24")
.destinationCidrBlock("172.16.0.0/24")
.sourcePortStart(1000)
.sourcePortEnd(2000)
.destinationPortStart(3000)
.destinationPortEnd(4000)
.matchDscp(10)
.remarkingDscp(50)
.description("traffic qos marking entry full fields")
.build());
}
}
resources:
example:
type: volcenginecc:transitrouter:TransitRouterTrafficQosMarkingEntry
properties:
transitRouterTrafficQosMarkingPolicyId: tr-qos-marking-policy-xxxxxxxx
transitRouterTrafficQosMarkingEntryName: ccapi-qos-marking-entry-full
priority: 20
protocol: tcp
sourceCidrBlock: 10.0.0.0/24
destinationCidrBlock: 172.16.0.0/24
sourcePortStart: 1000
sourcePortEnd: 2000
destinationPortStart: 3000
destinationPortEnd: 4000
matchDscp: 10
remarkingDscp: 50
description: traffic qos marking entry full fields
pulumi {
required_providers {
volcenginecc = {
source = "pulumi/volcenginecc"
}
}
}
resource "volcenginecc_transitrouter_transitroutertrafficqosmarkingentry" "example" {
transit_router_traffic_qos_marking_policy_id = "tr-qos-marking-policy-xxxxxxxx"
transit_router_traffic_qos_marking_entry_name = "ccapi-qos-marking-entry-full"
priority = 20
protocol = "tcp"
source_cidr_block = "10.0.0.0/24"
destination_cidr_block = "172.16.0.0/24"
source_port_start = 1000
source_port_end = 2000
destination_port_start = 3000
destination_port_end = 4000
match_dscp = 10
remarking_dscp = 50
description = "traffic qos marking entry full fields"
}
Create TransitRouterTrafficQosMarkingEntry Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TransitRouterTrafficQosMarkingEntry(name: string, args: TransitRouterTrafficQosMarkingEntryArgs, opts?: CustomResourceOptions);@overload
def TransitRouterTrafficQosMarkingEntry(resource_name: str,
args: TransitRouterTrafficQosMarkingEntryArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TransitRouterTrafficQosMarkingEntry(resource_name: str,
opts: Optional[ResourceOptions] = None,
source_port_end: Optional[int] = None,
destination_cidr_block: Optional[str] = None,
destination_port_end: Optional[int] = None,
destination_port_start: Optional[int] = None,
priority: Optional[int] = None,
remarking_dscp: Optional[int] = None,
source_cidr_block: Optional[str] = None,
source_port_start: Optional[int] = None,
transit_router_traffic_qos_marking_policy_id: Optional[str] = None,
match_dscp: Optional[int] = None,
protocol: Optional[str] = None,
description: Optional[str] = None,
transit_router_traffic_qos_marking_entry_name: Optional[str] = None)func NewTransitRouterTrafficQosMarkingEntry(ctx *Context, name string, args TransitRouterTrafficQosMarkingEntryArgs, opts ...ResourceOption) (*TransitRouterTrafficQosMarkingEntry, error)public TransitRouterTrafficQosMarkingEntry(string name, TransitRouterTrafficQosMarkingEntryArgs args, CustomResourceOptions? opts = null)
public TransitRouterTrafficQosMarkingEntry(String name, TransitRouterTrafficQosMarkingEntryArgs args)
public TransitRouterTrafficQosMarkingEntry(String name, TransitRouterTrafficQosMarkingEntryArgs args, CustomResourceOptions options)
type: volcenginecc:transitrouter:TransitRouterTrafficQosMarkingEntry
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "volcenginecc_transitrouter_transit_router_traffic_qos_marking_entry" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args TransitRouterTrafficQosMarkingEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TransitRouterTrafficQosMarkingEntryArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TransitRouterTrafficQosMarkingEntryArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TransitRouterTrafficQosMarkingEntryArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TransitRouterTrafficQosMarkingEntryArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var transitRouterTrafficQosMarkingEntryResource = new Volcenginecc.Transitrouter.TransitRouterTrafficQosMarkingEntry("transitRouterTrafficQosMarkingEntryResource", new()
{
SourcePortEnd = 0,
DestinationCidrBlock = "string",
DestinationPortEnd = 0,
DestinationPortStart = 0,
Priority = 0,
RemarkingDscp = 0,
SourceCidrBlock = "string",
SourcePortStart = 0,
TransitRouterTrafficQosMarkingPolicyId = "string",
MatchDscp = 0,
Protocol = "string",
Description = "string",
TransitRouterTrafficQosMarkingEntryName = "string",
});
example, err := transitrouter.NewTransitRouterTrafficQosMarkingEntry(ctx, "transitRouterTrafficQosMarkingEntryResource", &transitrouter.TransitRouterTrafficQosMarkingEntryArgs{
SourcePortEnd: pulumi.Int(0),
DestinationCidrBlock: pulumi.String("string"),
DestinationPortEnd: pulumi.Int(0),
DestinationPortStart: pulumi.Int(0),
Priority: pulumi.Int(0),
RemarkingDscp: pulumi.Int(0),
SourceCidrBlock: pulumi.String("string"),
SourcePortStart: pulumi.Int(0),
TransitRouterTrafficQosMarkingPolicyId: pulumi.String("string"),
MatchDscp: pulumi.Int(0),
Protocol: pulumi.String("string"),
Description: pulumi.String("string"),
TransitRouterTrafficQosMarkingEntryName: pulumi.String("string"),
})
resource "volcenginecc_transitrouter_transit_router_traffic_qos_marking_entry" "transitRouterTrafficQosMarkingEntryResource" {
lifecycle {
create_before_destroy = true
}
source_port_end = 0
destination_cidr_block = "string"
destination_port_end = 0
destination_port_start = 0
priority = 0
remarking_dscp = 0
source_cidr_block = "string"
source_port_start = 0
transit_router_traffic_qos_marking_policy_id = "string"
match_dscp = 0
protocol = "string"
description = "string"
transit_router_traffic_qos_marking_entry_name = "string"
}
var transitRouterTrafficQosMarkingEntryResource = new TransitRouterTrafficQosMarkingEntry("transitRouterTrafficQosMarkingEntryResource", TransitRouterTrafficQosMarkingEntryArgs.builder()
.sourcePortEnd(0)
.destinationCidrBlock("string")
.destinationPortEnd(0)
.destinationPortStart(0)
.priority(0)
.remarkingDscp(0)
.sourceCidrBlock("string")
.sourcePortStart(0)
.transitRouterTrafficQosMarkingPolicyId("string")
.matchDscp(0)
.protocol("string")
.description("string")
.transitRouterTrafficQosMarkingEntryName("string")
.build());
transit_router_traffic_qos_marking_entry_resource = volcenginecc.transitrouter.TransitRouterTrafficQosMarkingEntry("transitRouterTrafficQosMarkingEntryResource",
source_port_end=0,
destination_cidr_block="string",
destination_port_end=0,
destination_port_start=0,
priority=0,
remarking_dscp=0,
source_cidr_block="string",
source_port_start=0,
transit_router_traffic_qos_marking_policy_id="string",
match_dscp=0,
protocol="string",
description="string",
transit_router_traffic_qos_marking_entry_name="string")
const transitRouterTrafficQosMarkingEntryResource = new volcenginecc.transitrouter.TransitRouterTrafficQosMarkingEntry("transitRouterTrafficQosMarkingEntryResource", {
sourcePortEnd: 0,
destinationCidrBlock: "string",
destinationPortEnd: 0,
destinationPortStart: 0,
priority: 0,
remarkingDscp: 0,
sourceCidrBlock: "string",
sourcePortStart: 0,
transitRouterTrafficQosMarkingPolicyId: "string",
matchDscp: 0,
protocol: "string",
description: "string",
transitRouterTrafficQosMarkingEntryName: "string",
});
type: volcenginecc:transitrouter:TransitRouterTrafficQosMarkingEntry
properties:
description: string
destinationCidrBlock: string
destinationPortEnd: 0
destinationPortStart: 0
matchDscp: 0
priority: 0
protocol: string
remarkingDscp: 0
sourceCidrBlock: string
sourcePortEnd: 0
sourcePortStart: 0
transitRouterTrafficQosMarkingEntryName: string
transitRouterTrafficQosMarkingPolicyId: string
TransitRouterTrafficQosMarkingEntry Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TransitRouterTrafficQosMarkingEntry resource accepts the following input properties:
- Destination
Cidr stringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- Destination
Port intEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Destination
Port intStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Priority int
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- Remarking
Dscp int - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- Source
Cidr stringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- Source
Port intEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Source
Port intStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Transit
Router stringTraffic Qos Marking Policy Id - Flow marking policy ID
- Description string
- Description of the flow marking rule. Length limit: 0–255 characters
- Match
Dscp int - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- Protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- Transit
Router stringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- Destination
Cidr stringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- Destination
Port intEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Destination
Port intStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Priority int
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- Remarking
Dscp int - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- Source
Cidr stringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- Source
Port intEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Source
Port intStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Transit
Router stringTraffic Qos Marking Policy Id - Flow marking policy ID
- Description string
- Description of the flow marking rule. Length limit: 0–255 characters
- Match
Dscp int - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- Protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- Transit
Router stringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- destination_
cidr_ stringblock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination_
port_ numberend - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination_
port_ numberstart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- priority number
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- remarking_
dscp number - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source_
cidr_ stringblock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source_
port_ numberend - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source_
port_ numberstart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- transit_
router_ stringtraffic_ qos_ marking_ policy_ id - Flow marking policy ID
- description string
- Description of the flow marking rule. Length limit: 0–255 characters
- match_
dscp number - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- transit_
router_ stringtraffic_ qos_ marking_ entry_ name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- destination
Cidr StringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination
Port IntegerEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination
Port IntegerStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- priority Integer
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- remarking
Dscp Integer - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source
Cidr StringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source
Port IntegerEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source
Port IntegerStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- transit
Router StringTraffic Qos Marking Policy Id - Flow marking policy ID
- description String
- Description of the flow marking rule. Length limit: 0–255 characters
- match
Dscp Integer - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- protocol String
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- transit
Router StringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- destination
Cidr stringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination
Port numberEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination
Port numberStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- priority number
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- remarking
Dscp number - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source
Cidr stringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source
Port numberEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source
Port numberStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- transit
Router stringTraffic Qos Marking Policy Id - Flow marking policy ID
- description string
- Description of the flow marking rule. Length limit: 0–255 characters
- match
Dscp number - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- transit
Router stringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- destination_
cidr_ strblock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination_
port_ intend - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination_
port_ intstart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- priority int
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- remarking_
dscp int - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source_
cidr_ strblock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source_
port_ intend - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source_
port_ intstart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- transit_
router_ strtraffic_ qos_ marking_ policy_ id - Flow marking policy ID
- description str
- Description of the flow marking rule. Length limit: 0–255 characters
- match_
dscp int - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- protocol str
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- transit_
router_ strtraffic_ qos_ marking_ entry_ name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- destination
Cidr StringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination
Port NumberEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination
Port NumberStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- priority Number
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- remarking
Dscp Number - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source
Cidr StringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source
Port NumberEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source
Port NumberStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- transit
Router StringTraffic Qos Marking Policy Id - Flow marking policy ID
- description String
- Description of the flow marking rule. Length limit: 0–255 characters
- match
Dscp Number - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- protocol String
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- transit
Router StringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
Outputs
All input properties are implicitly available as output properties. Additionally, the TransitRouterTrafficQosMarkingEntry resource produces the following output properties:
- Creation
Time string - Flow marking rule creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Flow marking rule status
- Transit
Router stringTraffic Qos Marking Entry Id - Flow marking rule ID
- Update
Time string - Last operation time of the flow marking rule
- Creation
Time string - Flow marking rule creation time
- Id string
- The provider-assigned unique ID for this managed resource.
- Status string
- Flow marking rule status
- Transit
Router stringTraffic Qos Marking Entry Id - Flow marking rule ID
- Update
Time string - Last operation time of the flow marking rule
- creation_
time string - Flow marking rule creation time
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Flow marking rule status
- transit_
router_ stringtraffic_ qos_ marking_ entry_ id - Flow marking rule ID
- update_
time string - Last operation time of the flow marking rule
- creation
Time String - Flow marking rule creation time
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Flow marking rule status
- transit
Router StringTraffic Qos Marking Entry Id - Flow marking rule ID
- update
Time String - Last operation time of the flow marking rule
- creation
Time string - Flow marking rule creation time
- id string
- The provider-assigned unique ID for this managed resource.
- status string
- Flow marking rule status
- transit
Router stringTraffic Qos Marking Entry Id - Flow marking rule ID
- update
Time string - Last operation time of the flow marking rule
- creation_
time str - Flow marking rule creation time
- id str
- The provider-assigned unique ID for this managed resource.
- status str
- Flow marking rule status
- transit_
router_ strtraffic_ qos_ marking_ entry_ id - Flow marking rule ID
- update_
time str - Last operation time of the flow marking rule
- creation
Time String - Flow marking rule creation time
- id String
- The provider-assigned unique ID for this managed resource.
- status String
- Flow marking rule status
- transit
Router StringTraffic Qos Marking Entry Id - Flow marking rule ID
- update
Time String - Last operation time of the flow marking rule
Look up Existing TransitRouterTrafficQosMarkingEntry Resource
Get an existing TransitRouterTrafficQosMarkingEntry resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TransitRouterTrafficQosMarkingEntryState, opts?: CustomResourceOptions): TransitRouterTrafficQosMarkingEntry@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_time: Optional[str] = None,
description: Optional[str] = None,
destination_cidr_block: Optional[str] = None,
destination_port_end: Optional[int] = None,
destination_port_start: Optional[int] = None,
match_dscp: Optional[int] = None,
priority: Optional[int] = None,
protocol: Optional[str] = None,
remarking_dscp: Optional[int] = None,
source_cidr_block: Optional[str] = None,
source_port_end: Optional[int] = None,
source_port_start: Optional[int] = None,
status: Optional[str] = None,
transit_router_traffic_qos_marking_entry_id: Optional[str] = None,
transit_router_traffic_qos_marking_entry_name: Optional[str] = None,
transit_router_traffic_qos_marking_policy_id: Optional[str] = None,
update_time: Optional[str] = None) -> TransitRouterTrafficQosMarkingEntryfunc GetTransitRouterTrafficQosMarkingEntry(ctx *Context, name string, id IDInput, state *TransitRouterTrafficQosMarkingEntryState, opts ...ResourceOption) (*TransitRouterTrafficQosMarkingEntry, error)public static TransitRouterTrafficQosMarkingEntry Get(string name, Input<string> id, TransitRouterTrafficQosMarkingEntryState? state, CustomResourceOptions? opts = null)public static TransitRouterTrafficQosMarkingEntry get(String name, Output<String> id, TransitRouterTrafficQosMarkingEntryState state, CustomResourceOptions options)resources: _: type: volcenginecc:transitrouter:TransitRouterTrafficQosMarkingEntry get: id: ${id}import {
to = volcenginecc_transitrouter_transit_router_traffic_qos_marking_entry.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Creation
Time string - Flow marking rule creation time
- Description string
- Description of the flow marking rule. Length limit: 0–255 characters
- Destination
Cidr stringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- Destination
Port intEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Destination
Port intStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Match
Dscp int - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- Priority int
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- Protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- Remarking
Dscp int - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- Source
Cidr stringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- Source
Port intEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Source
Port intStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Status string
- Flow marking rule status
- Transit
Router stringTraffic Qos Marking Entry Id - Flow marking rule ID
- Transit
Router stringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- Transit
Router stringTraffic Qos Marking Policy Id - Flow marking policy ID
- Update
Time string - Last operation time of the flow marking rule
- Creation
Time string - Flow marking rule creation time
- Description string
- Description of the flow marking rule. Length limit: 0–255 characters
- Destination
Cidr stringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- Destination
Port intEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Destination
Port intStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- Match
Dscp int - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- Priority int
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- Protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- Remarking
Dscp int - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- Source
Cidr stringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- Source
Port intEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Source
Port intStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- Status string
- Flow marking rule status
- Transit
Router stringTraffic Qos Marking Entry Id - Flow marking rule ID
- Transit
Router stringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- Transit
Router stringTraffic Qos Marking Policy Id - Flow marking policy ID
- Update
Time string - Last operation time of the flow marking rule
- creation_
time string - Flow marking rule creation time
- description string
- Description of the flow marking rule. Length limit: 0–255 characters
- destination_
cidr_ stringblock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination_
port_ numberend - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination_
port_ numberstart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- match_
dscp number - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- priority number
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- remarking_
dscp number - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source_
cidr_ stringblock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source_
port_ numberend - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source_
port_ numberstart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- status string
- Flow marking rule status
- transit_
router_ stringtraffic_ qos_ marking_ entry_ id - Flow marking rule ID
- transit_
router_ stringtraffic_ qos_ marking_ entry_ name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- transit_
router_ stringtraffic_ qos_ marking_ policy_ id - Flow marking policy ID
- update_
time string - Last operation time of the flow marking rule
- creation
Time String - Flow marking rule creation time
- description String
- Description of the flow marking rule. Length limit: 0–255 characters
- destination
Cidr StringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination
Port IntegerEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination
Port IntegerStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- match
Dscp Integer - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- priority Integer
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- protocol String
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- remarking
Dscp Integer - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source
Cidr StringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source
Port IntegerEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source
Port IntegerStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- status String
- Flow marking rule status
- transit
Router StringTraffic Qos Marking Entry Id - Flow marking rule ID
- transit
Router StringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- transit
Router StringTraffic Qos Marking Policy Id - Flow marking policy ID
- update
Time String - Last operation time of the flow marking rule
- creation
Time string - Flow marking rule creation time
- description string
- Description of the flow marking rule. Length limit: 0–255 characters
- destination
Cidr stringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination
Port numberEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination
Port numberStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- match
Dscp number - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- priority number
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- protocol string
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- remarking
Dscp number - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source
Cidr stringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source
Port numberEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source
Port numberStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- status string
- Flow marking rule status
- transit
Router stringTraffic Qos Marking Entry Id - Flow marking rule ID
- transit
Router stringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- transit
Router stringTraffic Qos Marking Policy Id - Flow marking policy ID
- update
Time string - Last operation time of the flow marking rule
- creation_
time str - Flow marking rule creation time
- description str
- Description of the flow marking rule. Length limit: 0–255 characters
- destination_
cidr_ strblock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination_
port_ intend - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination_
port_ intstart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- match_
dscp int - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- priority int
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- protocol str
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- remarking_
dscp int - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source_
cidr_ strblock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source_
port_ intend - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source_
port_ intstart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- status str
- Flow marking rule status
- transit_
router_ strtraffic_ qos_ marking_ entry_ id - Flow marking rule ID
- transit_
router_ strtraffic_ qos_ marking_ entry_ name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- transit_
router_ strtraffic_ qos_ marking_ policy_ id - Flow marking policy ID
- update_
time str - Last operation time of the flow marking rule
- creation
Time String - Flow marking rule creation time
- description String
- Description of the flow marking rule. Length limit: 0–255 characters
- destination
Cidr StringBlock - IP subnet of the destination address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets The IP subnet type entered for this parameter should match SourceCidrBlock; both must be IPv4 subnets or both IPv6 subnets
- destination
Port NumberEnd - End value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- destination
Port NumberStart - Start value of the destination port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, gre, or all, only -1 is supported
- match
Dscp Number - The DSCP value of the traffic packet itself. Value range: -1, 0–63. The default value is -1, which means that packets with any DSCP value will match this marking rule.
- priority Number
- Priority of the marking rule. Valid values: 1–10000 Priorities of different marking rules must not be duplicated
- protocol String
- Protocol type tcp: TCP protocol udp: UDP protocol gre: GRE protocol icmp: ICMP protocol icmpv6: ICMPV6 protocol all (default): Supports all protocols Note: IPv6 functionality for transit routers is currently in beta. To use it, please contact your account manager. ICMPV6 can only be used after enabling IPv6 for transit routers
- remarking
Dscp Number - DSCP value to modify for target traffic packets. Valid values: 0–63 When target traffic matches this marking rule, the DSCP value of the packet is replaced with this parameter value
- source
Cidr StringBlock - IP subnet of the source address, supports IPv4 and IPv6 When Protocol is tcp, udp, gre, or all, this parameter can accept IPv4 or IPv6 subnets When Protocol is icmp, this parameter only supports IPv4 subnets When Protocol is icmpv6, this parameter only supports IPv6 subnets
- source
Port NumberEnd - End value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- source
Port NumberStart - Start value of the source port range. Valid values: -1, 1–65535 -1 means no port restriction When Protocol is icmp, icmpv6, or gre, only -1 is supported
- status String
- Flow marking rule status
- transit
Router StringTraffic Qos Marking Entry Id - Flow marking rule ID
- transit
Router StringTraffic Qos Marking Entry Name - Name of the flow marking rule. Must start with a letter, number, or Chinese character; can include letters, numbers, Chinese characters, and the following special characters: period (.), underscore (_), and hyphen (-). Length limit: 1–128 characters
- transit
Router StringTraffic Qos Marking Policy Id - Flow marking policy ID
- update
Time String - Last operation time of the flow marking rule
Import
$ pulumi import volcenginecc:transitrouter/transitRouterTrafficQosMarkingEntry:TransitRouterTrafficQosMarkingEntry example "transit_router_traffic_qos_marking_policy_id|transit_router_traffic_qos_marking_entry_id"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- volcenginecc volcengine/pulumi-volcenginecc
- License
- MPL-2.0
- Notes
- This Pulumi package is based on the
volcengineccTerraform Provider.
published on Thursday, Sep 3, 2026 by Volcengine