alicloud.cen.getInterRegionTrafficQosQueues

This data source provides Cen Inter Region Traffic Qos Queue available to the user.

NOTE: Available in 1.195.0+

Example Usage

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

return await Deployment.RunAsync(() => 
{
    var @default = AliCloud.Cen.GetInterRegionTrafficQosQueues.Invoke(new()
    {
        Ids = new[]
        {
            alicloud_cen_inter_region_traffic_qos_queue.Default.Id,
        },
        NameRegex = alicloud_cen_inter_region_traffic_qos_queue.Default.Name,
        TrafficQosPolicyId = "qos-xxxxxxx",
    });

    return new Dictionary<string, object?>
    {
        ["alicloudCenInterRegionTrafficQosQueueExampleId"] = @default.Apply(@default => @default.Apply(getInterRegionTrafficQosQueuesResult => getInterRegionTrafficQosQueuesResult.Queues[0]?.Id)),
    };
});

Coming soon!

package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.cen.CenFunctions;
import com.pulumi.alicloud.cen.inputs.GetInterRegionTrafficQosQueuesArgs;
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 default = CenFunctions.getInterRegionTrafficQosQueues(GetInterRegionTrafficQosQueuesArgs.builder()
            .ids(alicloud_cen_inter_region_traffic_qos_queue.default().id())
            .nameRegex(alicloud_cen_inter_region_traffic_qos_queue.default().name())
            .trafficQosPolicyId("qos-xxxxxxx")
            .build());

        ctx.export("alicloudCenInterRegionTrafficQosQueueExampleId", default_.queues()[0].id());
    }
}
import pulumi
import pulumi_alicloud as alicloud

default = alicloud.cen.get_inter_region_traffic_qos_queues(ids=[alicloud_cen_inter_region_traffic_qos_queue["default"]["id"]],
    name_regex=alicloud_cen_inter_region_traffic_qos_queue["default"]["name"],
    traffic_qos_policy_id="qos-xxxxxxx")
pulumi.export("alicloudCenInterRegionTrafficQosQueueExampleId", default.queues[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const default = alicloud.cen.getInterRegionTrafficQosQueues({
    ids: [alicloud_cen_inter_region_traffic_qos_queue["default"].id],
    nameRegex: alicloud_cen_inter_region_traffic_qos_queue["default"].name,
    trafficQosPolicyId: "qos-xxxxxxx",
});
export const alicloudCenInterRegionTrafficQosQueueExampleId = _default.then(_default => _default.queues?.[0]?.id);
variables:
  default:
    fn::invoke:
      Function: alicloud:cen:getInterRegionTrafficQosQueues
      Arguments:
        ids:
          - ${alicloud_cen_inter_region_traffic_qos_queue.default.id}
        nameRegex: ${alicloud_cen_inter_region_traffic_qos_queue.default.name}
        trafficQosPolicyId: qos-xxxxxxx
outputs:
  alicloudCenInterRegionTrafficQosQueueExampleId: ${default.queues[0].id}

Using getInterRegionTrafficQosQueues

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getInterRegionTrafficQosQueues(args: GetInterRegionTrafficQosQueuesArgs, opts?: InvokeOptions): Promise<GetInterRegionTrafficQosQueuesResult>
function getInterRegionTrafficQosQueuesOutput(args: GetInterRegionTrafficQosQueuesOutputArgs, opts?: InvokeOptions): Output<GetInterRegionTrafficQosQueuesResult>
def get_inter_region_traffic_qos_queues(ids: Optional[Sequence[str]] = None,
                                        name_regex: Optional[str] = None,
                                        output_file: Optional[str] = None,
                                        traffic_qos_policy_id: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetInterRegionTrafficQosQueuesResult
def get_inter_region_traffic_qos_queues_output(ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                                        name_regex: Optional[pulumi.Input[str]] = None,
                                        output_file: Optional[pulumi.Input[str]] = None,
                                        traffic_qos_policy_id: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetInterRegionTrafficQosQueuesResult]
func GetInterRegionTrafficQosQueues(ctx *Context, args *GetInterRegionTrafficQosQueuesArgs, opts ...InvokeOption) (*GetInterRegionTrafficQosQueuesResult, error)
func GetInterRegionTrafficQosQueuesOutput(ctx *Context, args *GetInterRegionTrafficQosQueuesOutputArgs, opts ...InvokeOption) GetInterRegionTrafficQosQueuesResultOutput

> Note: This function is named GetInterRegionTrafficQosQueues in the Go SDK.

public static class GetInterRegionTrafficQosQueues 
{
    public static Task<GetInterRegionTrafficQosQueuesResult> InvokeAsync(GetInterRegionTrafficQosQueuesArgs args, InvokeOptions? opts = null)
    public static Output<GetInterRegionTrafficQosQueuesResult> Invoke(GetInterRegionTrafficQosQueuesInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetInterRegionTrafficQosQueuesResult> getInterRegionTrafficQosQueues(GetInterRegionTrafficQosQueuesArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: alicloud:cen/getInterRegionTrafficQosQueues:getInterRegionTrafficQosQueues
  arguments:
    # arguments dictionary

The following arguments are supported:

TrafficQosPolicyId string

The ID of the traffic scheduling policy.

Ids List<string>

A list of Inter Region Traffic Qos Queue IDs.

NameRegex string

A regex string to filter results by Group Metric Rule name.

OutputFile string
TrafficQosPolicyId string

The ID of the traffic scheduling policy.

Ids []string

A list of Inter Region Traffic Qos Queue IDs.

NameRegex string

A regex string to filter results by Group Metric Rule name.

OutputFile string
trafficQosPolicyId String

The ID of the traffic scheduling policy.

ids List<String>

A list of Inter Region Traffic Qos Queue IDs.

nameRegex String

A regex string to filter results by Group Metric Rule name.

outputFile String
trafficQosPolicyId string

The ID of the traffic scheduling policy.

ids string[]

A list of Inter Region Traffic Qos Queue IDs.

nameRegex string

A regex string to filter results by Group Metric Rule name.

outputFile string
traffic_qos_policy_id str

The ID of the traffic scheduling policy.

ids Sequence[str]

A list of Inter Region Traffic Qos Queue IDs.

name_regex str

A regex string to filter results by Group Metric Rule name.

output_file str
trafficQosPolicyId String

The ID of the traffic scheduling policy.

ids List<String>

A list of Inter Region Traffic Qos Queue IDs.

nameRegex String

A regex string to filter results by Group Metric Rule name.

outputFile String

getInterRegionTrafficQosQueues Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Ids List<string>

A list of Inter Region Traffic Qos Queue IDs.

Names List<string>

A list of name of Inter Region Traffic Qos Queues.

Queues List<Pulumi.AliCloud.Cen.Outputs.GetInterRegionTrafficQosQueuesQueue>

A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:

TrafficQosPolicyId string

The ID of the traffic scheduling policy.

NameRegex string
OutputFile string
Id string

The provider-assigned unique ID for this managed resource.

Ids []string

A list of Inter Region Traffic Qos Queue IDs.

Names []string

A list of name of Inter Region Traffic Qos Queues.

Queues []GetInterRegionTrafficQosQueuesQueue

A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:

TrafficQosPolicyId string

The ID of the traffic scheduling policy.

NameRegex string
OutputFile string
id String

The provider-assigned unique ID for this managed resource.

ids List<String>

A list of Inter Region Traffic Qos Queue IDs.

names List<String>

A list of name of Inter Region Traffic Qos Queues.

queues List<GetInterRegionTrafficQosQueuesQueue>

A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:

trafficQosPolicyId String

The ID of the traffic scheduling policy.

nameRegex String
outputFile String
id string

The provider-assigned unique ID for this managed resource.

ids string[]

A list of Inter Region Traffic Qos Queue IDs.

names string[]

A list of name of Inter Region Traffic Qos Queues.

queues GetInterRegionTrafficQosQueuesQueue[]

A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:

trafficQosPolicyId string

The ID of the traffic scheduling policy.

nameRegex string
outputFile string
id str

The provider-assigned unique ID for this managed resource.

ids Sequence[str]

A list of Inter Region Traffic Qos Queue IDs.

names Sequence[str]

A list of name of Inter Region Traffic Qos Queues.

queues Sequence[GetInterRegionTrafficQosQueuesQueue]

A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:

traffic_qos_policy_id str

The ID of the traffic scheduling policy.

name_regex str
output_file str
id String

The provider-assigned unique ID for this managed resource.

ids List<String>

A list of Inter Region Traffic Qos Queue IDs.

names List<String>

A list of name of Inter Region Traffic Qos Queues.

queues List<Property Map>

A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:

trafficQosPolicyId String

The ID of the traffic scheduling policy.

nameRegex String
outputFile String

Supporting Types

GetInterRegionTrafficQosQueuesQueue

Dscps List<string>

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

Id string
InterRegionTrafficQosQueueDescription string

The description information of the traffic scheduling policy.

InterRegionTrafficQosQueueId string

The ID of the resource.

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.

Id string
InterRegionTrafficQosQueueDescription string

The description information of the traffic scheduling policy.

InterRegionTrafficQosQueueId string

The ID of the resource.

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.

id String
interRegionTrafficQosQueueDescription String

The description information of the traffic scheduling policy.

interRegionTrafficQosQueueId String

The ID of the resource.

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.

id string
interRegionTrafficQosQueueDescription string

The description information of the traffic scheduling policy.

interRegionTrafficQosQueueId string

The ID of the resource.

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.

id str
inter_region_traffic_qos_queue_description str

The description information of the traffic scheduling policy.

inter_region_traffic_qos_queue_id str

The ID of the resource.

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.

id String
interRegionTrafficQosQueueDescription String

The description information of the traffic scheduling policy.

interRegionTrafficQosQueueId String

The ID of the resource.

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.

Package Details

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

This Pulumi package is based on the alicloud Terraform Provider.