alicloud logo
Alibaba Cloud v3.34.0, Mar 17 23

alicloud.cen.InterRegionTrafficQosQueue

Provides a Cen Inter Region Traffic Qos Queue resource.

For information about Cen Inter Region Traffic Qos Queue and how to use it, see What is Inter Region Traffic Qos Queue.

NOTE: Available in v1.195.0+.

Example Usage

Basic Usage

using System.Collections.Generic;
using Pulumi;
using AliCloud = Pulumi.AliCloud;

return await Deployment.RunAsync(() => 
{
    var @default = new AliCloud.Cen.InterRegionTrafficQosQueue("default", new()
    {
        Dscps = new[]
        {
            "1",
            "2",
        },
        InterRegionTrafficQosQueueDescription = "test",
        RemainBandwidthPercent = 20,
        TrafficQosPolicyId = "qos-xxxxxx",
    });

});
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := cen.NewInterRegionTrafficQosQueue(ctx, "default", &cen.InterRegionTrafficQosQueueArgs{
			Dscps: pulumi.StringArray{
				pulumi.String("1"),
				pulumi.String("2"),
			},
			InterRegionTrafficQosQueueDescription: pulumi.String("test"),
			RemainBandwidthPercent:                pulumi.Int(20),
			TrafficQosPolicyId:                    pulumi.String("qos-xxxxxx"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
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) {
        var default_ = new InterRegionTrafficQosQueue("default", InterRegionTrafficQosQueueArgs.builder()        
            .dscps(            
                1,
                2)
            .interRegionTrafficQosQueueDescription("test")
            .remainBandwidthPercent(20)
            .trafficQosPolicyId("qos-xxxxxx")
            .build());

    }
}
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.cen.InterRegionTrafficQosQueue("default",
    dscps=[
        "1",
        "2",
    ],
    inter_region_traffic_qos_queue_description="test",
    remain_bandwidth_percent=20,
    traffic_qos_policy_id="qos-xxxxxx")
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const _default = new alicloud.cen.InterRegionTrafficQosQueue("default", {
    dscps: [
        "1",
        "2",
    ],
    interRegionTrafficQosQueueDescription: "test",
    remainBandwidthPercent: 20,
    trafficQosPolicyId: "qos-xxxxxx",
});
resources:
  default:
    type: alicloud:cen:InterRegionTrafficQosQueue
    properties:
      dscps:
        - 1
        - 2
      interRegionTrafficQosQueueDescription: test
      remainBandwidthPercent: 20
      trafficQosPolicyId: qos-xxxxxx

Create InterRegionTrafficQosQueue Resource

new InterRegionTrafficQosQueue(name: string, args: InterRegionTrafficQosQueueArgs, opts?: CustomResourceOptions);
@overload
def InterRegionTrafficQosQueue(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               dscps: Optional[Sequence[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,
                               traffic_qos_policy_id: Optional[str] = None)
@overload
def InterRegionTrafficQosQueue(resource_name: str,
                               args: InterRegionTrafficQosQueueArgs,
                               opts: Optional[ResourceOptions] = 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.

name string
The unique name of the resource.
args InterRegionTrafficQosQueueArgs
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 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 string
The unique name of the resource.
args InterRegionTrafficQosQueueArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args InterRegionTrafficQosQueueArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args InterRegionTrafficQosQueueArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

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

The InterRegionTrafficQosQueue resource accepts the following input properties:

Dscps List<string>

The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.

RemainBandwidthPercent int

The percentage of cross-region bandwidth that the current queue can use.

TrafficQosPolicyId string

The ID of the traffic scheduling policy.

InterRegionTrafficQosQueueDescription string

The description information of the traffic scheduling policy.

InterRegionTrafficQosQueueName string

The name of the traffic scheduling policy.

Dscps []string

The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.

RemainBandwidthPercent int

The percentage of cross-region bandwidth that the current queue can use.

TrafficQosPolicyId string

The ID of the traffic scheduling policy.

InterRegionTrafficQosQueueDescription string

The description information of the traffic scheduling policy.

InterRegionTrafficQosQueueName string

The name of the traffic scheduling policy.

dscps List<String>

The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.

remainBandwidthPercent Integer

The percentage of cross-region bandwidth that the current queue can use.

trafficQosPolicyId String

The ID of the traffic scheduling policy.

interRegionTrafficQosQueueDescription String

The description information of the traffic scheduling policy.

interRegionTrafficQosQueueName String

The name of the traffic scheduling policy.

dscps string[]

The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.

remainBandwidthPercent number

The percentage of cross-region bandwidth that the current queue can use.

trafficQosPolicyId string

The ID of the traffic scheduling policy.

interRegionTrafficQosQueueDescription string

The description information of the traffic scheduling policy.

interRegionTrafficQosQueueName string

The name of the traffic scheduling policy.

dscps Sequence[str]

The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.

remain_bandwidth_percent int

The percentage of cross-region bandwidth that the current queue can use.

traffic_qos_policy_id str

The ID of the traffic scheduling policy.

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.

dscps List<String>

The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.

remainBandwidthPercent Number

The percentage of cross-region bandwidth that the current queue can use.

trafficQosPolicyId String

The ID of the traffic scheduling policy.

interRegionTrafficQosQueueDescription String

The description information of the traffic scheduling policy.

interRegionTrafficQosQueueName String

The name of the traffic scheduling policy.

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. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

Id string

The provider-assigned unique ID for this managed resource.

Status string

The status of the traffic scheduling policy. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the traffic scheduling policy. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

id string

The provider-assigned unique ID for this managed resource.

status string

The status of the traffic scheduling policy. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

id str

The provider-assigned unique ID for this managed resource.

status str

The status of the traffic scheduling policy. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

id String

The provider-assigned unique ID for this managed resource.

status String

The status of the traffic scheduling policy. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

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,
        dscps: Optional[Sequence[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,
        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)
Resource lookup is not supported in YAML
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:
Dscps List<string>

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. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

TrafficQosPolicyId string

The ID of the traffic scheduling policy.

Dscps []string

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. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

TrafficQosPolicyId string

The ID of the traffic scheduling policy.

dscps List<String>

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. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

trafficQosPolicyId String

The ID of the traffic scheduling policy.

dscps string[]

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. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

trafficQosPolicyId string

The ID of the traffic scheduling policy.

dscps Sequence[str]

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. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

traffic_qos_policy_id str

The ID of the traffic scheduling policy.

dscps List<String>

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. -Creating: The function is being created.-Active: available.-Modifying: is being modified.-Deleting: Deleted.-Deleted: Deleted.

trafficQosPolicyId String

The ID of the traffic scheduling policy.

Import

Cen Inter Region Traffic Qos Queue can be imported using the id, e.g.

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

Package Details

Repository
Alibaba Cloud pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.