Alibaba Cloud v3.66.0 published on Friday, Nov 15, 2024 by Pulumi
alicloud.cen.getInterRegionTrafficQosQueues
Explore with Pulumi AI
This data source provides Cen Inter Region Traffic Qos Queue available to the user.
NOTE: Available in 1.195.0+
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const default = alicloud.cen.getInterRegionTrafficQosQueues({
ids: [defaultAlicloudCenInterRegionTrafficQosQueue.id],
nameRegex: defaultAlicloudCenInterRegionTrafficQosQueue.name,
trafficQosPolicyId: "qos-xxxxxxx",
});
export const alicloudCenInterRegionTrafficQosQueueExampleId = _default.then(_default => _default.queues?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.cen.get_inter_region_traffic_qos_queues(ids=[default_alicloud_cen_inter_region_traffic_qos_queue["id"]],
name_regex=default_alicloud_cen_inter_region_traffic_qos_queue["name"],
traffic_qos_policy_id="qos-xxxxxxx")
pulumi.export("alicloudCenInterRegionTrafficQosQueueExampleId", default.queues[0].id)
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 {
_default, err := cen.GetInterRegionTrafficQosQueues(ctx, &cen.GetInterRegionTrafficQosQueuesArgs{
Ids: interface{}{
defaultAlicloudCenInterRegionTrafficQosQueue.Id,
},
NameRegex: pulumi.StringRef(defaultAlicloudCenInterRegionTrafficQosQueue.Name),
TrafficQosPolicyId: "qos-xxxxxxx",
}, nil);
if err != nil {
return err
}
ctx.Export("alicloudCenInterRegionTrafficQosQueueExampleId", _default.Queues[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.Cen.GetInterRegionTrafficQosQueues.Invoke(new()
{
Ids = new[]
{
defaultAlicloudCenInterRegionTrafficQosQueue.Id,
},
NameRegex = defaultAlicloudCenInterRegionTrafficQosQueue.Name,
TrafficQosPolicyId = "qos-xxxxxxx",
});
return new Dictionary<string, object?>
{
["alicloudCenInterRegionTrafficQosQueueExampleId"] = @default.Apply(@default => @default.Apply(getInterRegionTrafficQosQueuesResult => getInterRegionTrafficQosQueuesResult.Queues[0]?.Id)),
};
});
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(defaultAlicloudCenInterRegionTrafficQosQueue.id())
.nameRegex(defaultAlicloudCenInterRegionTrafficQosQueue.name())
.trafficQosPolicyId("qos-xxxxxxx")
.build());
ctx.export("alicloudCenInterRegionTrafficQosQueueExampleId", default_.queues()[0].id());
}
}
variables:
default:
fn::invoke:
Function: alicloud:cen:getInterRegionTrafficQosQueues
Arguments:
ids:
- ${defaultAlicloudCenInterRegionTrafficQosQueue.id}
nameRegex: ${defaultAlicloudCenInterRegionTrafficQosQueue.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:
- Traffic
Qos stringPolicy Id - The ID of the traffic scheduling policy.
- Ids List<string>
- A list of Inter Region Traffic Qos Queue IDs.
- Name
Regex string - A regex string to filter results by Group Metric Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Traffic
Qos stringPolicy Id - The ID of the traffic scheduling policy.
- Ids []string
- A list of Inter Region Traffic Qos Queue IDs.
- Name
Regex string - A regex string to filter results by Group Metric Rule name.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- traffic
Qos StringPolicy Id - The ID of the traffic scheduling policy.
- ids List<String>
- A list of Inter Region Traffic Qos Queue IDs.
- name
Regex String - A regex string to filter results by Group Metric Rule name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- traffic
Qos stringPolicy Id - The ID of the traffic scheduling policy.
- ids string[]
- A list of Inter Region Traffic Qos Queue IDs.
- name
Regex string - A regex string to filter results by Group Metric Rule name.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- traffic_
qos_ strpolicy_ id - 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 - File name where to save data source results (after running
pulumi preview
).
- traffic
Qos StringPolicy Id - The ID of the traffic scheduling policy.
- ids List<String>
- A list of Inter Region Traffic Qos Queue IDs.
- name
Regex String - A regex string to filter results by Group Metric Rule name.
- output
File String - File name where to save data source results (after running
pulumi preview
).
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.
Ali Cloud. Cen. Outputs. Get Inter Region Traffic Qos Queues Queue> - A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:
- Traffic
Qos stringPolicy Id - The ID of the traffic scheduling policy.
- Name
Regex string - Output
File 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
[]Get
Inter Region Traffic Qos Queues Queue - A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:
- Traffic
Qos stringPolicy Id - The ID of the traffic scheduling policy.
- Name
Regex string - Output
File 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<Get
Inter Region Traffic Qos Queues Queue> - A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:
- traffic
Qos StringPolicy Id - The ID of the traffic scheduling policy.
- name
Regex String - output
File 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
Get
Inter Region Traffic Qos Queues Queue[] - A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:
- traffic
Qos stringPolicy Id - The ID of the traffic scheduling policy.
- name
Regex string - output
File 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[Get
Inter Region Traffic Qos Queues Queue] - A list of Inter Region Traffic Qos Queue Entries. Each element contains the following attributes:
- traffic_
qos_ strpolicy_ id - 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:
- traffic
Qos StringPolicy Id - The ID of the traffic scheduling policy.
- name
Regex String - output
File 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
- Inter
Region stringTraffic Qos Queue Description - The description information of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Id - The ID of the resource.
- 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.
- Id string
- Inter
Region stringTraffic Qos Queue Description - The description information of the traffic scheduling policy.
- Inter
Region stringTraffic Qos Queue Id - The ID of the resource.
- 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.
- id String
- inter
Region StringTraffic Qos Queue Description - The description information of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Id - The ID of the resource.
- 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.
- id string
- inter
Region stringTraffic Qos Queue Description - The description information of the traffic scheduling policy.
- inter
Region stringTraffic Qos Queue Id - The ID of the resource.
- 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.
- id str
- inter_
region_ strtraffic_ qos_ queue_ description - The description information of the traffic scheduling policy.
- inter_
region_ strtraffic_ qos_ queue_ id - The ID of the resource.
- 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.
- id String
- inter
Region StringTraffic Qos Queue Description - The description information of the traffic scheduling policy.
- inter
Region StringTraffic Qos Queue Id - The ID of the resource.
- 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.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.