1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. cen
  5. InterRegionTrafficQosQueue
Alibaba Cloud v3.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

alicloud.cen.InterRegionTrafficQosQueue

Explore with Pulumi AI

Provides a Cloud Enterprise Network (CEN) Inter Region Traffic Qos Queue resource.

For information about Cloud Enterprise Network (CEN) Inter Region Traffic Qos Queue and how to use it, see What is Inter Region Traffic Qos Queue.

NOTE: Available since v1.195.0.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const config = new pulumi.Config();
const name = config.get("name") || "tf_example";
const defaultRegion = config.get("defaultRegion") || "cn-hangzhou";
const peerRegion = config.get("peerRegion") || "cn-beijing";
const _default = new alicloud.cen.Instance("default", {
    cenInstanceName: name,
    protectionLevel: "REDUCED",
});
const defaultBandwidthPackage = new alicloud.cen.BandwidthPackage("default", {
    bandwidth: 5,
    cenBandwidthPackageName: "tf_example",
    geographicRegionAId: "China",
    geographicRegionBId: "China",
});
const defaultBandwidthPackageAttachment = new alicloud.cen.BandwidthPackageAttachment("default", {
    instanceId: _default.id,
    bandwidthPackageId: defaultBandwidthPackage.id,
});
const defaultTransitRouter = new alicloud.cen.TransitRouter("default", {
    cenId: _default.id,
    supportMulticast: true,
});
const peer = new alicloud.cen.TransitRouter("peer", {
    cenId: defaultTransitRouter.cenId,
    supportMulticast: true,
});
const defaultTransitRouterPeerAttachment = new alicloud.cen.TransitRouterPeerAttachment("default", {
    cenId: _default.id,
    transitRouterId: defaultTransitRouter.transitRouterId,
    peerTransitRouterRegionId: peerRegion,
    peerTransitRouterId: peer.transitRouterId,
    cenBandwidthPackageId: defaultBandwidthPackageAttachment.bandwidthPackageId,
    bandwidth: 5,
    transitRouterAttachmentDescription: name,
    transitRouterAttachmentName: name,
});
const defaultInterRegionTrafficQosPolicy = new alicloud.cen.InterRegionTrafficQosPolicy("default", {
    transitRouterId: defaultTransitRouter.transitRouterId,
    transitRouterAttachmentId: defaultTransitRouterPeerAttachment.transitRouterAttachmentId,
    interRegionTrafficQosPolicyName: name,
    interRegionTrafficQosPolicyDescription: name,
});
const defaultInterRegionTrafficQosQueue = new alicloud.cen.InterRegionTrafficQosQueue("default", {
    remainBandwidthPercent: 20,
    trafficQosPolicyId: defaultInterRegionTrafficQosPolicy.id,
    dscps: [
        1,
        2,
    ],
    interRegionTrafficQosQueueDescription: name,
});
Copy
import pulumi
import pulumi_alicloud as alicloud

config = pulumi.Config()
name = config.get("name")
if name is None:
    name = "tf_example"
default_region = config.get("defaultRegion")
if default_region is None:
    default_region = "cn-hangzhou"
peer_region = config.get("peerRegion")
if peer_region is None:
    peer_region = "cn-beijing"
default = alicloud.cen.Instance("default",
    cen_instance_name=name,
    protection_level="REDUCED")
default_bandwidth_package = alicloud.cen.BandwidthPackage("default",
    bandwidth=5,
    cen_bandwidth_package_name="tf_example",
    geographic_region_a_id="China",
    geographic_region_b_id="China")
default_bandwidth_package_attachment = alicloud.cen.BandwidthPackageAttachment("default",
    instance_id=default.id,
    bandwidth_package_id=default_bandwidth_package.id)
default_transit_router = alicloud.cen.TransitRouter("default",
    cen_id=default.id,
    support_multicast=True)
peer = alicloud.cen.TransitRouter("peer",
    cen_id=default_transit_router.cen_id,
    support_multicast=True)
default_transit_router_peer_attachment = alicloud.cen.TransitRouterPeerAttachment("default",
    cen_id=default.id,
    transit_router_id=default_transit_router.transit_router_id,
    peer_transit_router_region_id=peer_region,
    peer_transit_router_id=peer.transit_router_id,
    cen_bandwidth_package_id=default_bandwidth_package_attachment.bandwidth_package_id,
    bandwidth=5,
    transit_router_attachment_description=name,
    transit_router_attachment_name=name)
default_inter_region_traffic_qos_policy = alicloud.cen.InterRegionTrafficQosPolicy("default",
    transit_router_id=default_transit_router.transit_router_id,
    transit_router_attachment_id=default_transit_router_peer_attachment.transit_router_attachment_id,
    inter_region_traffic_qos_policy_name=name,
    inter_region_traffic_qos_policy_description=name)
default_inter_region_traffic_qos_queue = alicloud.cen.InterRegionTrafficQosQueue("default",
    remain_bandwidth_percent=20,
    traffic_qos_policy_id=default_inter_region_traffic_qos_policy.id,
    dscps=[
        1,
        2,
    ],
    inter_region_traffic_qos_queue_description=name)
Copy
package main

import (
	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cen"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		name := "tf_example"
		if param := cfg.Get("name"); param != "" {
			name = param
		}
		defaultRegion := "cn-hangzhou"
		if param := cfg.Get("defaultRegion"); param != "" {
			defaultRegion = param
		}
		peerRegion := "cn-beijing"
		if param := cfg.Get("peerRegion"); param != "" {
			peerRegion = param
		}
		_default, err := cen.NewInstance(ctx, "default", &cen.InstanceArgs{
			CenInstanceName: pulumi.String(name),
			ProtectionLevel: pulumi.String("REDUCED"),
		})
		if err != nil {
			return err
		}
		defaultBandwidthPackage, err := cen.NewBandwidthPackage(ctx, "default", &cen.BandwidthPackageArgs{
			Bandwidth:               pulumi.Int(5),
			CenBandwidthPackageName: pulumi.String("tf_example"),
			GeographicRegionAId:     pulumi.String("China"),
			GeographicRegionBId:     pulumi.String("China"),
		})
		if err != nil {
			return err
		}
		defaultBandwidthPackageAttachment, err := cen.NewBandwidthPackageAttachment(ctx, "default", &cen.BandwidthPackageAttachmentArgs{
			InstanceId:         _default.ID(),
			BandwidthPackageId: defaultBandwidthPackage.ID(),
		})
		if err != nil {
			return err
		}
		defaultTransitRouter, err := cen.NewTransitRouter(ctx, "default", &cen.TransitRouterArgs{
			CenId:            _default.ID(),
			SupportMulticast: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		peer, err := cen.NewTransitRouter(ctx, "peer", &cen.TransitRouterArgs{
			CenId:            defaultTransitRouter.CenId,
			SupportMulticast: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		defaultTransitRouterPeerAttachment, err := cen.NewTransitRouterPeerAttachment(ctx, "default", &cen.TransitRouterPeerAttachmentArgs{
			CenId:                              _default.ID(),
			TransitRouterId:                    defaultTransitRouter.TransitRouterId,
			PeerTransitRouterRegionId:          pulumi.String(peerRegion),
			PeerTransitRouterId:                peer.TransitRouterId,
			CenBandwidthPackageId:              defaultBandwidthPackageAttachment.BandwidthPackageId,
			Bandwidth:                          pulumi.Int(5),
			TransitRouterAttachmentDescription: pulumi.String(name),
			TransitRouterAttachmentName:        pulumi.String(name),
		})
		if err != nil {
			return err
		}
		defaultInterRegionTrafficQosPolicy, err := cen.NewInterRegionTrafficQosPolicy(ctx, "default", &cen.InterRegionTrafficQosPolicyArgs{
			TransitRouterId:                        defaultTransitRouter.TransitRouterId,
			TransitRouterAttachmentId:              defaultTransitRouterPeerAttachment.TransitRouterAttachmentId,
			InterRegionTrafficQosPolicyName:        pulumi.String(name),
			InterRegionTrafficQosPolicyDescription: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		_, err = cen.NewInterRegionTrafficQosQueue(ctx, "default", &cen.InterRegionTrafficQosQueueArgs{
			RemainBandwidthPercent: pulumi.Int(20),
			TrafficQosPolicyId:     defaultInterRegionTrafficQosPolicy.ID(),
			Dscps: pulumi.IntArray{
				pulumi.Int(1),
				pulumi.Int(2),
			},
			InterRegionTrafficQosQueueDescription: pulumi.String(name),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var name = config.Get("name") ?? "tf_example";
    var defaultRegion = config.Get("defaultRegion") ?? "cn-hangzhou";
    var peerRegion = config.Get("peerRegion") ?? "cn-beijing";
    var @default = new AliCloud.Cen.Instance("default", new()
    {
        CenInstanceName = name,
        ProtectionLevel = "REDUCED",
    });

    var defaultBandwidthPackage = new AliCloud.Cen.BandwidthPackage("default", new()
    {
        Bandwidth = 5,
        CenBandwidthPackageName = "tf_example",
        GeographicRegionAId = "China",
        GeographicRegionBId = "China",
    });

    var defaultBandwidthPackageAttachment = new AliCloud.Cen.BandwidthPackageAttachment("default", new()
    {
        InstanceId = @default.Id,
        BandwidthPackageId = defaultBandwidthPackage.Id,
    });

    var defaultTransitRouter = new AliCloud.Cen.TransitRouter("default", new()
    {
        CenId = @default.Id,
        SupportMulticast = true,
    });

    var peer = new AliCloud.Cen.TransitRouter("peer", new()
    {
        CenId = defaultTransitRouter.CenId,
        SupportMulticast = true,
    });

    var defaultTransitRouterPeerAttachment = new AliCloud.Cen.TransitRouterPeerAttachment("default", new()
    {
        CenId = @default.Id,
        TransitRouterId = defaultTransitRouter.TransitRouterId,
        PeerTransitRouterRegionId = peerRegion,
        PeerTransitRouterId = peer.TransitRouterId,
        CenBandwidthPackageId = defaultBandwidthPackageAttachment.BandwidthPackageId,
        Bandwidth = 5,
        TransitRouterAttachmentDescription = name,
        TransitRouterAttachmentName = name,
    });

    var defaultInterRegionTrafficQosPolicy = new AliCloud.Cen.InterRegionTrafficQosPolicy("default", new()
    {
        TransitRouterId = defaultTransitRouter.TransitRouterId,
        TransitRouterAttachmentId = defaultTransitRouterPeerAttachment.TransitRouterAttachmentId,
        InterRegionTrafficQosPolicyName = name,
        InterRegionTrafficQosPolicyDescription = name,
    });

    var defaultInterRegionTrafficQosQueue = new AliCloud.Cen.InterRegionTrafficQosQueue("default", new()
    {
        RemainBandwidthPercent = 20,
        TrafficQosPolicyId = defaultInterRegionTrafficQosPolicy.Id,
        Dscps = new[]
        {
            1,
            2,
        },
        InterRegionTrafficQosQueueDescription = name,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.Instance;
import com.pulumi.alicloud.cen.InstanceArgs;
import com.pulumi.alicloud.cen.BandwidthPackage;
import com.pulumi.alicloud.cen.BandwidthPackageArgs;
import com.pulumi.alicloud.cen.BandwidthPackageAttachment;
import com.pulumi.alicloud.cen.BandwidthPackageAttachmentArgs;
import com.pulumi.alicloud.cen.TransitRouter;
import com.pulumi.alicloud.cen.TransitRouterArgs;
import com.pulumi.alicloud.cen.TransitRouterPeerAttachment;
import com.pulumi.alicloud.cen.TransitRouterPeerAttachmentArgs;
import com.pulumi.alicloud.cen.InterRegionTrafficQosPolicy;
import com.pulumi.alicloud.cen.InterRegionTrafficQosPolicyArgs;
import com.pulumi.alicloud.cen.InterRegionTrafficQosQueue;
import com.pulumi.alicloud.cen.InterRegionTrafficQosQueueArgs;
import java.util.List;
import java.util.ArrayList;
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) {
        final var config = ctx.config();
        final var name = config.get("name").orElse("tf_example");
        final var defaultRegion = config.get("defaultRegion").orElse("cn-hangzhou");
        final var peerRegion = config.get("peerRegion").orElse("cn-beijing");
        var default_ = new Instance("default", InstanceArgs.builder()
            .cenInstanceName(name)
            .protectionLevel("REDUCED")
            .build());

        var defaultBandwidthPackage = new BandwidthPackage("defaultBandwidthPackage", BandwidthPackageArgs.builder()
            .bandwidth(5)
            .cenBandwidthPackageName("tf_example")
            .geographicRegionAId("China")
            .geographicRegionBId("China")
            .build());

        var defaultBandwidthPackageAttachment = new BandwidthPackageAttachment("defaultBandwidthPackageAttachment", BandwidthPackageAttachmentArgs.builder()
            .instanceId(default_.id())
            .bandwidthPackageId(defaultBandwidthPackage.id())
            .build());

        var defaultTransitRouter = new TransitRouter("defaultTransitRouter", TransitRouterArgs.builder()
            .cenId(default_.id())
            .supportMulticast(true)
            .build());

        var peer = new TransitRouter("peer", TransitRouterArgs.builder()
            .cenId(defaultTransitRouter.cenId())
            .supportMulticast(true)
            .build());

        var defaultTransitRouterPeerAttachment = new TransitRouterPeerAttachment("defaultTransitRouterPeerAttachment", TransitRouterPeerAttachmentArgs.builder()
            .cenId(default_.id())
            .transitRouterId(defaultTransitRouter.transitRouterId())
            .peerTransitRouterRegionId(peerRegion)
            .peerTransitRouterId(peer.transitRouterId())
            .cenBandwidthPackageId(defaultBandwidthPackageAttachment.bandwidthPackageId())
            .bandwidth(5)
            .transitRouterAttachmentDescription(name)
            .transitRouterAttachmentName(name)
            .build());

        var defaultInterRegionTrafficQosPolicy = new InterRegionTrafficQosPolicy("defaultInterRegionTrafficQosPolicy", InterRegionTrafficQosPolicyArgs.builder()
            .transitRouterId(defaultTransitRouter.transitRouterId())
            .transitRouterAttachmentId(defaultTransitRouterPeerAttachment.transitRouterAttachmentId())
            .interRegionTrafficQosPolicyName(name)
            .interRegionTrafficQosPolicyDescription(name)
            .build());

        var defaultInterRegionTrafficQosQueue = new InterRegionTrafficQosQueue("defaultInterRegionTrafficQosQueue", InterRegionTrafficQosQueueArgs.builder()
            .remainBandwidthPercent(20)
            .trafficQosPolicyId(defaultInterRegionTrafficQosPolicy.id())
            .dscps(            
                1,
                2)
            .interRegionTrafficQosQueueDescription(name)
            .build());

    }
}
Copy
configuration:
  name:
    type: string
    default: tf_example
  defaultRegion:
    type: string
    default: cn-hangzhou
  peerRegion:
    type: string
    default: cn-beijing
resources:
  default:
    type: alicloud:cen:Instance
    properties:
      cenInstanceName: ${name}
      protectionLevel: REDUCED
  defaultBandwidthPackage:
    type: alicloud:cen:BandwidthPackage
    name: default
    properties:
      bandwidth: 5
      cenBandwidthPackageName: tf_example
      geographicRegionAId: China
      geographicRegionBId: China
  defaultBandwidthPackageAttachment:
    type: alicloud:cen:BandwidthPackageAttachment
    name: default
    properties:
      instanceId: ${default.id}
      bandwidthPackageId: ${defaultBandwidthPackage.id}
  defaultTransitRouter:
    type: alicloud:cen:TransitRouter
    name: default
    properties:
      cenId: ${default.id}
      supportMulticast: true
  peer:
    type: alicloud:cen:TransitRouter
    properties:
      cenId: ${defaultTransitRouter.cenId}
      supportMulticast: true
  defaultTransitRouterPeerAttachment:
    type: alicloud:cen:TransitRouterPeerAttachment
    name: default
    properties:
      cenId: ${default.id}
      transitRouterId: ${defaultTransitRouter.transitRouterId}
      peerTransitRouterRegionId: ${peerRegion}
      peerTransitRouterId: ${peer.transitRouterId}
      cenBandwidthPackageId: ${defaultBandwidthPackageAttachment.bandwidthPackageId}
      bandwidth: 5
      transitRouterAttachmentDescription: ${name}
      transitRouterAttachmentName: ${name}
  defaultInterRegionTrafficQosPolicy:
    type: alicloud:cen:InterRegionTrafficQosPolicy
    name: default
    properties:
      transitRouterId: ${defaultTransitRouter.transitRouterId}
      transitRouterAttachmentId: ${defaultTransitRouterPeerAttachment.transitRouterAttachmentId}
      interRegionTrafficQosPolicyName: ${name}
      interRegionTrafficQosPolicyDescription: ${name}
  defaultInterRegionTrafficQosQueue:
    type: alicloud:cen:InterRegionTrafficQosQueue
    name: default
    properties:
      remainBandwidthPercent: 20
      trafficQosPolicyId: ${defaultInterRegionTrafficQosPolicy.id}
      dscps:
        - 1
        - 2
      interRegionTrafficQosQueueDescription: ${name}
Copy

Create InterRegionTrafficQosQueue Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new InterRegionTrafficQosQueue(name: string, args: InterRegionTrafficQosQueueArgs, opts?: CustomResourceOptions);
@overload
def InterRegionTrafficQosQueue(resource_name: str,
                               args: InterRegionTrafficQosQueueArgs,
                               opts: Optional[ResourceOptions] = None)

@overload
def InterRegionTrafficQosQueue(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               dscps: Optional[Sequence[int]] = None,
                               traffic_qos_policy_id: Optional[str] = None,
                               bandwidth: Optional[str] = None,
                               inter_region_traffic_qos_queue_description: Optional[str] = None,
                               inter_region_traffic_qos_queue_name: Optional[str] = None,
                               remain_bandwidth_percent: Optional[int] = None)
func NewInterRegionTrafficQosQueue(ctx *Context, name string, args InterRegionTrafficQosQueueArgs, opts ...ResourceOption) (*InterRegionTrafficQosQueue, error)
public InterRegionTrafficQosQueue(string name, InterRegionTrafficQosQueueArgs args, CustomResourceOptions? opts = null)
public InterRegionTrafficQosQueue(String name, InterRegionTrafficQosQueueArgs args)
public InterRegionTrafficQosQueue(String name, InterRegionTrafficQosQueueArgs args, CustomResourceOptions options)
type: alicloud:cen:InterRegionTrafficQosQueue
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. InterRegionTrafficQosQueueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. InterRegionTrafficQosQueueArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. InterRegionTrafficQosQueueArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. InterRegionTrafficQosQueueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. InterRegionTrafficQosQueueArgs
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 interRegionTrafficQosQueueResource = new AliCloud.Cen.InterRegionTrafficQosQueue("interRegionTrafficQosQueueResource", new()
{
    Dscps = new[]
    {
        0,
    },
    TrafficQosPolicyId = "string",
    Bandwidth = "string",
    InterRegionTrafficQosQueueDescription = "string",
    InterRegionTrafficQosQueueName = "string",
    RemainBandwidthPercent = 0,
});
Copy
example, err := cen.NewInterRegionTrafficQosQueue(ctx, "interRegionTrafficQosQueueResource", &cen.InterRegionTrafficQosQueueArgs{
	Dscps: pulumi.IntArray{
		pulumi.Int(0),
	},
	TrafficQosPolicyId:                    pulumi.String("string"),
	Bandwidth:                             pulumi.String("string"),
	InterRegionTrafficQosQueueDescription: pulumi.String("string"),
	InterRegionTrafficQosQueueName:        pulumi.String("string"),
	RemainBandwidthPercent:                pulumi.Int(0),
})
Copy
var interRegionTrafficQosQueueResource = new InterRegionTrafficQosQueue("interRegionTrafficQosQueueResource", InterRegionTrafficQosQueueArgs.builder()
    .dscps(0)
    .trafficQosPolicyId("string")
    .bandwidth("string")
    .interRegionTrafficQosQueueDescription("string")
    .interRegionTrafficQosQueueName("string")
    .remainBandwidthPercent(0)
    .build());
Copy
inter_region_traffic_qos_queue_resource = alicloud.cen.InterRegionTrafficQosQueue("interRegionTrafficQosQueueResource",
    dscps=[0],
    traffic_qos_policy_id="string",
    bandwidth="string",
    inter_region_traffic_qos_queue_description="string",
    inter_region_traffic_qos_queue_name="string",
    remain_bandwidth_percent=0)
Copy
const interRegionTrafficQosQueueResource = new alicloud.cen.InterRegionTrafficQosQueue("interRegionTrafficQosQueueResource", {
    dscps: [0],
    trafficQosPolicyId: "string",
    bandwidth: "string",
    interRegionTrafficQosQueueDescription: "string",
    interRegionTrafficQosQueueName: "string",
    remainBandwidthPercent: 0,
});
Copy
type: alicloud:cen:InterRegionTrafficQosQueue
properties:
    bandwidth: string
    dscps:
        - 0
    interRegionTrafficQosQueueDescription: string
    interRegionTrafficQosQueueName: string
    remainBandwidthPercent: 0
    trafficQosPolicyId: string
Copy

InterRegionTrafficQosQueue 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 InterRegionTrafficQosQueue resource accepts the following input properties:

Dscps This property is required. List<int>
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
TrafficQosPolicyId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the traffic scheduling policy.
Bandwidth string
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
InterRegionTrafficQosQueueDescription string
The description information of the traffic scheduling policy.
InterRegionTrafficQosQueueName string
The name of the traffic scheduling policy.
RemainBandwidthPercent int
The percentage of cross-region bandwidth that the current queue can use.
Dscps This property is required. []int
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
TrafficQosPolicyId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the traffic scheduling policy.
Bandwidth string
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
InterRegionTrafficQosQueueDescription string
The description information of the traffic scheduling policy.
InterRegionTrafficQosQueueName string
The name of the traffic scheduling policy.
RemainBandwidthPercent int
The percentage of cross-region bandwidth that the current queue can use.
dscps This property is required. List<Integer>
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
trafficQosPolicyId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the traffic scheduling policy.
bandwidth String
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
interRegionTrafficQosQueueDescription String
The description information of the traffic scheduling policy.
interRegionTrafficQosQueueName String
The name of the traffic scheduling policy.
remainBandwidthPercent Integer
The percentage of cross-region bandwidth that the current queue can use.
dscps This property is required. number[]
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
trafficQosPolicyId
This property is required.
Changes to this property will trigger replacement.
string
The ID of the traffic scheduling policy.
bandwidth string
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
interRegionTrafficQosQueueDescription string
The description information of the traffic scheduling policy.
interRegionTrafficQosQueueName string
The name of the traffic scheduling policy.
remainBandwidthPercent number
The percentage of cross-region bandwidth that the current queue can use.
dscps This property is required. Sequence[int]
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
traffic_qos_policy_id
This property is required.
Changes to this property will trigger replacement.
str
The ID of the traffic scheduling policy.
bandwidth str
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
inter_region_traffic_qos_queue_description str
The description information of the traffic scheduling policy.
inter_region_traffic_qos_queue_name str
The name of the traffic scheduling policy.
remain_bandwidth_percent int
The percentage of cross-region bandwidth that the current queue can use.
dscps This property is required. List<Number>
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
trafficQosPolicyId
This property is required.
Changes to this property will trigger replacement.
String
The ID of the traffic scheduling policy.
bandwidth String
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
interRegionTrafficQosQueueDescription String
The description information of the traffic scheduling policy.
interRegionTrafficQosQueueName String
The name of the traffic scheduling policy.
remainBandwidthPercent Number
The percentage of cross-region bandwidth that the current queue can use.

Outputs

All input properties are implicitly available as output properties. Additionally, the InterRegionTrafficQosQueue resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the traffic scheduling policy.
Id string
The provider-assigned unique ID for this managed resource.
Status string
The status of the traffic scheduling policy.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the traffic scheduling policy.
id string
The provider-assigned unique ID for this managed resource.
status string
The status of the traffic scheduling policy.
id str
The provider-assigned unique ID for this managed resource.
status str
The status of the traffic scheduling policy.
id String
The provider-assigned unique ID for this managed resource.
status String
The status of the traffic scheduling policy.

Look up Existing InterRegionTrafficQosQueue Resource

Get an existing InterRegionTrafficQosQueue 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?: InterRegionTrafficQosQueueState, opts?: CustomResourceOptions): InterRegionTrafficQosQueue
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        bandwidth: Optional[str] = None,
        dscps: Optional[Sequence[int]] = None,
        inter_region_traffic_qos_queue_description: Optional[str] = None,
        inter_region_traffic_qos_queue_name: Optional[str] = None,
        remain_bandwidth_percent: Optional[int] = None,
        status: Optional[str] = None,
        traffic_qos_policy_id: Optional[str] = None) -> InterRegionTrafficQosQueue
func GetInterRegionTrafficQosQueue(ctx *Context, name string, id IDInput, state *InterRegionTrafficQosQueueState, opts ...ResourceOption) (*InterRegionTrafficQosQueue, error)
public static InterRegionTrafficQosQueue Get(string name, Input<string> id, InterRegionTrafficQosQueueState? state, CustomResourceOptions? opts = null)
public static InterRegionTrafficQosQueue get(String name, Output<String> id, InterRegionTrafficQosQueueState state, CustomResourceOptions options)
resources:  _:    type: alicloud:cen:InterRegionTrafficQosQueue    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
Bandwidth string
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
Dscps List<int>
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
InterRegionTrafficQosQueueDescription string
The description information of the traffic scheduling policy.
InterRegionTrafficQosQueueName string
The name of the traffic scheduling policy.
RemainBandwidthPercent int
The percentage of cross-region bandwidth that the current queue can use.
Status string
The status of the traffic scheduling policy.
TrafficQosPolicyId Changes to this property will trigger replacement. string
The ID of the traffic scheduling policy.
Bandwidth string
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
Dscps []int
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
InterRegionTrafficQosQueueDescription string
The description information of the traffic scheduling policy.
InterRegionTrafficQosQueueName string
The name of the traffic scheduling policy.
RemainBandwidthPercent int
The percentage of cross-region bandwidth that the current queue can use.
Status string
The status of the traffic scheduling policy.
TrafficQosPolicyId Changes to this property will trigger replacement. string
The ID of the traffic scheduling policy.
bandwidth String
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
dscps List<Integer>
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
interRegionTrafficQosQueueDescription String
The description information of the traffic scheduling policy.
interRegionTrafficQosQueueName String
The name of the traffic scheduling policy.
remainBandwidthPercent Integer
The percentage of cross-region bandwidth that the current queue can use.
status String
The status of the traffic scheduling policy.
trafficQosPolicyId Changes to this property will trigger replacement. String
The ID of the traffic scheduling policy.
bandwidth string
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
dscps number[]
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
interRegionTrafficQosQueueDescription string
The description information of the traffic scheduling policy.
interRegionTrafficQosQueueName string
The name of the traffic scheduling policy.
remainBandwidthPercent number
The percentage of cross-region bandwidth that the current queue can use.
status string
The status of the traffic scheduling policy.
trafficQosPolicyId Changes to this property will trigger replacement. string
The ID of the traffic scheduling policy.
bandwidth str
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
dscps Sequence[int]
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
inter_region_traffic_qos_queue_description str
The description information of the traffic scheduling policy.
inter_region_traffic_qos_queue_name str
The name of the traffic scheduling policy.
remain_bandwidth_percent int
The percentage of cross-region bandwidth that the current queue can use.
status str
The status of the traffic scheduling policy.
traffic_qos_policy_id Changes to this property will trigger replacement. str
The ID of the traffic scheduling policy.
bandwidth String
The guaranteed bandwidth value. If guaranteed by bandwidth is selected for TrafficQosPolicy, this value is valid.
dscps List<Number>
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
interRegionTrafficQosQueueDescription String
The description information of the traffic scheduling policy.
interRegionTrafficQosQueueName String
The name of the traffic scheduling policy.
remainBandwidthPercent Number
The percentage of cross-region bandwidth that the current queue can use.
status String
The status of the traffic scheduling policy.
trafficQosPolicyId Changes to this property will trigger replacement. String
The ID of the traffic scheduling policy.

Import

Cloud Enterprise Network (CEN) Inter Region Traffic Qos Queue can be imported using the id, e.g.

$ pulumi import alicloud:cen/interRegionTrafficQosQueue:InterRegionTrafficQosQueue example <id>
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.