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.
- Remain
Bandwidth intPercent The percentage of cross-region bandwidth that the current queue can use.
- Traffic
Qos stringPolicy Id The ID of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Name 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.
- Remain
Bandwidth intPercent The percentage of cross-region bandwidth that the current queue can use.
- Traffic
Qos stringPolicy Id The ID of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Name 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.
- remain
Bandwidth IntegerPercent The percentage of cross-region bandwidth that the current queue can use.
- traffic
Qos StringPolicy Id The ID of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Name 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.
- remain
Bandwidth numberPercent The percentage of cross-region bandwidth that the current queue can use.
- traffic
Qos stringPolicy Id The ID of the traffic scheduling policy.
- inter
Region stringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- inter
Region stringTraffic Qos Queue Name 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_ intpercent The percentage of cross-region bandwidth that the current queue can use.
- traffic_
qos_ strpolicy_ id The ID of the traffic scheduling policy.
- inter_
region_ strtraffic_ qos_ queue_ description The description information of the traffic scheduling policy.
- inter_
region_ strtraffic_ qos_ queue_ name 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.
- remain
Bandwidth NumberPercent The percentage of cross-region bandwidth that the current queue can use.
- traffic
Qos StringPolicy Id The ID of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Name 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:
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.
- Dscps List<string>
The DSCP value of the traffic packet to be matched in the current queue, ranging from 0 to 63.
- Inter
Region stringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Name The name of the traffic scheduling policy.
- Remain
Bandwidth intPercent 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.
- Traffic
Qos stringPolicy Id 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.
- Inter
Region stringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Name The name of the traffic scheduling policy.
- Remain
Bandwidth intPercent 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.
- Traffic
Qos stringPolicy Id 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.
- inter
Region StringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Name The name of the traffic scheduling policy.
- remain
Bandwidth IntegerPercent 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.
- traffic
Qos StringPolicy Id 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.
- inter
Region stringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- inter
Region stringTraffic Qos Queue Name The name of the traffic scheduling policy.
- remain
Bandwidth numberPercent 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.
- traffic
Qos stringPolicy Id 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_ strtraffic_ qos_ queue_ description The description information of the traffic scheduling policy.
- inter_
region_ strtraffic_ qos_ queue_ name The name of the traffic scheduling policy.
- remain_
bandwidth_ intpercent 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_ strpolicy_ id 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.
- inter
Region StringTraffic Qos Queue Description The description information of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Name The name of the traffic scheduling policy.
- remain
Bandwidth NumberPercent 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.
- traffic
Qos StringPolicy Id 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.