1. Registry
  2. Packages
  3. Volcenginecc Provider
  4. API Docs
  5. transitrouter
  6. TransitRouterTrafficQosMarkingEntry
Viewing docs for volcenginecc v0.0.60
published on Thursday, Sep 3, 2026 by Volcengine
volcenginecc logo
Viewing docs for volcenginecc v0.0.60
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:

    DestinationCidrBlock string
    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
    DestinationPortEnd int
    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
    DestinationPortStart int
    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
    RemarkingDscp 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
    SourceCidrBlock string
    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
    SourcePortEnd int
    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
    SourcePortStart int
    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
    TransitRouterTrafficQosMarkingPolicyId string
    Flow marking policy ID
    Description string
    Description of the flow marking rule. Length limit: 0–255 characters
    MatchDscp 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
    TransitRouterTrafficQosMarkingEntryName string
    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
    DestinationCidrBlock string
    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
    DestinationPortEnd int
    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
    DestinationPortStart int
    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
    RemarkingDscp 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
    SourceCidrBlock string
    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
    SourcePortEnd int
    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
    SourcePortStart int
    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
    TransitRouterTrafficQosMarkingPolicyId string
    Flow marking policy ID
    Description string
    Description of the flow marking rule. Length limit: 0–255 characters
    MatchDscp 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
    TransitRouterTrafficQosMarkingEntryName string
    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_block string
    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_end number
    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_start number
    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_block string
    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_end number
    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_start number
    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_traffic_qos_marking_policy_id string
    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_traffic_qos_marking_entry_name string
    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
    destinationCidrBlock String
    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
    destinationPortEnd Integer
    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
    destinationPortStart Integer
    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
    remarkingDscp 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
    sourceCidrBlock String
    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
    sourcePortEnd Integer
    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
    sourcePortStart Integer
    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
    transitRouterTrafficQosMarkingPolicyId String
    Flow marking policy ID
    description String
    Description of the flow marking rule. Length limit: 0–255 characters
    matchDscp 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
    transitRouterTrafficQosMarkingEntryName String
    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
    destinationCidrBlock string
    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
    destinationPortEnd number
    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
    destinationPortStart number
    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
    remarkingDscp 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
    sourceCidrBlock string
    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
    sourcePortEnd number
    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
    sourcePortStart number
    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
    transitRouterTrafficQosMarkingPolicyId string
    Flow marking policy ID
    description string
    Description of the flow marking rule. Length limit: 0–255 characters
    matchDscp 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
    transitRouterTrafficQosMarkingEntryName string
    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_block str
    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_end int
    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_start int
    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_block str
    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_end int
    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_start int
    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_traffic_qos_marking_policy_id str
    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_traffic_qos_marking_entry_name str
    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
    destinationCidrBlock String
    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
    destinationPortEnd Number
    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
    destinationPortStart Number
    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
    remarkingDscp 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
    sourceCidrBlock String
    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
    sourcePortEnd Number
    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
    sourcePortStart Number
    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
    transitRouterTrafficQosMarkingPolicyId String
    Flow marking policy ID
    description String
    Description of the flow marking rule. Length limit: 0–255 characters
    matchDscp 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
    transitRouterTrafficQosMarkingEntryName String
    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:

    CreationTime string
    Flow marking rule creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Flow marking rule status
    TransitRouterTrafficQosMarkingEntryId string
    Flow marking rule ID
    UpdateTime string
    Last operation time of the flow marking rule
    CreationTime string
    Flow marking rule creation time
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    Flow marking rule status
    TransitRouterTrafficQosMarkingEntryId string
    Flow marking rule ID
    UpdateTime 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_traffic_qos_marking_entry_id string
    Flow marking rule ID
    update_time string
    Last operation time of the flow marking rule
    creationTime String
    Flow marking rule creation time
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Flow marking rule status
    transitRouterTrafficQosMarkingEntryId String
    Flow marking rule ID
    updateTime String
    Last operation time of the flow marking rule
    creationTime string
    Flow marking rule creation time
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    Flow marking rule status
    transitRouterTrafficQosMarkingEntryId string
    Flow marking rule ID
    updateTime 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_traffic_qos_marking_entry_id str
    Flow marking rule ID
    update_time str
    Last operation time of the flow marking rule
    creationTime String
    Flow marking rule creation time
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    Flow marking rule status
    transitRouterTrafficQosMarkingEntryId String
    Flow marking rule ID
    updateTime 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) -> TransitRouterTrafficQosMarkingEntry
    func 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.
    The following state arguments are supported:
    CreationTime string
    Flow marking rule creation time
    Description string
    Description of the flow marking rule. Length limit: 0–255 characters
    DestinationCidrBlock string
    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
    DestinationPortEnd int
    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
    DestinationPortStart int
    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
    MatchDscp 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
    RemarkingDscp 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
    SourceCidrBlock string
    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
    SourcePortEnd int
    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
    SourcePortStart int
    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
    TransitRouterTrafficQosMarkingEntryId string
    Flow marking rule ID
    TransitRouterTrafficQosMarkingEntryName string
    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
    TransitRouterTrafficQosMarkingPolicyId string
    Flow marking policy ID
    UpdateTime string
    Last operation time of the flow marking rule
    CreationTime string
    Flow marking rule creation time
    Description string
    Description of the flow marking rule. Length limit: 0–255 characters
    DestinationCidrBlock string
    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
    DestinationPortEnd int
    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
    DestinationPortStart int
    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
    MatchDscp 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
    RemarkingDscp 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
    SourceCidrBlock string
    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
    SourcePortEnd int
    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
    SourcePortStart int
    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
    TransitRouterTrafficQosMarkingEntryId string
    Flow marking rule ID
    TransitRouterTrafficQosMarkingEntryName string
    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
    TransitRouterTrafficQosMarkingPolicyId string
    Flow marking policy ID
    UpdateTime 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_block string
    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_end number
    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_start number
    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_block string
    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_end number
    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_start number
    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_traffic_qos_marking_entry_id string
    Flow marking rule ID
    transit_router_traffic_qos_marking_entry_name string
    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_traffic_qos_marking_policy_id string
    Flow marking policy ID
    update_time string
    Last operation time of the flow marking rule
    creationTime String
    Flow marking rule creation time
    description String
    Description of the flow marking rule. Length limit: 0–255 characters
    destinationCidrBlock String
    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
    destinationPortEnd Integer
    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
    destinationPortStart Integer
    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
    matchDscp 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
    remarkingDscp 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
    sourceCidrBlock String
    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
    sourcePortEnd Integer
    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
    sourcePortStart Integer
    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
    transitRouterTrafficQosMarkingEntryId String
    Flow marking rule ID
    transitRouterTrafficQosMarkingEntryName String
    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
    transitRouterTrafficQosMarkingPolicyId String
    Flow marking policy ID
    updateTime String
    Last operation time of the flow marking rule
    creationTime string
    Flow marking rule creation time
    description string
    Description of the flow marking rule. Length limit: 0–255 characters
    destinationCidrBlock string
    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
    destinationPortEnd number
    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
    destinationPortStart number
    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
    matchDscp 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
    remarkingDscp 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
    sourceCidrBlock string
    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
    sourcePortEnd number
    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
    sourcePortStart number
    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
    transitRouterTrafficQosMarkingEntryId string
    Flow marking rule ID
    transitRouterTrafficQosMarkingEntryName string
    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
    transitRouterTrafficQosMarkingPolicyId string
    Flow marking policy ID
    updateTime 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_block str
    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_end int
    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_start int
    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_block str
    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_end int
    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_start int
    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_traffic_qos_marking_entry_id str
    Flow marking rule ID
    transit_router_traffic_qos_marking_entry_name str
    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_traffic_qos_marking_policy_id str
    Flow marking policy ID
    update_time str
    Last operation time of the flow marking rule
    creationTime String
    Flow marking rule creation time
    description String
    Description of the flow marking rule. Length limit: 0–255 characters
    destinationCidrBlock String
    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
    destinationPortEnd Number
    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
    destinationPortStart Number
    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
    matchDscp 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
    remarkingDscp 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
    sourceCidrBlock String
    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
    sourcePortEnd Number
    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
    sourcePortStart Number
    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
    transitRouterTrafficQosMarkingEntryId String
    Flow marking rule ID
    transitRouterTrafficQosMarkingEntryName String
    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
    transitRouterTrafficQosMarkingPolicyId String
    Flow marking policy ID
    updateTime 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 volcenginecc Terraform Provider.
    volcenginecc logo
    Viewing docs for volcenginecc v0.0.60
    published on Thursday, Sep 3, 2026 by Volcengine

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial